Uses of Enum
de.marcely.bedwars.api.game.spectator.KickSpectatorReason
Package
Description
-
Uses of KickSpectatorReason in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionKickReason.getMatchingSpectatorKickReason()
The used reason for when a playing spectator gets kicked.Modifier and TypeMethodDescriptiondefault int
Arena.kickAllSpectators
(KickSpectatorReason reason) Kicks every spectator of this arena -
Uses of KickSpectatorReason in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionSpectatorQuitArenaEvent.getReason()
Returns the reason why he left the arena.ModifierConstructorDescriptionSpectatorQuitArenaEvent
(Spectator spectator, KickSpectatorReason reason) -
Uses of KickSpectatorReason in de.marcely.bedwars.api.game.spectator
Modifier and TypeMethodDescriptionstatic KickSpectatorReason
Returns the enum constant of this type with the specified name.static KickSpectatorReason[]
KickSpectatorReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
Spectator.kick
(KickSpectatorReason reason) Stops the player from spectating any further.