|
| 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 35 of file VanillaCommand.php.
◆ __toString()
pocketmine\command\Command::__toString |
( |
| ) |
|
|
inherited |
◆ broadcastCommandMessage()
static pocketmine\command\Command::broadcastCommandMessage |
( |
CommandSender |
$source, |
|
|
Translatable|string |
$message, |
|
|
bool |
$sendToSource = true |
|
) |
| |
|
staticinherited |
◆ execute()
pocketmine\command\Command::execute |
( |
CommandSender |
$sender, |
|
|
string |
$commandLabel, |
|
|
array |
$args |
|
) |
| |
|
abstractinherited |
- Parameters
-
- Returns
- mixed
- Exceptions
-
Reimplemented in pocketmine\command\defaults\BanCommand, pocketmine\command\defaults\BanIpCommand, pocketmine\command\defaults\BanListCommand, pocketmine\command\defaults\ClearCommand, pocketmine\command\defaults\DefaultGamemodeCommand, pocketmine\command\defaults\DeopCommand, pocketmine\command\defaults\DifficultyCommand, pocketmine\command\defaults\DumpMemoryCommand, pocketmine\command\defaults\EffectCommand, pocketmine\command\defaults\EnchantCommand, pocketmine\command\defaults\GamemodeCommand, pocketmine\command\defaults\GarbageCollectorCommand, pocketmine\command\defaults\GiveCommand, pocketmine\command\defaults\HelpCommand, pocketmine\command\defaults\KickCommand, pocketmine\command\defaults\KillCommand, pocketmine\command\defaults\ListCommand, pocketmine\command\defaults\MeCommand, pocketmine\command\defaults\OpCommand, pocketmine\command\defaults\PardonCommand, pocketmine\command\defaults\PardonIpCommand, pocketmine\command\defaults\ParticleCommand, pocketmine\command\defaults\PluginsCommand, pocketmine\command\defaults\SaveCommand, pocketmine\command\defaults\SaveOffCommand, pocketmine\command\defaults\SaveOnCommand, pocketmine\command\defaults\SayCommand, pocketmine\command\defaults\SeedCommand, pocketmine\command\defaults\SetWorldSpawnCommand, pocketmine\command\defaults\SpawnpointCommand, pocketmine\command\defaults\StatusCommand, pocketmine\command\defaults\StopCommand, pocketmine\command\defaults\TeleportCommand, pocketmine\command\defaults\TellCommand, pocketmine\command\defaults\TimeCommand, pocketmine\command\defaults\TimingsCommand, pocketmine\command\defaults\TitleCommand, pocketmine\command\defaults\TransferServerCommand, pocketmine\command\defaults\VersionCommand, pocketmine\command\defaults\WhitelistCommand, pocketmine\command\FormattedCommandAlias, and pocketmine\command\PluginCommand.
◆ fetchPermittedPlayerTarget()
pocketmine\command\defaults\VanillaCommand::fetchPermittedPlayerTarget |
( |
CommandSender |
$sender, |
|
|
?string |
$target, |
|
|
string |
$selfPermission, |
|
|
string |
$otherPermission |
|
) |
| |
|
protected |
◆ getAliases()
pocketmine\command\Command::getAliases |
( |
| ) |
|
|
inherited |
◆ getBoundedInt()
pocketmine\command\defaults\VanillaCommand::getBoundedInt |
( |
CommandSender |
$sender, |
|
|
string |
$input, |
|
|
int |
$min, |
|
|
int |
$max |
|
) |
| |
|
protected |
◆ 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 |
|
) |
| |
|
protected |
◆ getInteger()
pocketmine\command\defaults\VanillaCommand::getInteger |
( |
CommandSender |
$sender, |
|
|
string |
$value, |
|
|
int |
$min = self::MIN_COORD , |
|
|
int |
$max = self::MAX_COORD |
|
) |
| |
|
protected |
◆ 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 |
|
) |
| |
|
protected |
◆ getUsage()
pocketmine\command\Command::getUsage |
( |
| ) |
|
|
inherited |
◆ isRegistered()
pocketmine\command\Command::isRegistered |
( |
| ) |
|
|
inherited |
◆ register()
pocketmine\command\Command::register |
( |
CommandMap |
$commandMap | ) |
|
|
inherited |
◆ 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 |
◆ MAX_COORD
const pocketmine\command\defaults\VanillaCommand::MAX_COORD = 30000000 |
◆ MIN_COORD
const pocketmine\command\defaults\VanillaCommand::MIN_COORD = -30000000 |
The documentation for this class was generated from the following file: