Class MuteStatusChangeEvent

All Implemented Interfaces:
Cancellable

public class MuteStatusChangeEvent extends StatusChangeEvent
Fired when a player's mute status is changed.
  • Constructor Details

    • MuteStatusChangeEvent

      public MuteStatusChangeEvent(IUser affected, IUser controller, boolean value, Long timestamp, String reason)
  • Method Details

    • getTimestamp

      public Optional<Long> getTimestamp()
      Returns:
      If the mute is temporary, returns a present optional with the timestamp; if permanent or unknown, returns an empty optional.
    • getReason

      public String getReason()
      Returns:
      Returns the reason if provided, otherwise null.
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()