PreDeathBanEventAsync

This event is emitted when a player is about to be revived. It is an asynchronous variant of PreDeathBanEvent and can be used to monitor the status of the player, but not for interfering with the process.

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
@NotNull
open fun getEventName(): @NotNull String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard

Properties

Link copied to clipboard
val associatedPlayerDeathEvent: PlayerDeathEvent
Link copied to clipboard
open val offlinePlayer: OfflinePlayer

The corresponding OfflinePlayer.

Link copied to clipboard

The originally intended outcome of the event.

Link copied to clipboard
open val player: Player?

The corresponding Player, if they are online. Otherwise, this is null.

Link copied to clipboard
Link copied to clipboard

The currently targeted outcome of the event.

Link copied to clipboard

The information regarding this player including their current status