Class WhitelistToggleEvent
java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.server.WhitelistToggleEvent
This event is fired when whitelist is toggled
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList
boolean
Gets whether whitelist is going to be enabled or notMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
WhitelistToggleEvent
public WhitelistToggleEvent(boolean enabled)
-
-
Method Details
-
isEnabled
public boolean isEnabled()Gets whether whitelist is going to be enabled or not- Returns:
- Whether whitelist is going to be enabled or not
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-