Class CommandEvent

java.lang.Object
org.bukkit.event.Event
ch.njol.skript.command.CommandEvent
Direct Known Subclasses:
EffectCommandEvent, ScriptCommandEvent

public class CommandEvent extends org.bukkit.event.Event
  • Nested Class Summary

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

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandEvent​(org.bukkit.command.CommandSender sender, String command, @Nullable String[] args)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String[]
     
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.command.CommandSender
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommandEvent

      public CommandEvent(org.bukkit.command.CommandSender sender, String command, @Nullable String[] args)
  • Method Details

    • getSender

      public org.bukkit.command.CommandSender getSender()
    • getCommand

      public String getCommand()
    • getArgs

      public @Nullable String[] getArgs()
    • getHandlers

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

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