Interface ICommandManager

All Known Implementing Classes:
CommandHandler, ServerCommandManager

public interface ICommandManager
  • Method Details

    • executeCommand

      int executeCommand(ICommandSender var1, String var2)
    • getPossibleCommands

      List getPossibleCommands(ICommandSender var1, String var2)
      Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use.
    • getPossibleCommands

      List getPossibleCommands(ICommandSender var1)
      returns all commands that the commandSender can use
    • getCommands

      Map getCommands()
      returns a map of string to commads. All commands are returned, not just ones which someone has permission to use.