Class AddonRegisterEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.AddonRegisterEvent
All Implemented Interfaces:
Cancellable

public class AddonRegisterEvent extends Event implements Cancellable
Gets called when an addon is being registered using BedwarsAddon.register().
  • Constructor Details Link icon

    • AddonRegisterEvent Link icon

      public AddonRegisterEvent(BedwarsAddon addon)
  • Method Details Link icon

    • getAddon Link icon

      public BedwarsAddon getAddon()
      Returns the addon that has been registered.
      Returns:
      The addon involved in this event
    • getHandlers Link icon

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

      public static HandlerList getHandlerList()