Player Status
@Serializable
This data class represents the status values, tracked by this plugin.
It can be used externally to get information about a player, that is the subject of a io.github.eingruenesbeb.yolo.events.YoloPlayerEvent.
Constructors
Link copied to clipboard
constructor(latestDeathPos: Location?, isDead: Boolean = false, isToRevive: Boolean = false, isTeleportToDeathPos: Boolean = true, isRestoreInventory: Boolean = true, banMessage: Component = Component.text(""), ghostState: PlayerManager.GhostState = GhostState(false, 0))
Properties
Link copied to clipboard
The ban message, that will be shown to the player upon being death-banned.
Link copied to clipboard
Whether the inventory should be restored upon revival.
Link copied to clipboard
Whether the player should be teleported to the latestDeathPos upon their revival.
Link copied to clipboard
Whether the player should be revived by the plugin.
Link copied to clipboard
The location of the last death.