Definition at line 40 of file FormattedCommandAlias.php.
◆ __construct()
pocketmine\command\FormattedCommandAlias::__construct |
( |
string | $alias, |
|
|
private array | $formatStrings ) |
◆ __toString()
pocketmine\command\Command::__toString |
( |
| ) |
|
|
inherited |
◆ broadcastCommandMessage()
static pocketmine\command\Command::broadcastCommandMessage |
( |
CommandSender | $source, |
|
|
Translatable|string | $message, |
|
|
bool | $sendToSource = true ) |
|
staticinherited |
◆ execute()
pocketmine\command\FormattedCommandAlias::execute |
( |
CommandSender | $sender, |
|
|
string | $commandLabel, |
|
|
array | $args ) |
◆ getAliases()
pocketmine\command\Command::getAliases |
( |
| ) |
|
|
inherited |
◆ getDescription()
pocketmine\command\Command::getDescription |
( |
| ) |
|
|
inherited |
◆ getLabel()
pocketmine\command\Command::getLabel |
( |
| ) |
|
|
inherited |
◆ getName()
pocketmine\command\Command::getName |
( |
| ) |
|
|
inherited |
◆ getPermissionMessage()
pocketmine\command\Command::getPermissionMessage |
( |
| ) |
|
|
inherited |
◆ getPermissions()
pocketmine\command\Command::getPermissions |
( |
| ) |
|
|
inherited |
◆ getUsage()
pocketmine\command\Command::getUsage |
( |
| ) |
|
|
inherited |
◆ isRegistered()
pocketmine\command\Command::isRegistered |
( |
| ) |
|
|
inherited |
◆ register()
pocketmine\command\Command::register |
( |
CommandMap | $commandMap | ) |
|
|
inherited |
Registers the command into a Command map
Definition at line 153 of file Command.php.
◆ setAliases()
pocketmine\command\Command::setAliases |
( |
array | $aliases | ) |
|
|
inherited |
◆ setDescription()
pocketmine\command\Command::setDescription |
( |
Translatable|string | $description | ) |
|
|
inherited |
◆ setLabel()
pocketmine\command\Command::setLabel |
( |
string | $name | ) |
|
|
inherited |
◆ setPermission()
pocketmine\command\Command::setPermission |
( |
?string | $permission | ) |
|
|
inherited |
◆ setPermissionMessage()
pocketmine\command\Command::setPermissionMessage |
( |
string | $permissionMessage | ) |
|
|
inherited |
◆ setPermissions()
pocketmine\command\Command::setPermissions |
( |
array | $permissions | ) |
|
|
inherited |
◆ setUsage()
pocketmine\command\Command::setUsage |
( |
Translatable|string | $usage | ) |
|
|
inherited |
◆ testPermission()
pocketmine\command\Command::testPermission |
( |
CommandSender | $target, |
|
|
?string | $permission = null ) |
|
inherited |
◆ testPermissionSilent()
pocketmine\command\Command::testPermissionSilent |
( |
CommandSender | $target, |
|
|
?string | $permission = null ) |
|
inherited |
◆ unregister()
pocketmine\command\Command::unregister |
( |
CommandMap | $commandMap | ) |
|
|
inherited |
◆ $description
Translatable string pocketmine\command\Command::$description = "" |
|
protectedinherited |
◆ $usageMessage
Translatable string pocketmine\command\Command::$usageMessage |
|
protectedinherited |
The documentation for this class was generated from the following file: