Package net.essentialsx.api.v2.events
Class UserKickEvent
java.lang.Object
org.bukkit.event.Event
net.essentialsx.api.v2.events.UserKickEvent
- All Implemented Interfaces:
Cancellable
Called when a user is kicked with the /kick command.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
void
setCancelled
(boolean cancelled) void
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
UserKickEvent
-
-
Method Details
-
getKicked
-
getKicker
-
getReason
-
setReason
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-