Class RoundStartEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.RoundStartEvent
- All Implemented Interfaces:
ArenaEvent
Gets called when a round is about to start.
Gets called after every player has been teleported to their spawn position. Only a few things are left to do, which can be managed within this event.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
Returns whether spawn items will be given to the player respawning.void
setGivingItems
(boolean givingItems) Set whether spawn items will be given to the player when respawning.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 de.marcely.bedwars.api.event.arena.ArenaEvent
getArena
-
Constructor Details
-
RoundStartEvent
-
-
Method Details
-
isGivingItems
public boolean isGivingItems()Returns whether spawn items will be given to the player respawning.- Returns:
- whether spawn items will be given to the player
-
setGivingItems
public void setGivingItems(boolean givingItems) Set whether spawn items will be given to the player when respawning.- Parameters:
givingItems
- Whether spawn items will be given to the player
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-