Class AddonUnregisterEvent

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

public class AddonUnregisterEvent extends Event
Gets called when an addon is being unregistered.

This may happen when BedwarsAddon.unregister() is being called or when the plugin that created it is being unloaded.

  • Constructor Details

    • AddonUnregisterEvent

      public AddonUnregisterEvent(BedwarsAddon addon)
  • Method Details

    • getAddon

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

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

      public static HandlerList getHandlerList()