Class RemoteArenaAddEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemoteArenaAddEvent

public class RemoteArenaAddEvent extends Event
Gets called when an arena from another server has been added to our local collection.

This event also gets called for all arenas that already existed, and not only for the newly created ones.
Keep in mind that this event is async.

  • Constructor Details

    • RemoteArenaAddEvent

      public RemoteArenaAddEvent(RemoteArena arena)
  • Method Details

    • getArena

      public RemoteArena getArena()
      Gets the arena that has been added.
      Returns:
      The involved arena
    • getHandlers

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

      public static HandlerList getHandlerList()