Class ArenaRenameEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaRenameEvent
- All Implemented Interfaces:
ArenaEvent
,Cancellable
Gets called whenever an existing arena shall be renamed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Returns theArena
that is involved in this event.static HandlerList
Gets the possibly new name of the arena.Gets the current name of the arena.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
ArenaRenameEvent
-
-
Method Details
-
getArena
Description copied from interface:ArenaEvent
Returns theArena
that is involved in this event.- Specified by:
getArena
in interfaceArenaEvent
- Returns:
- The arena that is involved
-
getOldName
Gets the current name of the arena.- Returns:
- The old name
-
getNewName
Gets the possibly new name of the arena.- Returns:
- The new name
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-