Uses of Enum
de.marcely.bedwars.api.arena.KickReason
-
Uses of KickReason in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionstatic KickReason
Returns the enum constant of this type with the specified name.static KickReason[]
KickReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptiondefault int
Arena.kickAllPlayers
(KickReason reason) Kicks every player who's currently inside the arena.boolean
Arena.kickPlayer
(Player player, KickReason reason) Kicks the player from the arena. -
Uses of KickReason in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerQuitArenaEvent.getReason()
Returns the reason why he left the arena.ModifierConstructorDescriptionPlayerQuitArenaEvent
(Player player, Arena arena, KickReason reason, @Nullable Team team, @Nullable QuitPlayerMemory memory)