Package | Description |
---|---|
com.codelanx.codelanxlib.command |
Modifier and Type | Class and Description |
---|---|
class |
HelpCommand<E extends org.bukkit.plugin.Plugin>
Displays help information.
|
class |
ReloadCommand<E extends org.bukkit.plugin.Plugin>
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,SubCommand<E>> |
CommandHandler.commands
Private
HashMap of subcommands |
Modifier and Type | Method and Description |
---|---|
<T extends SubCommand<E>> |
CommandHandler.registerSubCommand(T command)
Registers a
SubCommand under the main supplied command name |
<T extends SubCommand<E>> |
CommandHandler.registerSubCommands(T... commands)
Registers multiple
SubCommand instance under the provided command
name. |
Modifier and Type | Method and Description |
---|---|
SubCommand<E> |
CommandHandler.getCommand(String name)
Returns a subcommand, or
null if none exists. |
Modifier and Type | Method and Description |
---|---|
Collection<SubCommand<E>> |
CommandHandler.getCommands()
Returns all subcommands as a
Collection . |
Modifier and Type | Method and Description |
---|---|
int |
SubCommand.compareTo(SubCommand<E> o)
|
void |
CommandStatus.handle(org.bukkit.command.CommandSender sender,
Lang format,
SubCommand<?> cmd)
Handles output to a
CommandSender upon the execution of a command |
<T extends SubCommand<E>> |
CommandHandler.registerSubCommands(T... commands)
Registers multiple
SubCommand instance under the provided command
name. |
Copyright © 2015. All rights reserved.