Class SpigotAntiBotModeStateEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.lahuca.botsentry.api.event.spigot.SpigotAntiBotModeStateEvent
-
- All Implemented Interfaces:
AntiBotModeStateEvent
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.
-
-
Constructor Summary
Constructors Constructor Description SpigotAntiBotModeStateEvent(boolean enabling)
-
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.
-
-
-
Method Detail
-
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()
-
-