Class ArenaCreateEvent

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

public class ArenaCreateEvent extends Event implements ArenaEvent
Gets called when a player or a plugin creates an arena
  • Constructor Details

    • ArenaCreateEvent

      public ArenaCreateEvent(Arena arena, @Nullable @Nullable CommandSender sender)
  • Method Details

    • getSender

      @Nullable public @Nullable CommandSender getSender()
      Returns the person who created the arena.
      Returns:
      The person who created the arena. Can be null if not a player created it
    • getHandlers

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

      public static HandlerList getHandlerList()