PocketMine
|
Public Member Functions | |
isPermissionSet ($name) | |
hasPermission ($name) | |
addAttachment (Plugin $plugin, $name=null, $value=null) | |
removeAttachment (PermissionAttachment $attachment) | |
recalculatePermissions () | |
getEffectivePermissions () | |
Public Member Functions inherited from ServerOperator | |
isOp () | |
setOp ($value) | |
addAttachment | ( | Plugin | $plugin, |
$name = null , |
|||
$value = null |
|||
) |
Plugin | $plugin | |
string | $name | |
bool | $value |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.
getEffectivePermissions | ( | ) |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.
hasPermission | ( | $name | ) |
Returns the permission value if overridden, or the default value if not
string | Permission | $name |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.
isPermissionSet | ( | $name | ) |
Checks if this instance has a permission overridden
string | Permission | $name |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.
recalculatePermissions | ( | ) |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.
removeAttachment | ( | PermissionAttachment | $attachment | ) |
PermissionAttachment | $attachment |
Implemented in Player, PermissibleBase, and ConsoleCommandSender.