public interface CommandMap
| Modifier and Type | Method and Description |
|---|---|
Map<String,Command> |
getCommands()
Returns a map of the commands
|
void |
registerCommand(Command command)
Registers a new command
|
void |
runCommand(CommandSender sender,
String command)
Runs a command for the given command sender
|
void registerCommand(Command command)
command - the command to registervoid runCommand(CommandSender sender, String command)
sender - the sender to run the command forcommand - the command to runCopyright © 2020 GeyserMC. All rights reserved.