DefaultPermissions
Table of Contents
-
ROOT_CONSOLE
= \pocketmine\permission\DefaultPermissionNames::GROUP_CONSOLE
-
ROOT_OPERATOR
= \pocketmine\permission\DefaultPermissionNames::GROUP_OPERATOR
-
ROOT_USER
= \pocketmine\permission\DefaultPermissionNames::GROUP_USER
-
registerCorePermissions()
: void
-
registerPermission()
: Permission
ROOT_CONSOLE
public
mixed
ROOT_CONSOLE
= \pocketmine\permission\DefaultPermissionNames::GROUP_CONSOLE
ROOT_OPERATOR
public
mixed
ROOT_OPERATOR
= \pocketmine\permission\DefaultPermissionNames::GROUP_OPERATOR
ROOT_USER
public
mixed
ROOT_USER
= \pocketmine\permission\DefaultPermissionNames::GROUP_USER
registerCorePermissions()
public
static registerCorePermissions() : void
Return values
void
—
registerPermission()
public
static registerPermission(Permission $candidate[, array<string|int, Permission> $grantedBy = [] ][, array<string|int, Permission> $deniedBy = [] ]) : Permission
Parameters
-
$candidate
: Permission
-
-
$grantedBy
: array<string|int, Permission>
= []
-
-
$deniedBy
: array<string|int, Permission>
= []
-
Return values
Permission
—