CommandMap
Methods
clearCommands()
php
public function clearCommands() : voiddispatch()
php
public function dispatch(\pocketmine\command\CommandSender $sender, string $cmdLine) : boolgetCommand()
php
public function getCommand(string $name) : ?\pocketmine\command\Commandregister()
php
public function register(string $fallbackPrefix, \pocketmine\command\Command $command, ?string $label = null) : boolregisterAll()
php
public function registerAll(string $fallbackPrefix, array $commands) : void