Class SpectatorQuitArenaEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.SpectatorQuitArenaEvent
- All Implemented Interfaces:
- ArenaEvent
Gets called when a spectator leaves the arena
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.player.PlayerEventplayer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetArena()Returns the arena that he left.static HandlerListReturns the reason why he left the arena.Returns the spectator.Methods inherited from class org.bukkit.event.player.PlayerEventgetPlayerMethods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
SpectatorQuitArenaEvent
 
- 
- 
Method Details- 
getSpectatorReturns the spectator.- Returns:
- The spectator that left the arena
 
- 
getReasonReturns the reason why he left the arena.- Returns:
- The reason
 
- 
getArenaReturns the arena that he left.- Specified by:
- getArenain interface- ArenaEvent
- Returns:
- The arena involved in this
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-