szutilpack/szutil_roles
Aaron Suen 9ce18fd427 Add all required mod.conf files 2021-03-01 20:04:16 -05:00
..
README Remove the "none" built-in role 2020-05-24 20:25:43 -04:00
init.lua Remove the "none" built-in role 2020-05-24 20:25:43 -04:00
mod.conf Add all required mod.conf files 2021-03-01 20:04:16 -05:00

README

------------------------------------------------------------------------

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.
First, all roles are expanded into their privs.

Revoking a role effectively revokes all privs it grants.

------------------------------------------------------------------------