# How To Configure Your Mordhau Server (/docs/mordhau/configure-your-server)



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

Mordhau server configuration is handled through the `Game.ini` file and the **Startup** settings in your panel.

Using Startup Settings [#using-startup-settings]

<div className="fd-steps">
  <div className="fd-step">
    Open the Startup Page [#1-open-the-startup-page]

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

  <div className="fd-step">
    Adjust Settings [#2-adjust-settings]

    The Startup page provides fields for common settings including server name, max players, map, and game mode.
  </div>

  <div className="fd-step">
    Restart Your Server [#3-restart-your-server]

    After making changes, restart from the **Console** page.
  </div>
</div>

Editing Game.ini [#editing-gameini]

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

    In the sidebar, click **Files** and navigate to the config directory (typically `Mordhau/Saved/Config/LinuxServer/`).
  </div>

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

    Open `Game.ini` and adjust the settings:

    ```
    [/Script/Mordhau.MordhauGameSession]
    ServerName=My Mordhau Server
    MaxSlots=64
    ServerPassword=
    AdminPassword=myadminpassword
    Admins=76561198000000001
    BannedPlayers=()
    MapRotation=FFA_Grad
    MapRotation=FFA_Camp
    MapRotation=FFA_Contraband

    [/Script/Mordhau.MordhauGameMode]
    PlayerRespawnTime=5.0
    BallistaRespawnTime=30.0
    CatapultRespawnTime=60.0
    HorseRespawnTime=60.0
    DamageFactor=1.0
    TeamDamageFactor=0.5
    ```
  </div>

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

    Save the file and restart your server.
  </div>
</div>

Common Game Mode Settings [#common-game-mode-settings]

| Setting               | Description                         | Default |
| --------------------- | ----------------------------------- | ------- |
| `PlayerRespawnTime`   | Seconds before a player respawns    | 5.0     |
| `BallistaRespawnTime` | Seconds before a ballista respawns  | 30.0    |
| `CatapultRespawnTime` | Seconds before a catapult respawns  | 60.0    |
| `HorseRespawnTime`    | Seconds before a horse respawns     | 60.0    |
| `DamageFactor`        | Multiplier for all damage           | 1.0     |
| `TeamDamageFactor`    | Multiplier for friendly fire damage | 0.5     |

Game Modes [#game-modes]

Set the game mode in **Startup** or through the map prefix:

| Mode                  | Description                        |
| --------------------- | ---------------------------------- |
| Frontline (FL)        | Large-scale objective-based combat |
| Invasion (INV)        | Attack and defend objectives       |
| Free For All (FFA)    | Every player for themselves        |
| Team Deathmatch (TDM) | Team vs team combat                |
| Skirmish (SKM)        | Small team rounds                  |
| Duel (DL)             | 1v1 dueling                        |
| Battle Royale (BR)    | Last player standing               |
| Horde                 | PvE cooperative survival           |

> 📝 **Note:** Settings in `Game.ini` may be overridden by **Startup** parameters. If a setting does not apply, check both locations.

> 💡 **Tip:** Setting `TeamDamageFactor` to `0` disables friendly fire entirely, which can be helpful for casual servers.
