public class PluginCommand extends Command
Command.Executor| 构造器和说明 |
|---|
PluginCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init()
Used to initialize the command (the primary goal is to define the default executors)
|
void |
usage(CommandSender commandSender,
IOHandler ioHandler)
Used to print help information when execute this command with wrong arguments or the executor returns
CommandResult.ARGS |
addExecutor, execute, getAliases, getCommands, getExecutorPermission, getName, getPermission, getPlugin, isInitialize, isRegistered, register, setExecutorPermission, setPermission, setPermission, unregister, unregister, unregisterAllpublic void init()
Commandpublic void usage(CommandSender commandSender, IOHandler ioHandler)
CommandCommandResult.ARGSCopyright © 2022. All rights reserved.