Class ExampleCommand

All Implemented Interfaces:
ICommand, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public final class ExampleCommand extends CommandBase
  • Constructor Details

    • ExampleCommand

      public ExampleCommand()
  • Method Details

    • execute

      public void execute(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from interface: ICommand
      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)