# How to Add Admins on Your Holdfast: Nations At War Server (/docs/holdfast/adding-admins)



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

Admin access in Holdfast: Nations At War is granted using Steam64 IDs. Once your Steam64 ID is added to the server configuration, you can use admin commands in-game to manage players, change maps, adjust settings, and more.

Finding Your Steam64 ID [#finding-your-steam64-id]

Before adding an admin, you need the player's Steam64 ID:

<div className="fd-steps">
  <div className="fd-step">
    Open Steam [#1-open-steam]

    Go to the Steam client and click on your profile name.
  </div>

  <div className="fd-step">
    Find your Steam64 ID [#2-find-your-steam64-id]

    You can find your Steam64 ID using one of these methods:

    * **Steam profile URL** — If you've set a custom URL, visit [steamid.io](https://steamid.io/) and enter your profile URL to get your Steam64 ID.
    * **Steam client** — Go to **Steam** > **Settings** > **Interface** > **Display Web Address Bars When Available**. Then go to your profile — the number in the URL is your Steam64 ID.

    A Steam64 ID looks like this: `76561198012345678`
  </div>
</div>

Adding Admins to the Config [#adding-admins-to-the-config]

<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) and stop your Holdfast server.
  </div>

  <div className="fd-step">
    Open the config file [#2-open-the-config-file]

    In the sidebar, go to `Files` and open `serverconfig_default.cfg` in the server root.
  </div>

  <div className="fd-step">
    Add admin Steam64 IDs [#3-add-admin-steam64-ids]

    Find the admin section and add each admin's Steam64 ID on a separate line:

    ```
    admin_steam_id_64 76561198012345678
    admin_steam_id_64 76561198087654321
    admin_steam_id_64 76561198011223344
    ```

    Each `admin_steam_id_64` entry grants full admin access to that Steam account.
  </div>

  <div className="fd-step">
    Save and restart [#4-save-and-restart]

    Click **Save** and start your server.

    > 📝 **Note:** Make sure you use the Steam64 ID format (a 17-digit number starting with `7656`). Other Steam ID formats like `STEAM_0:1:12345` will not work.
  </div>
</div>

Admin Commands [#admin-commands]

Once you're connected to the server with an admin-registered Steam64 ID, you can use admin commands in the in-game chat. Open chat by pressing **T** (team) or **Y** (all), then type a command:

Player Management [#player-management]

| Command                      | Description                      |
| ---------------------------- | -------------------------------- |
| `/admin kick <PlayerName>`   | Kick a player from the server    |
| `/admin ban <PlayerName>`    | Ban a player from the server     |
| `/admin unban <SteamID>`     | Unban a previously banned player |
| `/admin mute <PlayerName>`   | Mute a player's chat             |
| `/admin unmute <PlayerName>` | Unmute a player                  |
| `/admin slay <PlayerName>`   | Kill a player instantly          |

Server Management [#server-management]

| Command                          | Description                       |
| -------------------------------- | --------------------------------- |
| `/admin changemap <MapName>`     | Change to a different map         |
| `/admin changegamemode <ModeID>` | Switch game mode (0-3)            |
| `/admin restartround`            | Restart the current round         |
| `/admin endround`                | End the current round immediately |
| `/admin say <Message>`           | Send a server-wide admin message  |

Team Management [#team-management]

| Command                            | Description                          |
| ---------------------------------- | ------------------------------------ |
| `/admin switchplayer <PlayerName>` | Force a player to switch teams       |
| `/admin scrambleteams`             | Randomize team assignments           |
| `/admin lockteams`                 | Prevent players from switching teams |
| `/admin unlockteams`               | Allow team switching again           |

Multiple Admin Levels [#multiple-admin-levels]

Holdfast supports a single admin level — all admins registered via `admin_steam_id_64` have full access to all admin commands. There is no distinction between moderators and full admins.

If you need different permission levels, consider using the following approach:

* Add only your most trusted players to the config
* Share specific command knowledge based on what each admin should do
* Use the server's chat log to monitor admin actions

> 💡 **Tip:** Be selective about who you grant admin access to. Since all admins have equal permissions, a rogue admin could kick all players or disrupt the server. Only add Steam64 IDs of people you trust.

Removing an Admin [#removing-an-admin]

<div className="fd-steps">
  <div className="fd-step">
    Stop the server [#1-stop-the-server]

    Stop your server from the XGamingServer panel.
  </div>

  <div className="fd-step">
    Edit the config file [#2-edit-the-config-file]

    Open `serverconfig_default.cfg` and remove the `admin_steam_id_64` line for the player you want to remove.
  </div>

  <div className="fd-step">
    Save and restart [#3-save-and-restart]

    Save the file and start the server.

    The removed player will no longer have admin access on the next connect.
  </div>
</div>

Testing Admin Access [#testing-admin-access]

After adding your Steam64 ID and restarting:

<div className="fd-steps">
  <div className="fd-step">
    Connect to your server [#1-connect-to-your-server]

    [Join your server](/docs/holdfast/connect-to-your-server) normally.
  </div>

  <div className="fd-step">
    Test a harmless command [#2-test-a-harmless-command]

    Try a command that doesn't disrupt gameplay:

    ```
    /admin say "Admin test - admin access confirmed"
    ```

    If you see the message broadcast to all players, your admin access is working.

    > 📝 **Note:** Admin commands only work when you're connected with the Steam account whose Steam64 ID is in the config. If you have multiple Steam accounts, make sure you're using the correct one.

    If you get stuck at any time, you can join our [Discord](https://discord.xgamingserver.com/).
  </div>
</div>
