Setup Ace Permissions
In your server.cfg or your permissions file place the following line(s) of code. It's helpful if you have a lot of permissions, to make a perms.cfg file to keep everything neat and organized. If you are making a perms.cfg file make sure you add the following line above your first ensured script of your server.cfg
Example:
exec perms.cfg
ensure mapmanagerAdding Ace Permissions for Resources:
add_ace resource.ResoureceName command.add_principal allow
add_ace resource.ResoureceName command.remove_principal allow
Example:
add_ace resource.AcePerms command.add_principal allow
add_ace resource.AcePerms command.remove_principal allow
This will give the resource AcePerms the ability to add & remove permissions
Adding Ace Permissions for Groups
add_ace group.Name PermissionName allow
Example: add_ace group.god NLRP.Weather allow
So everyone with group.god will receive the NLRP.Weather Permission
Be careful with giving out permissions like add_ace group.group NLRP allow because everyone with group.god will receive ALL of the NLRP permissions that you have set. This is very helpful for owners / high management members so you do not have to type out every single permission multiple times.
Adding Groups to Groups
Instead of giving a permission to every single group that someone would typically have. Give the higher group the lower group. This is great for staff ranks. Lets say you give permissions to group.mod so instead of having to set the same permission for group.admin you could do the following add_principal group.admin group.mod
This will give group.admin all of group.mod's permissions without having to set them all again
Recommended (Optional)
If you are using our permissions by default I highly suggest putting the following permissions. This will allow everyone by default to have access to NLRP.Everyone this is a permission we use to give out certain features within our scripts. For example viewing the weather panel.
add_ace builtin.everyone NLRP.Everyone allow
Last updated