SetupMordhau

How to Host a Mordhau Server (2026 Guide)

Host a Mordhau dedicated server: SteamCMD app 629800, Game.ini settings, map rotation names, admins by PlayFab ID, mod.io mods and ports 7777, 15000 and 27015.

Updated Oct 3, 2026 · 5 min read

On this page

To host a Mordhau server, download the free dedicated server (SteamCMD app 629800), start it once to create Game.ini, then set ServerName, MaxSlots, ServerPassword and AdminPassword under [/Script/Mordhau.MordhauGameSession] and your MapRotation lines under [/Script/Mordhau.MordhauGameMode]. Open UDP 7777 (game), 15000 (beacon) and 27015 (query). Admins log in with adminlogin <password> or go in Game.ini as Admins= PlayFab IDs.

What do you need to host a Mordhau server?

Mordhau is an Unreal Engine game, and player count drives both memory and CPU. Native server builds exist for Windows and Linux.

Server type Players RAM
Duel yard or small team fights Up to 24 4 GB
Frontline or Invasion Around 48 8 GB
Full server with a long map and mod list 60 and up 12 GB

A fast CPU matters more than core count: 48 players swinging swords at once is a lot of hit detection for one thread. Players need their own copy of Mordhau; Steam and Epic Games Store PC players share community servers. Mordhau added crossplay with PlayStation and Xbox in 2024, but it is built around the game's own servers, so expect a community server to be a PC crowd.

Knights clashing on a Frontline map on a Mordhau community server

How do I install the Mordhau dedicated server?

  1. Install SteamCMD and download the server:
steamcmd +force_install_dir C:\MordhauServer +login anonymous +app_update 629800 validate +quit
  1. Start it once so it creates its config files, then stop it:
MordhauServer.exe -log -Port=7777 -QueryPort=27015 -BeaconPort=15000

On Linux, run MordhauServer.sh with the same parameters.

  1. Edit Game.ini in Mordhau\Saved\Config\WindowsServer\ (or LinuxServer).
  2. Open the ports in your firewall and router.
  3. Start the server again.

Only edit the ini files while the server is stopped. Mordhau writes its settings back to disk when it shuts down, so edits made while it runs get overwritten.

How do I configure Game.ini?

A working starting point for a Frontline server:

[/Script/Mordhau.MordhauGameMode]
PlayerRespawnTime=5.000000
BallistaRespawnTime=30.000000
CatapultRespawnTime=30.000000
HorseRespawnTime=30.000000
DamageFactor=1.000000
TeamDamageFactor=0.500000
MapRotation=FL_Grad
MapRotation=FL_Camp
MapRotation=FL_Taiga
MapRotation=FL_MountainPeak

[/Script/Mordhau.MordhauGameSession]
MaxSlots=48
ServerName=Our Frontline Server
ServerPassword=
AdminPassword=change-me
BannedPlayers=()
Key What it does Good value
MaxSlots Player cap 16 to 24 for duels, 48 for Frontline
ServerPassword Join password Blank for public, set one for scrims
AdminPassword Password for adminlogin Always set a strong one
TeamDamageFactor Friendly fire damage 0.5 is the default feel
PlayerRespawnTime Seconds before respawn 5 for casual, higher for slower fights
MapRotation One line per map, in order See the next section

How do I set the map rotation?

Each MapRotation= line is one map, and the prefix sets the game mode. A wrong prefix means the map fails to load.

Prefix Mode Examples
FL_ Frontline FL_Grad, FL_Camp, FL_Taiga, FL_MountainPeak, FL_Crossroads, FL_Feitoria
INV_ Invasion INV_Grad_0, INV_Taiga_0, INV_Feitoria_0
HRD_ Horde (co-op) HRD_Camp, HRD_Grad, HRD_Taiga
SKM_ Skirmish SKM_Grad, SKM_Contraband, SKM_ThePit
TDM_ Team deathmatch TDM_Camp, TDM_Tourney
FFA_ Free for all FFA_ThePit, FFA_Contraband

A duel server usually runs a short rotation of small FFA maps with a low MaxSlots, while a Frontline server mixes FL and INV maps with 48 slots. Admins can also switch maps live from the console.

What ports does a Mordhau server use?

Port Protocol Purpose
7777 UDP Game traffic (-Port)
15000 UDP Beacon (-BeaconPort)
27015 UDP Steam query, server browser (-QueryPort)

Each server on the same machine needs its own set. If your server does not show in the browser, the query port is usually the one that is closed. Our port forwarding guide shows how to open them.

How do I add admins on a Mordhau server?

There are two ways:

  1. Admin password. Set AdminPassword in Game.ini, join, open the console with the backtick key and type adminlogin yourpassword. You need to do this each time you join.
  2. Permanent admins. Add Admins= lines under [/Script/Mordhau.MordhauGameSession], one per admin, using their PlayFab ID:
[/Script/Mordhau.MordhauGameSession]
Admins=ABCDEF1234567890
Admins=0987654321FEDCBA

The quickest route is to log in with the password once, then run AddAdmin with the player's name or PlayFab ID in the console, which adds them to the list for you. RemoveAdmin takes them off and AdminList shows who is on it. From there, admins can kick, ban and change maps from the console. Mordhau's community wiki lists the remaining server settings.

How do I add mods from mod.io?

Mordhau mods (maps, game modes, tweaks) are hosted on mod.io. Copy each mod's numeric ID from its mod.io page and add one line per mod under the game session section:

[/Script/Mordhau.MordhauGameSession]
Mods=1234567
Mods=2345678

Restart the server and it downloads them. Players download the mods automatically when they join. For a modded map, put its map name in MapRotation as its mod page describes. Add mods one at a time so you know which one broke if the server stops booting after a game update.

FAQ

Is the Mordhau dedicated server free?

Yes. It is a free download through SteamCMD with app ID 629800. You only pay for the machine it runs on.

How many players can a Mordhau server hold?

You set it with MaxSlots in Game.ini. Frontline and Invasion feel best around 48, while duel servers work at any size.

Why does my Game.ini keep resetting?

The server writes its settings back when it shuts down. Stop the server first, then edit Game.ini, then start it again.

Why does my map not load?

The map name needs the right mode prefix, like FL_Grad for Frontline or INV_Grad_0 for Invasion. A bare or mismatched name fails to load.

Can Epic Games Store players join my Mordhau server?

Yes. Steam and Epic players on PC use the same community servers.

The easy option: host it with us

If you would rather skip SteamCMD, ini files and port forwarding, you can rent a Mordhau server from us. The panel has max players from 1 to 60, server name, game password, admin password, default map and auto update, with both the native Linux build and the Windows build to switch between. Game.ini is in the file manager for rotations, admins and mods. It is ready minutes after you pay, with DDoS protection and 24/7 support from real people. New customers get 50% off the first month, and your clan can split the bill. Looking for other melee or military games? See military shooters with dedicated servers.

Skip the setup. Your own Mordhau server.

$4.99USD first month

Then $9.99/mo. Just trying it? $2.50 for 3 days

Keep reading