Class ArenaLobbyCountdownStartEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaLobbyCountdownStartEvent
- All Implemented Interfaces:
ArenaEvent,Cancellable
Gets called when the lobby countdown is supposed to start
This method might be called frequently whenever the requirements
(more players than min players (Arena.getMinPlayers())) are reached, but previous attempts
have been cancelled.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArena()Returns theArenathat is involved in this event.Get how long countdown will count down until the match starts.static HandlerListvoidsetDuration(Duration duration) Set how long countdown will count down until the match starts.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
ArenaLobbyCountdownStartEvent
-
-
Method Details
-
getDuration
Get how long countdown will count down until the match starts.- Returns:
- The duration of the countdown
-
setDuration
Set how long countdown will count down until the match starts.- Parameters:
duration- The new duration of the countdown.
-
getArena
Description copied from interface:ArenaEventReturns theArenathat is involved in this event.- Specified by:
getArenain interfaceArenaEvent- Returns:
- The arena that is involved
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-