FiveM

Add Admin FiveM Server: ACE Permissions in server.cfg

The exact server.cfg lines, which identifier to use, how to test it, moderator groups and how txAdmin admins fit in.

TheGameHosting Team 4 min read
Make Yourself Admin on FiveM
Background: FiveM © Rockstar Games

To add admin FiveM server permissions, give a group rights with add_ace and put the player in that group with add_principal in server.cfg, for example add_principal identifier.fivem:1234567 group.admin, then restart. FiveM calls this system ACE (access control entries). If you use txAdmin, its web panel keeps a separate admin list, so many servers set up both.

The default server.cfg from Cfx.re already has the lines, with a placeholder ID. Most people only need to swap in their own identifier. If you are still building the server, start with how to make a FiveM server.

How ACE permissions work

  • Principal: who gets the permission. A group such as group.admin, or a player written as identifier.<type>:<value>.
  • Object: what is allowed. command means every command; command.quit means only quit.
  • add_ace gives an object to a principal (allow or deny). add_principal makes a child principal inherit from a parent, which is how a player joins a group.

The exact syntax of each command is in the FiveM server commands reference.

Find the player's identifier

A player connects with several identifiers. These are the types listed in the Cfx.re documentation:

TypeWhat it isFormat
fivem:Cfx.re account user IDNumber
license:Rockstar license (Rockstar Online Services)Hex hash
discord:Discord user IDNumber
steam:Steam ID, only if the account is linkedHex

The quickest way to see one: have the player join and run status in the server console, which lists each player with their primary identifier. In txAdmin, the player window also shows their identifiers. Prefer fivem: or license:; they do not depend on a linked Steam or Discord account, so they are there for every player.

Heads-up: if you use identifier.steam: in your ACE lines, Cfx.re asks you to set set sv_enforceSteamAuth true. Since November 4, 2026, the old steam_webApiKey no longer works.

How to add admin FiveM server rights in server.cfg

  1. Back up first. On TheGameHosting: Backups → Create backup.
  2. Open server.cfg in Files (or over sFTP).
  3. Check the admin group lines and add one add_principal per admin:
    Code
    # Admin group: every command except quit
    add_ace group.admin command allow
    add_ace group.admin command.quit deny
    
    # Admins (one line per person)
    add_principal identifier.fivem:1234567 group.admin
    add_principal identifier.license:abc123def456 group.admin
    Keep the identifier exactly as shown by status, including the type before the colon.
  4. Save and restart the server from the panel. To apply it without a restart, you can also type the same add_principal line in the Console; it is lost at the next restart unless it is in server.cfg.
  5. Test it from the console:
    Code
    test_ace identifier.fivem:1234567 command.quit
    It tells you whether that principal is allowed or denied. Then join and try an admin command in game.

A moderator group with fewer commands

You can build more groups the same way. A moderator group that can only use the commands you name:

Code
add_ace group.mod command.say allow
add_ace group.mod command.clientkick allow
add_principal identifier.discord:123456789012345678 group.mod

say and clientkick come with the stock chat and rconlog resources. To remove someone, delete their line, or use remove_principal identifier.fivem:1234567 group.admin. Admin menus and frameworks often check ACE too, with their own group or permission names; read the docs of the resource you use. Our QBCore vs ESX comparison covers the frameworks themselves.

txAdmin admins are a separate list

txAdmin, the web panel built into FXServer, has its own admins with their own permissions, stored in txData/admins.json and managed from its admin manager page by the master account or by admins allowed to manage admins. Being a txAdmin admin lets someone use txAdmin (restart, kick, ban, the in-game menu); being in group.admin lets them run server commands. Give your staff both when they need both. A common setup: the owner and head admins in both lists, and moderators only in txAdmin with limited permissions, so they can handle players without touching the server configuration.

FiveM admin on TheGameHosting

On FiveM server hosting from TheGameHosting you edit server.cfg in Files or over sFTP, read identifiers and run test_ace in the panel Console, and give your co-admin access to the panel with Users, without sharing your account. Two MySQL databases are included for ESX, QBCore or Qbox, and you can set things up with txAdmin recipes. Running other servers too? Our guide to adding an admin on a CS2 server works the same way.

FiveM needs 8 GB of RAM on our plans, from $6.96 USD a month, on AMD 9950X/7950X3D CPUs with DDoS protection in Dallas or Amsterdam. See the game server plans and use code FULL2026 for 15% off for life.

FAQ

How do I make myself admin on my FiveM server?

Find your identifier with status in the server console, add add_principal identifier.fivem:YOURID group.admin to server.cfg (with add_ace group.admin command allow above it) and restart.

How do I make someone else admin on FiveM?

Add one add_principal line with their identifier and group.admin, or a smaller group such as group.mod with only the commands you allow.

Which identifier should I use for FiveM admin?

fivem: (Cfx.re account) or license: (Rockstar license) are the usual choices. steam: works only for linked accounts and needs sv_enforceSteamAuth true.

Is txAdmin admin the same as ACE admin?

No. txAdmin keeps its own admin list in txData/admins.json. ACE in server.cfg controls server commands. Staff often need both.

Hosting for these games

Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.

All posts