PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\command\ConsoleCommandSender Class Reference
+ Inheritance diagram for pocketmine\command\ConsoleCommandSender:
+ Collaboration diagram for pocketmine\command\ConsoleCommandSender:

Public Member Functions

 isPermissionSet ($name)
 
 hasPermission ($name)
 
 addAttachment (Plugin $plugin, $name=null, $value=null)
 
 removeAttachment (PermissionAttachment $attachment)
 
 recalculatePermissions ()
 
 getEffectivePermissions ()
 
 isPlayer ()
 
 getServer ()
 
 sendMessage ($message)
 
 getName ()
 
 isOp ()
 
 setOp ($value)
 

Detailed Description

Definition at line 30 of file ConsoleCommandSender.php.

Member Function Documentation

pocketmine\command\ConsoleCommandSender::addAttachment ( Plugin  $plugin,
  $name = null,
  $value = null 
)
Parameters
Plugin$plugin
string$name
bool$value
Returns

Implements pocketmine\permission\Permissible.

Definition at line 63 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::getEffectivePermissions ( )
Returns
[]

Implements pocketmine\permission\Permissible.

Definition at line 83 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::getName ( )
Returns
string

Implements pocketmine\command\CommandSender.

Definition at line 113 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::getServer ( )
Returns

Implements pocketmine\command\CommandSender.

Definition at line 97 of file ConsoleCommandSender.php.

References pocketmine\Server\getInstance().

+ Here is the call graph for this function:

pocketmine\command\ConsoleCommandSender::hasPermission (   $name)
Parameters
\pocketmine\permission\Permission | string$name
Returns
bool

Implements pocketmine\permission\Permissible.

Definition at line 52 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::isOp ( )
Returns
bool

Implements pocketmine\permission\ServerOperator.

Definition at line 120 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::isPermissionSet (   $name)
Parameters
\pocketmine\permission\Permission | string$name
Returns
bool

Implements pocketmine\permission\Permissible.

Definition at line 43 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::isPlayer ( )
Returns
bool

Definition at line 90 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::recalculatePermissions ( )
Returns
void

Implements pocketmine\permission\Permissible.

Definition at line 76 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::removeAttachment ( PermissionAttachment  $attachment)
Parameters
PermissionAttachment$attachment
Returns
void

Implements pocketmine\permission\Permissible.

Definition at line 72 of file ConsoleCommandSender.php.

pocketmine\command\ConsoleCommandSender::sendMessage (   $message)
Parameters
string$message

Implements pocketmine\command\CommandSender.

Definition at line 104 of file ConsoleCommandSender.php.

References pocketmine\utils\MainLogger\getLogger().

+ Here is the call graph for this function:

pocketmine\command\ConsoleCommandSender::setOp (   $value)
Parameters
bool$value

Implements pocketmine\permission\ServerOperator.

Definition at line 127 of file ConsoleCommandSender.php.


The documentation for this class was generated from the following file: