Class RoundStartEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.RoundStartEvent
All Implemented Interfaces:
ArenaEvent

public class RoundStartEvent extends Event implements 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.

  • Constructor Details

    • RoundStartEvent

      public RoundStartEvent(Arena arena, boolean givingItems)
  • 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

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()