CommandMap

public interface CommandMap

Inheritors

Functions

Link copied to clipboard
public abstract void clearCommands()
Clears all registered commands.
Link copied to clipboard
public abstract boolean dispatch(CommandSender sender, String cmdLine)
Looks for the requested command and executes it if found.
Link copied to clipboard
public abstract Command getCommand(String name)
Gets the command registered to the specified name
Link copied to clipboard
public abstract boolean register(String fallbackPrefix, Command command)
public abstract boolean register(String label, String fallbackPrefix, Command command)
Registers getClassById command.
Link copied to clipboard
public abstract void registerAll(String fallbackPrefix, List<Command> commands)
Registers all the commands belonging to getClassById certain plugin.
Link copied to clipboard
public abstract List<String> tabComplete(CommandSender sender, String cmdLine)
Looks for the requested command and executes an appropriate tab-completer if found.