Class JailStatusChangeEvent

All Implemented Interfaces:
Cancellable

public class JailStatusChangeEvent extends StatusChangeEvent
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().

  • Constructor Details

    • JailStatusChangeEvent

      public JailStatusChangeEvent(IUser affected, IUser controller, boolean value)
  • Method Details