# How To Add Admins to Your Mordhau Server (/docs/mordhau/adding-admins)



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

Adding admins to your Mordhau server gives trusted players the ability to kick, ban, change maps, and manage the server in-game.

<div className="fd-steps">
  <div className="fd-step">
    Find the Player's Steam64 ID [#1-find-the-players-steam64-id]

    You need the player's Steam64 ID. Go to [SteamID.io](https://steamid.io/) and search for their Steam profile. Copy the **SteamID64** value.
  </div>

  <div className="fd-step">
    Open Files [#2-open-files]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your Mordhau server. In the sidebar, click **Files**.
  </div>

  <div className="fd-step">
    Navigate to the Config Directory [#3-navigate-to-the-config-directory]

    Navigate to the configuration directory. The `Game.ini` file is typically found at `Mordhau/Saved/Config/LinuxServer/` or a similar path.
  </div>

  <div className="fd-step">
    Open Game.ini [#4-open-gameini]

    Open the `Game.ini` file.
  </div>

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

    Under the `[/Script/Mordhau.MordhauGameSession]` section, add the player's Steam64 ID:

    ```
    [/Script/Mordhau.MordhauGameSession]
    Admins=76561198000000001
    Admins=76561198000000002
    ```

    Add one `Admins=` line per admin.
  </div>

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

    Save the file and restart your server from the **Console** page.
  </div>
</div>

Using Admin Commands In-Game [#using-admin-commands-in-game]

Once a player is an admin, they can open the console (`~`) and use commands such as:

| Command                 | Description                                |
| ----------------------- | ------------------------------------------ |
| `adminlogin`            | Authenticate as admin (if password is set) |
| `kick [playername]`     | Kick a player                              |
| `ban [playername]`      | Ban a player                               |
| `unban [playername]`    | Unban a player                             |
| `changelevel [mapname]` | Change the map                             |
| `addbots [count]`       | Add AI bots                                |
| `removebots [count]`    | Remove AI bots                             |
| `slomo [speed]`         | Change game speed                          |

> 📝 **Note:** Admin changes to `Game.ini` require a server restart. In-game admin commands take effect immediately.
