Gaming Servers
Mordhau
Host a Mordhau dedicated server on Linux or Windows
Platform Support
| Platform | Support | Notes |
|---|---|---|
| Linux | ✅ Native | |
| Windows | ✅ Native |
Hardware Requirements
Resource Requirements
- RAM: 4GB minimum
- CPU: 2+ vCPU with good single-thread performance
- Storage: 25GB for game files
- Network: 100+ Mbps recommended
Linux Installation
1. Install via SteamCMD
mkdir -p /opt/mordhau
cd /opt/mordhau
# Download SteamCMD
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar xvz
# Install Mordhau dedicated server (AppID 629800)
./steamcmd.sh +force_install_dir /opt/mordhau +login anonymous +app_update 629800 validate +quit2. Server Configuration
Create /opt/mordhau/Mordhau/Saved/Config/LinuxServer/Game.ini:
[/Script/Mordhau.MordhauGameMode]
ServerName=DeluxHost Mordhau Server
AdminPassword=your_admin_password_here
ServerPassword=
# Gameplay
MaxPlayers=64
bEnableDamage=true
bEnableFriendlyFire=true
bEnableMapVoting=true
TimeBetweenMatches=15
# Map settings
bAutoChangeMap=true
MapRotationLength=3
[/Script/Engine.GameSession]
MaxPlayers=64
MaxSpectators=03. Map Rotation Configuration
Edit the map rotation in Game.ini:
[/Script/Mordhau.MordhauGameMode]
ServerRotation=(Map="/Game/Maps/Grad",Gamemode="Team Deathmatch")
ServerRotation=(Map="/Game/Maps/Camp",Gamemode="Team Deathmatch")
ServerRotation=(Map="/Game/Maps/Taiga",Gamemode="Skirmish")
ServerRotation=(Map="/Game/Maps/Contraband",Gamemode="Duel")4. Launch Script
Create /opt/mordhau/start_server.sh:
#!/bin/bash
cd /opt/mordhau/Mordhau/Binaries/Linux
./UE4Server-Linux-Shipping Grad \
?listen \
?Port=7777 \
?QueryPort=15000 \
-server \
-log \
-nosteamclient \
-nounpauseMake executable:
chmod +x /opt/mordhau/start_server.sh5. Systemd Service
Create /etc/systemd/system/mordhau.service:
[Unit]
Description=Mordhau Dedicated Server
After=network.target
[Service]
Type=simple
User=mordhau
WorkingDirectory=/opt/mordhau
ExecStart=/opt/mordhau/start_server.sh
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.targetEnable and start:
sudo systemctl daemon-reload
sudo systemctl enable mordhau
sudo systemctl start mordhau6. Firewall Configuration
# Allow Mordhau ports
sudo ufw allow 7777/udp
sudo ufw allow 15000/udp
sudo ufw allow 27015/udpWindows Server Setup
1. Install via SteamCMD
mkdir C:\Games\Mordhau
cd C:\Games\Mordhau
REM Download and extract SteamCMD
powershell -Command "Invoke-WebRequest https://steamcdn-a.akamaihd.net/client/installer/steamcmd_windows.zip -OutFile steamcmd.zip; Expand-Archive steamcmd.zip -DestinationPath ."
REM Install Mordhau
steamcmd.exe +force_install_dir C:\Games\Mordhau +login anonymous +app_update 629800 validate +quit2. Server Configuration
Create C:\Games\Mordhau\Mordhau\Saved\Config\WindowsServer\Game.ini with the same content as Linux version.
3. Run as Windows Service (NSSM)
REM Download NSSM
nssm install MordhauServer "C:\Games\Mordhau\Mordhau\Binaries\Win64\UE4Server-Win64-Shipping.exe" "Grad ?listen ?Port=7777 ?QueryPort=15000 -server -nosteamclient"
nssm set MordhauServer AppDirectory "C:\Games\Mordhau"
nssm start MordhauServerTips & Tweaks
Admin Commands (via RCON or Console)
| Command | Description |
|---|---|
/kick <player> | Kick a player |
/ban <player> <duration> | Ban player (in minutes, 0 = permanent) |
/mute <player> | Mute a player |
/unmute <player> | Unmute a player |
/changelevel <mapname> | Change map immediately |
/setnextmap <mapname> | Set next map |
/say <message> | Send message to all |
/restart | Restart current round |
Map Rotation Best Practices
Configure balanced rotation in Game.ini:
[/Script/Mordhau.MordhauGameMode]
ServerRotation=(Map="/Game/Maps/Grad",Gamemode="Team Deathmatch")
ServerRotation=(Map="/Game/Maps/Camp",Gamemode="Siege")
ServerRotation=(Map="/Game/Maps/Taiga",Gamemode="Skirmish")
ServerRotation=(Map="/Game/Maps/Feitoria",Gamemode="Team Deathmatch")
ServerRotation=(Map="/Game/Maps/Contraband",Gamemode="Duel")
ServerRotation=(Map="/Game/Maps/Grad",Gamemode="Skirmish")Available maps:
- Grad
- Camp
- Taiga
- Feitoria
- Contraband
- Invasion
- Tourney
Available gamemodes:
- Team Deathmatch (TDM)
- Deathmatch (DM)
- Siege
- Skirmish
- Invasion
- Ranked Duel
Server Browser Visibility
For the server to appear in the official server browser:
[/Script/Mordhau.MordhauGameMode]
bServerListVisible=true
ServerListCategory=PublicPerformance Optimization
| Setting | Value | Impact |
|---|---|---|
MaxPlayers | 64 | Default, reduce for lower specs |
TimeBetweenMatches | 15 | Seconds between rounds (increase for customization) |
bAutoChangeMap | true | Auto-rotate maps |
bEnableFriendlyFire | true | Affects player behavior |
Custom Map Support
Place custom maps in:
- Linux:
/opt/mordhau/Mordhau/Content/Maps/ - Windows:
C:\Games\Mordhau\Mordhau\Content\Maps\
Then reference in map rotation:
ServerRotation=(Map="/Game/Maps/CustomMapName",Gamemode="Team Deathmatch")Monitoring Server Health
# Monitor server process
top -p $(pgrep -f UE4Server)
# Check network connections
netstat -tulpn | grep -E '7777|15000'Common Issues
- Server Not Appearing: Verify
bServerListVisible=trueand firewall is open - Map Change Fails: Check map name spelling in rotation config
- High Memory: Reduce
MaxPlayersor increase swap space - Connection Timeouts: Increase
TimeBetweenMatchesif players struggle to join