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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
SpigotAntiBotModeStateEvent
public SpigotAntiBotModeStateEvent(boolean enabling)
-
-
Method Details
-
isEnabling
public boolean isEnabling()Gives the enabling state of this event.- Specified by:
isEnabling
in interfaceAntiBotModeStateEvent
- Returns:
- True: AntiBot Mode is enabling, false: AntiBot Mode is disabling.
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-