Interface ICommand

All Superinterfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
All Known Implementing Classes:
CommandBase, ExampleCommand

public interface ICommand extends org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.bukkit.command.CommandSender sender, String[] args)
    This is the actual onCommand method.

    Methods inherited from interface org.bukkit.command.CommandExecutor

    onCommand

    Methods inherited from interface org.bukkit.command.TabCompleter

    onTabComplete
  • Method Details

    • execute

      void execute(org.bukkit.command.CommandSender sender, String[] args)
      This is the actual onCommand method. This should be used when you want to execute the command itself.
      Parameters:
      sender - The user who sent the command. (Provided by Paper)
      args - The additional arguments to the command, if applicable (Provided by Paper)