Uses of Enum Class
org.bukkit.event.player.PlayerKickEvent.Cause
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of PlayerKickEvent.Cause in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Player.kick
(@Nullable Component message, @NotNull PlayerKickEvent.Cause cause) Kicks player with custom kick message and cause. -
Uses of PlayerKickEvent.Cause in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerKickEvent.getCause()
Gets the cause of this kickstatic PlayerKickEvent.Cause
Returns the enum constant of this class with the specified name.static PlayerKickEvent.Cause[]
PlayerKickEvent.Cause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerKickEvent
(@NotNull Player playerKicked, Component kickReason, Component leaveMessage, @NotNull PlayerKickEvent.Cause cause)