PocketMine
|
Public Member Functions | |
__construct (Server $server) | |
registerAll ($fallbackPrefix, array $commands) | |
register ($fallbackPrefix, Command $command, $label=null) | |
dispatch (CommandSender $sender, $commandLine) | |
clearCommands () | |
getCommand ($name) | |
getCommands () | |
registerServerAliases () | |
Protected Attributes | |
$knownCommands = [] | |
clearCommands | ( | ) |
Implements CommandMap.
dispatch | ( | CommandSender | $sender, |
$cmdLine | |||
) |
getCommand | ( | $name | ) |
getCommands | ( | ) |
register | ( | $fallbackPrefix, | |
Command | $command, | ||
$label = null |
|||
) |
string | $fallbackPrefix | |
Command | $command | |
string | $label |
Implements CommandMap.
registerAll | ( | $fallbackPrefix, | |
array | $commands | ||
) |
string | $fallbackPrefix | |
Command[] | $commands |
Implements CommandMap.
registerServerAliases | ( | ) |