public interface CommandExecutor
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
onCommand(CommandSender sender,
         Command command,
         String label,
         String[] args)
Executes the given command, returning its success. 
 | 
boolean onCommand(@NotNull
                  CommandSender sender,
                  @NotNull
                  Command command,
                  @NotNull
                  String label,
                  @NotNull
                  String[] args)
sender - Source of the commandcommand - Command which was executedlabel - Alias of the command which was usedargs - Passed command argumentsCopyright © 2022. All rights reserved.