Guide · Updated 5 Dec 2026 · By Poggy
RedM ACE permissions explained: add_ace, add_principal and the mistakes everyone makes
ACE is the permission system built into every RedM and FiveM server. It decides who may run which command and which script may do what, and it is set with a handful of lines in server.cfg. It looks cryptic until you see that there are only two ideas in it. This guide explains both, the five commands that use them, and the mistakes behind most "no permission" complaints.
Two words: principal and object
- A principal is who. A player, a group of players, or a resource.
- An object is what. A command, or any permission name a script chooses to check.
Every permission is one line saying that a principal is allowed, or denied, an object. Everything else is a way of grouping principals so you do not have to write that line for each person.
add_ace: what someone may do
add_ace [principal] [object] [allow|deny]
The examples in the official server commands page show the shape:
add_ace group.admin command.potato allow
add_ace identifier.steam:110000112345678 command.apple deny
The first lets everyone in group.admin run the command potato. The second stops one particular player running apple. Commands are written as command. followed by the command's name. A script can also check a name of its own: poggy.settings, for instance, is what Poggy Core (Free) checks before it opens its in-game settings screen.
add_principal: who is in which group
add_principal [child_principal] [parent_principal]
This makes the first principal inherit everything the second has. It is how a player joins a group, and how one group sits inside another:
## Who holds each rank
add_principal identifier.fivem:1234567 group.admin
add_principal identifier.discord:123456789 group.moderator
## Admins get everything moderators have
add_principal group.admin group.moderator
Group names are yours to invent. group.admin and group.moderator are conventions, not built-in ranks; a group exists as soon as a line mentions it.
Identifiers: how a player is named
A player is written as identifier. followed by one of their identifiers: identifier.fivem:, identifier.license:, identifier.discord: or identifier.steam:. Use identifiers and never display names, because a name can change and an identifier does not. txAdmin shows every identifier on a player's page.
One caution about Steam. Since 4 November 2026 a player only has a steam: identifier if their Steam account is linked to their Cfx.re account, and the server only insists on that when sv_enforceSteamAuth is true. A staff line written against a Steam identifier does nothing for a player who arrives without one. The RedM "Steam Required" error explains the setting.
Resources need permission too
A resource is a principal as well, written resource. and its folder name. By default a script cannot run server commands on your behalf, so a script that restarts other scripts, or changes permissions while the server runs, has to be given the commands it uses. Poggy Core's updater is an example; it restarts the scripts it has just updated:
add_ace resource.poggy_core command.refresh allow
add_ace resource.poggy_core command.ensure allow
add_ace resource.poggy_core command.start allow
add_ace resource.poggy_core command.stop allow
The same rule covers a framework that hands out permissions itself. To add a player to a group at runtime, it needs command.add_principal and command.remove_principal allowed for its own resource name. When a script's install notes list add_ace resource. lines, this is why. Give a resource only the commands its notes ask for.
Taking a permission away
remove_ace [principal] [object] [allow|deny]
remove_principal [child_principal] [parent_principal]
Each one undoes the matching line, and has to be written the same way as the line it removes. For a permanent change, deleting the line from server.cfg and restarting does the same job with less to go wrong. The two commands earn their place when something has to change while the server is up, such as removing a staff member mid-session.
test_ace: stop guessing
test_ace group.admin command.adminstuff
Typed into the server console, this reports whether that principal is allowed or denied that object. It is the fastest way to settle an argument about whether a line works, and the right thing to reach for whenever an allow and a deny might both apply to the same person.
Put it in server.cfg
The server keeps the permission list in memory only. The official note on the system says there is no persistence layer at all: a line typed into the live console works straight away and is gone at the next restart. Anything you want to keep goes in server.cfg, where it is applied on every start.
We keep every permission line in one block above the ensure lines, so the permissions are in place before any script starts, with a comment naming each person. Removing someone is then one line. Take a copy of server.cfg before editing it; Server Controller (from $2.99/mo) keeps dated backups if you would rather not think about it.
How a script checks
Scripts ask the server with IsPlayerAceAllowed, passing the player and the object:
if IsPlayerAceAllowed(source, 'myserver.heal') then
-- the player may do this
end
That is all a custom permission is: a name the script checks and you grant. Poggy Tickets (Free) uses one for its most destructive action. Deleting a ticket for good is not a staff role power; it needs poggy_tickets.delete granted in server.cfg, to a person or to a group such as group.owner.
Commands have a shortcut. A script can register a command as restricted, and the server then requires command. plus the command's name without the script writing any check itself. The official note on the built-in permission system shows how far the idea stretches, including checking a player's job without depending on a framework.
The mistakes behind most complaints
- The line was typed into the console
- It worked until the restart. Put it in
server.cfg. - The identifier is wrong, or the player does not have it
- Copy it from the player's page in txAdmin. A Steam identifier only exists for players who have linked Steam.
- The two commands are swapped
add_acetakes a principal and an object.add_principaltakes two principals. Giving a group toadd_aceas its object does nothing useful.- The resource was never given its commands
- A script that needs
command.ensureorcommand.add_principalfails quietly without it. Check its install notes foradd_ace resource.lines. - ACE is not the framework's admin list
- VORP keeps its admin group on the player's user record in the database. RSG Core and QBCore RedM grant their ranks as ACE principals such as
rsgcore.adminorqbcore.admin. A player can be admin in one system and nobody in the other. - The resource was renamed
resource.lines use the folder name. Rename the folder and the line points at nothing.
For what staff should be able to do once the permissions work, see RedM admin tools. For the rest of server.cfg, how to make a RedM server goes through it from the top.




