Package top.focess.qq.core.commands
Class PluginCommand
- java.lang.Object
-
- top.focess.qq.api.command.Command
-
- top.focess.qq.core.commands.PluginCommand
-
public class PluginCommand extends Command
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class top.focess.qq.api.command.Command
Command.Executor
-
-
Constructor Summary
Constructors Constructor Description PluginCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()Used to initialize the command (the primary goal is to define the default executors)voidusage(CommandSender commandSender, IOHandler ioHandler)Used to print help information when execute this command with wrong arguments or the executor returnsCommandResult.ARGS-
Methods inherited from class top.focess.qq.api.command.Command
addExecutor, execute, getAliases, getCommands, getExecutorPermission, getName, getPermission, getPlugin, isInitialize, isRegistered, register, setExecutorPermission, setPermission, setPermission, unregister, unregister, unregisterAll
-
-
-
-
Method Detail
-
init
public void init()
Description copied from class:CommandUsed to initialize the command (the primary goal is to define the default executors)
-
usage
public void usage(CommandSender commandSender, IOHandler ioHandler)
Description copied from class:CommandUsed to print help information when execute this command with wrong arguments or the executor returnsCommandResult.ARGS
-
-