PocketMine
ConsoleCommandSender Class Reference
Inheritance diagram for ConsoleCommandSender:
CommandSender Permissible ServerOperator RemoteConsoleCommandSender

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)
 

Member Function Documentation

addAttachment ( Plugin  $plugin,
  $name = null,
  $value = null 
)
Parameters
Plugin$plugin
string$name
bool$value
Returns

Implements Permissible.

getEffectivePermissions ( )
Returns
[]

Implements Permissible.

getName ( )
Returns
string

Implements CommandSender.

getServer ( )
Returns

Implements CommandSender.

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

Implements Permissible.

isOp ( )
Returns
bool

Implements ServerOperator.

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

Implements Permissible.

isPlayer ( )
Returns
bool
recalculatePermissions ( )
Returns
void

Implements Permissible.

removeAttachment ( PermissionAttachment  $attachment)
Parameters
PermissionAttachment$attachment
Returns
void

Implements Permissible.

sendMessage (   $message)
Parameters
string$message

Implements CommandSender.

setOp (   $value)
Parameters
bool$value

Implements ServerOperator.


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