ACE permissions
Also called ACL, add_ace, add_principal
FiveM's built-in permission system that grants commands and abilities to groups and identifiers via add_ace and add_principal.
ACE (access control entries) is the permission system built into the FiveM server. It answers one question: is this principal allowed this object? Everything else, from admin menus to vMenu options, is built on top of it.
Two commands do most of the work in server.cfg:
add_ace group.admin command allowgrants thegroup.admingroup access to all commands.add_principal identifier.license:abc123 group.adminputs a player's licence identifier into that group.
Groups can inherit from other groups through add_principal group.admin group.moderator, so you can define moderator rights once and give admins everything moderators have plus more. remove_ace and remove_principal undo entries at runtime.
Resources check permissions with IsPlayerAceAllowed(source, "my.permission"), and commands registered with the restricted flag automatically require command.name.
Practical rules:
- Use licence or Discord identifiers, not names or IPs. Names change and IPs are shared.
- Keep permissions in one file. A separate
permissions.cfgloaded withexecis easier to audit. - Grant the least that works. A support role that only handles tickets does not need
command allow. - Review on every staff change. Removing someone from Discord does not remove their ACE entries.
Frameworks often keep their own admin groups in the database. Make sure both systems agree, or you end up with someone who can open the admin menu but not run commands, or the reverse. txAdmin has its own admin list as well.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.