Class PunishedPlayerEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.plex.event.PunishedPlayerEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable
Direct Known Subclasses:
PunishedPlayerFreezeEvent, PunishedPlayerLockupEvent, PunishedPlayerMuteEvent

public abstract class PunishedPlayerEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable
Superclass for punishment events
  • 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
    protected boolean
    Whether the event was cancelled
    protected PlexPlayer
    The player who was punished

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

    player
  • Constructor Summary Link icon

    Constructors
    Modifier
    Constructor
    Description
    protected
    PunishedPlayerEvent (PlexPlayer punishedPlayer)
    Creates an event object
  • Method Summary Link icon

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

    getPlayer

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

    callEvent, getEventName, getHandlers, 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

    • punishedPlayer Link icon

      protected PlexPlayer punishedPlayer
      The player who was punished
    • cancelled Link icon

      protected boolean cancelled
      Whether the event was cancelled
  • Constructor Details Link icon

    • PunishedPlayerEvent Link icon

      protected PunishedPlayerEvent (PlexPlayer punishedPlayer)
      Creates an event object
      Parameters:
      punishedPlayer - The player who was punished
      See Also: