|
| | fetchPermittedPlayerTarget (string $testPermissionContext, CommandSender $sender, ?string $target, string $selfPermission, string $otherPermission) |
| |
| | getBoundedInt (CommandSender $sender, string $input, int $min, int $max) |
| |
| | getDouble (CommandSender $sender, string $value, float $min=self::MIN_COORD, float $max=self::MAX_COORD) |
| |
| | getInteger (CommandSender $sender, string $value, int $min=self::MIN_COORD, int $max=self::MAX_COORD) |
| |
| | getRelativeDouble (float $original, CommandSender $sender, string $input, float $min=self::MIN_COORD, float $max=self::MAX_COORD) |
| |
Definition at line 37 of file PluginsCommand.php.
◆ __construct()
| pocketmine\command\defaults\PluginsCommand::__construct |
( |
string | $namespace, |
|
|
string | $name ) |
◆ broadcastCommandMessage()
| static pocketmine\command\Command::broadcastCommandMessage |
( |
CommandSender | $source, |
|
|
Translatable|string | $message, |
|
|
bool | $sendToSource = true ) |
|
staticinherited |
◆ execute()
| pocketmine\command\defaults\PluginsCommand::execute |
( |
CommandSender | $sender, |
|
|
string | $commandLabel, |
|
|
array | $args ) |
◆ fetchPermittedPlayerTarget()
| pocketmine\command\defaults\VanillaCommand::fetchPermittedPlayerTarget |
( |
string | $testPermissionContext, |
|
|
CommandSender | $sender, |
|
|
?string | $target, |
|
|
string | $selfPermission, |
|
|
string | $otherPermission ) |
|
protectedinherited |
◆ getBoundedInt()
| pocketmine\command\defaults\VanillaCommand::getBoundedInt |
( |
CommandSender | $sender, |
|
|
string | $input, |
|
|
int | $min, |
|
|
int | $max ) |
|
protectedinherited |
◆ getDescription()
| pocketmine\command\Command::getDescription |
( |
| ) |
|
|
inherited |
◆ getDouble()
| pocketmine\command\defaults\VanillaCommand::getDouble |
( |
CommandSender | $sender, |
|
|
string | $value, |
|
|
float | $min = self::MIN_COORD, |
|
|
float | $max = self::MAX_COORD ) |
|
protectedinherited |
◆ getId()
| pocketmine\command\Command::getId |
( |
| ) |
|
|
finalinherited |
◆ getInteger()
| pocketmine\command\defaults\VanillaCommand::getInteger |
( |
CommandSender | $sender, |
|
|
string | $value, |
|
|
int | $min = self::MIN_COORD, |
|
|
int | $max = self::MAX_COORD ) |
|
protectedinherited |
◆ getName()
| pocketmine\command\Command::getName |
( |
| ) |
|
|
finalinherited |
Returns the local identifier of the command (without namespace or leading slash). This cannot be changed after creation.
Definition at line 85 of file Command.php.
◆ getNamespace()
| pocketmine\command\Command::getNamespace |
( |
| ) |
|
|
finalinherited |
◆ getPermissionMessage()
| pocketmine\command\Command::getPermissionMessage |
( |
| ) |
|
|
inherited |
◆ getPermissions()
| pocketmine\command\Command::getPermissions |
( |
| ) |
|
|
inherited |
◆ getRelativeDouble()
| pocketmine\command\defaults\VanillaCommand::getRelativeDouble |
( |
float | $original, |
|
|
CommandSender | $sender, |
|
|
string | $input, |
|
|
float | $min = self::MIN_COORD, |
|
|
float | $max = self::MAX_COORD ) |
|
protectedinherited |
◆ getUsage()
| pocketmine\command\Command::getUsage |
( |
| ) |
|
|
inherited |
◆ setDescription()
| pocketmine\command\Command::setDescription |
( |
Translatable|string | $description | ) |
|
|
inherited |
◆ setPermission()
| pocketmine\command\Command::setPermission |
( |
?string | $permission | ) |
|
|
inherited |
◆ setPermissionMessage()
| pocketmine\command\Command::setPermissionMessage |
( |
Translatable|string | $permissionMessage | ) |
|
|
inherited |
◆ setPermissions()
| pocketmine\command\Command::setPermissions |
( |
array | $permissions | ) |
|
|
inherited |
◆ setUsage()
| pocketmine\command\Command::setUsage |
( |
Translatable|string|null | $usage | ) |
|
|
inherited |
◆ testPermission()
| pocketmine\command\Command::testPermission |
( |
string | $context, |
|
|
CommandSender | $target, |
|
|
?string | $permission = null ) |
|
inherited |
◆ testPermissionSilent()
| pocketmine\command\Command::testPermissionSilent |
( |
CommandSender | $target, |
|
|
?string | $permission = null ) |
|
inherited |
◆ MAX_COORD
| const pocketmine\command\defaults\VanillaCommand::MAX_COORD = 30000000 |
|
inherited |
◆ MIN_COORD
| const pocketmine\command\defaults\VanillaCommand::MIN_COORD = -30000000 |
|
inherited |
The documentation for this class was generated from the following file: