Uses of Class
studio.magemonkey.codex.mccore.commands.ConfigurableCommand
Packages that use ConfigurableCommand
-
Uses of ConfigurableCommand in studio.magemonkey.codex.mccore.commands
Methods in studio.magemonkey.codex.mccore.commands that return ConfigurableCommandModifier and TypeMethodDescriptionstatic ConfigurableCommandCommandManager.getCommand(String name) Retrieves a registered command by nameConfigurableCommand.getParent()Retrieves the parent of the command.ConfigurableCommand.getSubCommand(String name) Retrieves a sub command by nameMethods in studio.magemonkey.codex.mccore.commands with parameters of type ConfigurableCommandModifier and TypeMethodDescriptionvoidConfigurableCommand.addSubCommand(ConfigurableCommand command) Adds a sub command to this commandvoidConfigurableCommand.addSubCommands(ConfigurableCommand... commands) Adds multiple sub commands to this commandstatic voidCommandManager.displayUsage(ConfigurableCommand c, org.bukkit.command.CommandSender sender) Displays the usage help for the command, showing only the commands that the sender can use.static voidCommandManager.displayUsage(ConfigurableCommand c, org.bukkit.command.CommandSender sender, int page) Displays the usage help for the command, showing only the commands that the sender can use.voidIFunction.execute(ConfigurableCommand command, org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandSender sender, String[] args, boolean silent) Executes a functionstatic voidCommandManager.registerCommand(ConfigurableCommand command) Registers a new ConfigurableCommand for the pluginstatic voidCommandManager.unregisterCommand(ConfigurableCommand command) Unregisters a command