PostDeathBanEventAsync

This event is emitted after a player has been death-banned by the plugin. This is mostly just useful for post-processing and information purposes. It is an asynchronous version of PostDeathBanEvent. For actions that need to access not thread-safe API, consider the synchronous alternative.

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
open val player: Player?

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

Link copied to clipboard

The result of the death-ban.

Link copied to clipboard
Link copied to clipboard

The information regarding this player including their current status