executeCommand
public int executeCommand(ICommandSender sender,
java.lang.String message)
Attempt to execute a command. This method should return the number of times that the command was executed. If the
command does not exist or if the player does not have permission, 0 will be returned. A number greater than 1 can
be returned if a player selector is used.
- Specified by:
executeCommand in interface ICommandManager
- Overrides:
executeCommand in class CommandHandler
- Parameters:
sender - The source of the command invocation
rawCommand - The raw string that was typed