PocketMine
|
Public Member Functions | |
__construct ($name, Plugin $owner) | |
execute (CommandSender $sender, $commandLabel, array $args) | |
getExecutor () | |
setExecutor (CommandExecutor $executor) | |
getPlugin () | |
Public Member Functions inherited from Command | |
__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 () | |
Additional Inherited Members | |
Static Public Member Functions inherited from Command | |
static | broadcastCommandMessage (CommandSender $source, $message, $sendToSource=true) |
Data Fields inherited from Command | |
$timings | |
Protected Attributes inherited from Command | |
$description = "" | |
$usageMessage | |
__construct | ( | $name, | |
Plugin | $owner | ||
) |
string | $name | |
Plugin | $owner |
getPlugin | ( | ) |
Implements PluginIdentifiableCommand.
setExecutor | ( | CommandExecutor | $executor | ) |
CommandExecutor | $executor |