Class PunishedPlayerLockupEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.plex.event.PunishedPlayerEvent
dev.plex.event.PunishedPlayerLockupEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PunishedPlayerLockupEvent extends PunishedPlayerEvent implements org.bukkit.event.Cancellable
Event that is called when a player is frozen or unfrozen
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class org.bukkit.event.Event Link icon

    org.bukkit.event.Event.Result
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    private static final org.bukkit.event.HandlerList
     
    private final boolean
    New lock up state of the player

    Fields inherited from class dev.plex.event.PunishedPlayerEvent Link icon

    cancelled, punishedPlayer

    Fields inherited from class org.bukkit.event.player.PlayerEvent Link icon

    player
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    PunishedPlayerLockupEvent (PlexPlayer punishedPlayer, boolean lockedUp)
    Creates a new event instance
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.player.PlayerEvent Link icon

    getPlayer

    Methods inherited from class org.bukkit.event.Event Link icon

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.event.Cancellable Link icon

    isCancelled, setCancelled
  • Field Details Link icon

    • handlers Link icon

      private static final org.bukkit.event.HandlerList handlers
    • lockedUp Link icon

      private final boolean lockedUp
      New lock up state of the player
  • Constructor Details Link icon

    • PunishedPlayerLockupEvent Link icon

      public PunishedPlayerLockupEvent (PlexPlayer punishedPlayer, boolean lockedUp)
      Creates a new event instance
      Parameters:
      punishedPlayer - The player who was punished
      lockedUp - The new muted status
  • Method Details Link icon

    • getHandlerList Link icon

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers Link icon

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event