Class CruxPunishEvent

java.lang.Object
org.bukkit.event.Event
net.crux.ac.api.event.CruxPunishEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class CruxPunishEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
Dispatched when a punishment (kick / ban command) is about to be executed by CruxAC.
  • Constructor Details

    • CruxPunishEvent

      public CruxPunishEvent(org.bukkit.entity.Player player, String checkName, String actionType, String reason, double vl)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getCheckName

      public String getCheckName()
    • getActionType

      public String getActionType()
    • getReason

      public String getReason()
    • setReason

      public void setReason(String reason)
    • getVl

      public double getVl()
    • getHandlers

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

      public static org.bukkit.event.HandlerList getHandlerList()