Class SpigotAntiBotModeStateEvent

java.lang.Object
org.bukkit.event.Event
com.lahuca.botsentry.api.event.spigot.SpigotAntiBotModeStateEvent
All Implemented Interfaces:
AntiBotModeStateEvent, BotSentryEvent

public class SpigotAntiBotModeStateEvent extends org.bukkit.event.Event implements AntiBotModeStateEvent
Spigot event for the AntiBotModeState event. Event is passed when AntiBot Mode changes it's enabled/disabled state.
See Also:
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    SpigotAntiBotModeStateEvent(boolean enabling)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    boolean
    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 Details

    • SpigotAntiBotModeStateEvent

      public SpigotAntiBotModeStateEvent(boolean enabling)
  • Method Details

    • 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()