Class ScriptCommandEvent

java.lang.Object
org.bukkit.event.Event
ch.njol.skript.command.CommandEvent
ch.njol.skript.command.ScriptCommandEvent

public class ScriptCommandEvent extends CommandEvent
  • Constructor Details

    • ScriptCommandEvent

      public ScriptCommandEvent(ScriptCommand command, org.bukkit.command.CommandSender sender)
  • Method Details

    • getSkriptCommand

      public ScriptCommand getSkriptCommand()
    • getArgs

      public String[] getArgs()
      Overrides:
      getArgs in class CommandEvent
    • isCooldownCancelled

      public boolean isCooldownCancelled()
      Only accurate when this event is not delayed (yet)
    • setCooldownCancelled

      public void setCooldownCancelled(boolean cooldownCancelled)
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class CommandEvent
    • getHandlerList

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