PocketMine
|
Public Member Functions | |
__construct ($name, $description="", $usageMessage=null, array $aliases=[]) | |
execute (CommandSender $sender, $commandLabel, array $args) | |
getName () | |
getPermission () | |
setPermission ($permission) | |
testPermission (CommandSender $target) | |
testPermissionSilent (CommandSender $target) | |
getLabel () | |
setLabel ($name) | |
register (CommandMap $commandMap) | |
unregister (CommandMap $commandMap) | |
isRegistered () | |
getAliases () | |
getPermissionMessage () | |
getDescription () | |
getUsage () | |
setAliases (array $aliases) | |
setDescription ($description) | |
setPermissionMessage ($permissionMessage) | |
setUsage ($usage) | |
__toString () | |
Static Public Member Functions | |
static | broadcastCommandMessage (CommandSender $source, $message, $sendToSource=true) |
Data Fields | |
$timings | |
Protected Attributes | |
$description = "" | |
$usageMessage | |
__construct | ( | $name, | |
$description = "" , |
|||
$usageMessage = null , |
|||
array | $aliases = [] |
||
) |
string | $name | |
string | $description | |
string | $usageMessage | |
string[] | $aliases |
__toString | ( | ) |
|
static |
CommandSender | $source | |
string | $message | |
bool | $sendToSource |
|
abstract |
CommandSender | $sender | |
string | $commandLabel | |
string[] | $args |
getAliases | ( | ) |
getDescription | ( | ) |
getLabel | ( | ) |
getName | ( | ) |
getPermission | ( | ) |
getPermissionMessage | ( | ) |
getUsage | ( | ) |
isRegistered | ( | ) |
register | ( | CommandMap | $commandMap | ) |
setAliases | ( | array | $aliases | ) |
string[] | $aliases |
setDescription | ( | $description | ) |
string | $description |
setPermission | ( | $permission | ) |
string | null | $permission |
setPermissionMessage | ( | $permissionMessage | ) |
string | $permissionMessage |
setUsage | ( | $usage | ) |
string | $usage |
testPermission | ( | CommandSender | $target | ) |
CommandSender | $target |
testPermissionSilent | ( | CommandSender | $target | ) |
CommandSender | $target |
unregister | ( | CommandMap | $commandMap | ) |
CommandMap | $commandMap |