Package net.ess3.api.events
Class JailStatusChangeEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.StateChangeEvent
net.ess3.api.events.StatusChangeEvent
net.ess3.api.events.JailStatusChangeEvent
- All Implemented Interfaces:
Cancellable
Fired when a player's jail status changes.
Note: when a user is about to be jailed, you currently can't access which jail the user is being put into until after the /togglejail command finishes executing.
You can, however, access the player's current jail when they are about to be unjailed by calling IUser.getJail()
.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.ess3.api.events.StatusChangeEvent
getValue
Methods inherited from class net.ess3.api.events.StateChangeEvent
getAffected, getController, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
JailStatusChangeEvent
-
-
Method Details
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-