# How To Add Admins to Your RedM Server (/docs/redm/adding-admins)



import { Step, Steps } from 'fumadocs-ui/components/steps';

RedM uses the same ace permission system as FiveM to manage admin access. Admins are configured through the `server.cfg` file using ace permissions and principal assignments.

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer Panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com).
  </div>

  <div className="fd-step">
    Stop Your Server [#2-stop-your-server]

    Make sure your server is **stopped** before making changes.
  </div>

  <div className="fd-step">
    Get the Player's Identifier [#3-get-the-players-identifier]

    You need the player's identifier to grant them permissions. RedM supports several identifier types:

    * **Steam** - `steam:hexid` (most common)
    * **Discord** - `discord:userid`
    * **License** - `license:hexid`

    Players can find their Steam hex ID using tools like [steamid.io](https://steamid.io/) and converting their Steam64 ID to hexadecimal.
  </div>

  <div className="fd-step">
    Open server.cfg [#4-open-servercfg]

    In the sidebar, click **Files** and open `server.cfg` in the editor.
  </div>

  <div className="fd-step">
    Add Admin Permissions [#5-add-admin-permissions]

    Add the following lines to your `server.cfg`, replacing the identifier with the player's actual ID:

    ```
    # Add admin group
    add_ace group.admin command allow
    add_ace group.admin command.quit deny

    # Add a player to the admin group
    add_principal identifier.steam:110000xxxxxxxxx group.admin
    ```

    You can add multiple admins by adding additional `add_principal` lines:

    ```
    add_principal identifier.steam:110000xxxxxxxxx group.admin
    add_principal identifier.steam:110000yyyyyyyyy group.admin
    ```
  </div>

  <div className="fd-step">
    Save and Start Your Server [#6-save-and-start-your-server]

    Click **Save** and then **Start** your server.
  </div>
</div>

Creating Custom Permission Groups [#creating-custom-permission-groups]

You can create custom permission groups with specific permissions for moderators or other roles:

```
# Moderator group with limited commands
add_ace group.moderator command.kick allow
add_ace group.moderator command.ban allow

# Add a player to the moderator group
add_principal identifier.steam:110000xxxxxxxxx group.moderator
```

> 💡 **Tip:** The ace permission system is very flexible. You can create as many groups as you need and assign specific command permissions to each one. See the [server configuration guide](/docs/redm/configure-your-server) for more details.

Using txAdmin to Manage Admins [#using-txadmin-to-manage-admins]

If your server runs txAdmin, you can manage admins through its web interface instead of editing `server.cfg` manually.

1. Open txAdmin at `http://your-server-ip:40120`
2. Go to **Settings → Administrators**
3. Click **Add Admin**
4. Enter the player's name and assign a permission level (Master, Admin, or Moderator)

txAdmin syncs these permissions automatically — no server restart required.
