Package net.ess3.api.events
Class MuteStatusChangeEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.StateChangeEvent
net.ess3.api.events.StatusChangeEvent
net.ess3.api.events.MuteStatusChangeEvent
- All Implemented Interfaces:
Cancellable
Fired when a player's mute status is changed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionMuteStatusChangeEvent
(IUser affected, IUser controller, boolean value, Long timestamp, String reason) -
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
-
MuteStatusChangeEvent
-
-
Method Details
-
getTimestamp
- Returns:
- If the mute is temporary, returns a present optional with the timestamp; if permanent or unknown, returns an empty optional.
-
getReason
- Returns:
- Returns the reason if provided, otherwise null.
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-