Package ch.njol.skript.command
Class ScriptCommandEvent
java.lang.Object
org.bukkit.event.Event
ch.njol.skript.command.CommandEvent
ch.njol.skript.command.ScriptCommandEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionScriptCommandEvent(ScriptCommand command, org.bukkit.command.CommandSender sender)
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getArgs()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
boolean
Only accurate when this event is not delayed (yet)void
setCooldownCancelled(boolean cooldownCancelled)
Methods inherited from class ch.njol.skript.command.CommandEvent
getCommand, getSender
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ScriptCommandEvent
-
-
Method Details
-
getSkriptCommand
-
getArgs
- Overrides:
getArgs
in classCommandEvent
-
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 classCommandEvent
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-