|
| fetchPermittedPlayerTarget (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 42 of file GiveCommand.php.
◆ __construct()
pocketmine\command\defaults\GiveCommand::__construct |
( |
| ) |
|
◆ __toString()
pocketmine\command\Command::__toString |
( |
| ) |
|
|
inherited |
◆ broadcastCommandMessage()
static pocketmine\command\Command::broadcastCommandMessage |
( |
CommandSender | $source, |
|
|
Translatable|string | $message, |
|
|
bool | $sendToSource = true ) |
|
staticinherited |
◆ execute()
pocketmine\command\defaults\GiveCommand::execute |
( |
CommandSender | $sender, |
|
|
string | $commandLabel, |
|
|
array | $args ) |
◆ fetchPermittedPlayerTarget()
pocketmine\command\defaults\VanillaCommand::fetchPermittedPlayerTarget |
( |
CommandSender | $sender, |
|
|
?string | $target, |
|
|
string | $selfPermission, |
|
|
string | $otherPermission ) |
|
protectedinherited |
◆ getAliases()
pocketmine\command\Command::getAliases |
( |
| ) |
|
|
inherited |
◆ 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 |
◆ getInteger()
pocketmine\command\defaults\VanillaCommand::getInteger |
( |
CommandSender | $sender, |
|
|
string | $value, |
|
|
int | $min = self::MIN_COORD, |
|
|
int | $max = self::MAX_COORD ) |
|
protectedinherited |
◆ getLabel()
pocketmine\command\Command::getLabel |
( |
| ) |
|
|
inherited |
◆ getName()
pocketmine\command\Command::getName |
( |
| ) |
|
|
inherited |
◆ 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 |
◆ isRegistered()
pocketmine\command\Command::isRegistered |
( |
| ) |
|
|
inherited |
◆ register()
pocketmine\command\Command::register |
( |
CommandMap | $commandMap | ) |
|
|
inherited |
Registers the command into a Command map
Definition at line 154 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 |
( |
Translatable|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 |
◆ 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: