Class SpigotAntiBotModeStateEvent

    • 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 isEnabling()
      Gives the enabling state of this event.
      • Methods inherited from class org.bukkit.event.Event

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

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

      • SpigotAntiBotModeStateEvent

        public SpigotAntiBotModeStateEvent​(boolean enabling)
    • Method Detail

      • isEnabling

        public boolean isEnabling()
        Gives the enabling state of this event.
        Specified by:
        isEnabling in interface AntiBotModeStateEvent
        Returns:
        True: AntiBot Mode is enabling, false: AntiBot Mode is disabling.
      • getHandlers

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

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