description |
---|
Restrict user access to commands and features in-game with ACE permissions. |
ACE permissions allow you to restrict what users have access to certain commands.
Here, we'll create an admin
ACE group that has access to all of the sonoranradio.towers
categorized permissions.
# ACE group name 'admin' for 'sonoranradio.towers' permission category
add_principal group.admin sonoranradio.towers
This adds all of the Sonoran Radio permissions (configuring repeaters, using the radio, and repairing repeaters) to the sonoranradio.towers
category that the admin
ACE group has access to.
# Add permissions to the ace category "sonoranradio.towers"
# Tower Configuration Menu
add_ace sonoranradio.towers command.radiomenu allow
# Radio Access (Optional: If `acePermsForRadio` is `true` in config.lua)
add_ace sonoranradio.towers sonoranradio.use allow
# Tower Repair (Optional: If `acePermsForTowerRepair` is `true` in config.lua)
add_ace sonoranradio.towers sonoranradio.repair allow
# Connected Users List (Optional: If `acePermsForRadioUsers` is `true` in config.lua)
add_ace sonoranradio.towers sonoranradio.radiousers allow
This grants a user the admin
ACE permission group, specific to their in-game license ID.
add_principal identifier.license:{GTA License} group.admin
You can also use external services like Sonoran CMS to easily manage ACE permissions via ranks and Discord roles.