NOVO 📢 Economize até 30% no seu primeiro mês, oferta por tempo limitado!

How to Become an Admin on Your RedM Server

RedMUpdated Sep 24, 20263 min read

RedM uses the Cfx.re permission system. You put your identifier into an admin group, and give that group permissions. Both are lines in server.cfg.

Find your identifier

  1. Start the server and join it.
  2. In the panel Console, run:
    status
  3. Your entry is listed with identifiers such as license:xxxxxxxx, steam:110000100000000 and discord:000000000000000.

The license: identifier is the most reliable. It is tied to the Cfx.re account and does not change if the player is not using Steam.

Grant yourself admin

  1. Stop the server.
  2. Edit server.cfg and add:
    add_ace group.admin command allow
    add_ace group.admin command.quit deny
    
    add_principal identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx group.admin
  3. Save and start the server.

The first line gives the admin group permission to run server commands. The second is a sensible guard that stops an admin from shutting the server down by accident. The third puts you in the group.

Adding more staff

Repeat the add_principal line, one per person. To create a lower rank:

add_ace group.moderator command.say allow
add_ace group.moderator command.kick allow
add_principal identifier.license:yyyy group.moderator

Grant individual commands rather than blanket access to anyone who is not you.

Resource level admin

Most roleplay frameworks have their own admin system on top of this one, usually a database table or a config list of identifiers. Framework admin and Cfx.re aces are separate, and you generally need both: the ace for server commands, and the framework entry for in-game menus.

txAdmin

If your server runs txAdmin, it provides a web interface for player management, bans, scheduled restarts and live console. Its own admin accounts are managed inside txAdmin and are separate from server.cfg principals.

If admin does not work

  • Check the identifier for typos. It is long and easy to truncate.
  • The server must be restarted after editing server.cfg.
  • Run status in the console while you are connected to confirm the identifier the server actually sees for you.

CRIE SEU SERVIDOR DE JOGOS
PRONTO PARA COMEÇAR?

Economize até 30% no seu novo servidor de jogos.
Desempenho premium, ativação instantânea e confiabilidade imbatível por um preço melhor.

NOSSOS ÚLTIMOS BLOGS