Class ArenaDeleteEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaDeleteEvent
- All Implemented Interfaces:
- ArenaEvent,- Cancellable
Gets called when an arena gets deleted.
 
   This event might not be called when i.a. the server shuts down.
   If you want to catch them all to e.g. update a Map, use ArenaUnloadEvent.
 
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerList@Nullable CommandSenderReturns the person who deleted the arena.@Nullable CommandSenderWrapperReturns the person who deleted the arena.booleanvoidsetCancelled(boolean cancel) Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronousMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEventgetArena
- 
Constructor Details- 
ArenaDeleteEvent
 
- 
- 
Method Details- 
getSenderReturns the person who deleted the arena.Can be nullwhen something else deleted it (such as a plugin or a player remotely).- Returns:
- The person behind this
 
- 
getSenderWrappedReturns the person who deleted the arena.Can be nullwhen someone else deleted it (such as a plugin).- Returns:
- The person behind this
 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Cancellable
 
- 
setCancelledpublic void setCancelled(boolean cancel) - Specified by:
- setCancelledin interface- Cancellable
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-