2019-10-05 16:50:42 -04:00
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Allows admins to define a set of "roles" for easier player privilege
|
|
|
|
management.
|
|
|
|
|
|
|
|
The role command (re)defines a role as a set of privs:
|
|
|
|
/role <role> priv,priv,priv
|
|
|
|
Each priv can be a primitive priv or a role name. Role names
|
|
|
|
will be expanded at the time they're applied, so redefining a role
|
|
|
|
that other roles depend on may affect all dependant roles.
|
|
|
|
|
|
|
|
There are a few special built-in roles:
|
|
|
|
all - all privileges
|
|
|
|
default - the set of privileges assigned to new players
|
|
|
|
The built-in roles cannot be redefined.
|
|
|
|
|
|
|
|
/grant and /grantme can be used to grant roles the same as privs.
|
2020-05-24 20:25:43 -04:00
|
|
|
First, all roles are expanded into their privs.
|
2019-10-05 16:50:42 -04:00
|
|
|
|
|
|
|
Revoking a role effectively revokes all privs it grants.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|