Pre Death Ban Event
This event is emitted when a player is about to be death-banned. It is a synchronous variant of PreDeathBanEventAsync, that can change the outcome of the process by using changeOutcome.
It implements YoloPlayerEvent, meaning, that it provides relevant information about the player and access to the corresponding org.bukkit.OfflinePlayer and org.bukkit.entity.Player.
See also
Functions
Link copied to clipboard
fun changeOutcome(newTargetResult: PlayerManager.DeathBanResult, by: Plugin, isSilent: Boolean = false, reason: String? = null)
Changes the outcome of the process depending on the new parameters given.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
The corresponding OfflinePlayer.
Link copied to clipboard
The originally intended outcome of the event
Link copied to clipboard
Returns the PlayerStatus contained in yoloPlayerInformation.
Link copied to clipboard
The currently targeted outcome of the event.
Link copied to clipboard
The information regarding this player including their current status