Access denied for command <name>
Someone tried to run a command they do not have permission for.
Do this first
Add yourself to the admin group in server.cfg — being in the group and the group having permissions are two separate lines.
What it means
An ACE permission check failed. FiveM's permission system is deny-by-default: principals (a group, a player identifier) are granted objects (a command, a resource capability) explicitly, and anything not granted is refused.
What causes it
Ordered by how often it is the answer.
- 1
The command was run from a client without the permission
Console has every permission; a player has only what was granted.
- 2
The principal was never added
add_principal identifier.fivem:1 group.adminis what puts YOU in the group. Granting the group permissions does nothing until someone is in it. - 3
The ace lines are in the wrong order
add_aceandadd_principalare evaluated in file order. Adding a principal to a group defined later does not work. - 4
The identifier is the wrong kind
license:,steam:,discord:,fivem:are all different. The one in the cfg must be one the player actually presents. - 5
txAdmin manages permissions separately
Its own admin list is not the same as ACE.
How to tell which one is yours
In the server console:
add_principal identifier.license:YOURLICENSE group.admin
then try again in game. Console-only success means the permission is the issue, not the command.
Where to look
server.cfg, the add_ace / add_principal block.
How to fix it
add_ace group.admin command allow add_ace group.admin command.stop deny # deny wins over allow add_principal identifier.license:abc123 group.admin
Order matters: define the group's aces first, then add people to it.
Still stuck on your own code?
This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.
bug_reportOpen Server Fixer