Uses of Enum
de.marcely.bedwars.api.game.spectator.KickSpectatorReason
Packages that use KickSpectatorReason
Package
Description
Contains classes that are related to the
Arena.Events related to
Player actions, or changes to player properties.Classes dedicated to players Spectating in MBedwars.
-
Uses of KickSpectatorReason in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena that return KickSpectatorReasonModifier and TypeMethodDescriptionKickReason.getMatchingSpectatorKickReason()The used reason for when a playing spectator gets kicked.Methods in de.marcely.bedwars.api.arena with parameters of type KickSpectatorReasonModifier and TypeMethodDescriptiondefault intArena.kickAllSpectators(KickSpectatorReason reason) Kicks every spectator of this arena -
Uses of KickSpectatorReason in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return KickSpectatorReasonModifier and TypeMethodDescriptionSpectatorQuitArenaEvent.getReason()Returns the reason why he left the arena.Constructors in de.marcely.bedwars.api.event.player with parameters of type KickSpectatorReasonModifierConstructorDescriptionSpectatorQuitArenaEvent(Spectator spectator, KickSpectatorReason reason) -
Uses of KickSpectatorReason in de.marcely.bedwars.api.game.spectator
Methods in de.marcely.bedwars.api.game.spectator that return KickSpectatorReasonModifier and TypeMethodDescriptionstatic KickSpectatorReasonReturns 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.Methods in de.marcely.bedwars.api.game.spectator with parameters of type KickSpectatorReasonModifier and TypeMethodDescriptionbooleanSpectator.kick(KickSpectatorReason reason) Stops the player from spectating any further.