SimpleCommandMap
Implements CommandMap
Properties
$knownCommands protected
php
protected array $knownCommandsMethods
__construct()
php
public function __construct(\pocketmine\Server $server)clearCommands()
php
public function clearCommands() : voiddispatch()
php
public function dispatch(\pocketmine\command\CommandSender $sender, string $commandLine) : boolgetCommand()
php
public function getCommand(string $name) : ?\pocketmine\command\CommandgetCommands()
php
public function getCommands() : arrayregister()
php
public function register(string $fallbackPrefix, \pocketmine\command\Command $command, ?string $label = null) : boolregisterAll()
php
public function registerAll(string $fallbackPrefix, array $commands) : voidregisterServerAliases()
php
public function registerServerAliases() : voidunregister()
php
public function unregister(\pocketmine\command\Command $command) : bool