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
-
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Returns theArena
that is involved in this event.Get how long countdown will count down until the match starts.static HandlerList
void
setDuration
(Duration duration) Set how long countdown will count down until the match starts.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
-
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:ArenaEvent
Returns theArena
that is involved in this event.- Specified by:
getArena
in interfaceArenaEvent
- Returns:
- The arena that is involved
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-