Mordhau Server Admin Management
Add permanent admins to your Mordhau server using PlayfabIDs in Game.ini, authenticate with adminlogin, and use all available admin console commands for kicking, banning, and managing players.
Mordhau Admin Management
Mordhau's admin system uses PlayfabIDs — not SteamID64. This is an internal Mordhau player identifier. Using SteamIDs in the Admins= list will not work.
Setting the Admin Password
In Mordhau/Saved/Config/LinuxServer/Game.ini:
[/Script/Mordhau.MordhauGameSession]
AdminPassword=YourSecureAdminPassword
Stop the server before editing, then restart.
Logging In as Admin In-Game
- Join your server
- Open the in-game console (usually
F10or via the Options menu → Console) - Type:
adminlogin YourSecureAdminPassword - You are now an admin for this session
The login expires when you disconnect. Permanent admin status (survives reconnects) is granted via Admins= in Game.ini (see below).
Adding Permanent Admins
To find a player's PlayfabID:
- Log in as admin in-game
- Run:
playerlist— this shows all connected players with their PlayfabIDs - Copy the PlayfabID of the player you want to make admin
Add to Game.ini (while server is stopped):
[/Game/Mordhau/Blueprints/BP_MordhauSingleton.BP_MordhauSingleton_C]
Admins=PLAYFABID1HERE
Admins=PLAYFABID2HERE
Players in this list are automatically admin when they join — no adminlogin needed.
Admin Console Commands
All commands are entered in the in-game console after adminlogin:
Player Management
| Command | Effect |
|---|---|
playerlist |
List all players with their PlayfabIDs and ping |
kick <Name or PlayfabID> [reason] |
Kick a player |
ban <Name or PlayfabID> <minutes> [reason] |
Ban for N minutes (0 = permanent) |
unban <PlayfabID> |
Unban a player |
banlist |
Show all current bans |
mute <Name or PlayfabID> |
Mute player chat |
unmute <PlayfabID> |
Unmute a player |
Admin Management
| Command | Effect |
|---|---|
adminlist |
List current session admins |
adminadd <PlayfabID> |
Grant admin for current session |
removeadmin <PlayfabID> |
Revoke session admin |
Map / Server Control
| Command | Effect |
|---|---|
changelevel <MapName> |
Change to a map immediately |
addmap <MapName> |
Add map to the current rotation |
removemap <MapName> |
Remove map from the current rotation |
addbot [name] [health] [team] |
Spawn an AI bot |
removebot [index] |
Remove a bot by index |
Ban Duration Examples
// Permanent ban
ban PlayerName 0 "Cheating"
// 24-hour ban
ban PlayerName 1440 "Unsportsmanlike conduct"
// 1-week ban
ban PlayerName 10080 "Repeated violations"
RCON vs In-Game Admin
The same commands work over RCON (see the RCON article) and in-game. RCON is useful for managing the server when you're not playing — you don't need to join to kick or ban someone. In-game admin is required to get PlayfabIDs when first setting up permanent admins.