public interface ICommand extends Comparable
Modifier and Type | Method and Description |
---|---|
List |
addTabCompletionOptions(ICommandSender icommandsender,
String[] astring)
Adds the strings available in this command to the given list of tab completion options.
|
boolean |
canCommandSenderUseCommand(ICommandSender icommandsender)
Returns true if the given command sender is allowed to use this command.
|
List |
getCommandAliases() |
String |
getCommandName() |
String |
getCommandUsage(ICommandSender icommandsender) |
boolean |
isUsernameIndex(String[] astring,
int i)
Return whether the specified command parameter index is a username parameter.
|
void |
processCommand(ICommandSender icommandsender,
String[] astring) |
compareTo
String getCommandName()
String getCommandUsage(ICommandSender icommandsender)
List getCommandAliases()
void processCommand(ICommandSender icommandsender, String[] astring)
boolean canCommandSenderUseCommand(ICommandSender icommandsender)
List addTabCompletionOptions(ICommandSender icommandsender, String[] astring)
boolean isUsernameIndex(String[] astring, int i)