Class PlanBukkitEnableEvent


  • public class PlanBukkitEnableEvent
    extends org.bukkit.event.Event
    Event that is called when Plan is enabled.

    This includes, but might not be limited to: - First time the plugin enables successfully - Plan is reloaded - Bukkit-BungeeCord setup updates settings - Plan is enabled after it was disabled

    event.isPlanSystemEnabled() can be called to determine if the enable was successful. It is not guaranteed that this event is called when the plugin fails to enable properly.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.bukkit.event.HandlerList getHandlerList()  
      org.bukkit.event.HandlerList getHandlers()  
      boolean isPlanSystemEnabled()  
      • Methods inherited from class org.bukkit.event.Event

        callEvent, getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlanBukkitEnableEvent

        public PlanBukkitEnableEvent​(boolean enabled)
    • Method Detail

      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()
      • isPlanSystemEnabled

        public boolean isPlanSystemEnabled()
      • getHandlers

        public org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event