Last updated
Last updated
A good place to start using permissions in your plugins, here's how you register your permissions within your plugin. Usually done at the very beginning of your plugin, which can be Init() or OnServerInitialized().
To use your newly registered permissions, you may use the following format:
To get all the groups available on a server, you may use this:
To create a new group, you can do this:
To delete a group:
Grant a permission to a group:
Revoke a permission from a group:
Get all group permissions:
Get the rank value of a group:
Get the display title of a group:
Get the parent of a group:
An overall look at how permissions work and how you can use them.