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

    • AddonRegisterEvent

      public AddonRegisterEvent(BedwarsAddon addon)
  • Method Details

    • getAddon

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

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

      public static HandlerList getHandlerList()