Admins on a Mordhau server are entered in the Game.ini. What you use is the player's PlayFab ID – not their SteamID64.
Find out the PlayFab ID
You read a player's PlayFab ID through RCON. The player has to be online on your server for this.
-
Set up RCON
How to enable RCON and connect to it is described under Kick & Ban Players. -
List the players
Run the following command through RCON:playerlist -
Copy the ID
The server returns one line per player with the PlayFab ID and the player name. Copy the ID of the player you want to make an admin.
Add an admin through the Game.ini
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open the Game.ini
Open the following file:/Mordhau/Saved/Config/LinuxServer/Game.ini -
Enter the admins
In the section[/Script/Mordhau.MordhauGameSession]add oneAdmins=line per admin:[/Script/Mordhau.MordhauGameSession] Admins=909275ECE8FEDDB Admins=A1B2C3D4E5F6789 -
Start the server
Save the file and start your server. The admin list is read on server start.
Set an admin password
In addition to the admin list, Mordhau supports an admin password for your server. It is set in the same section of the Game.ini:
[/Script/Mordhau.MordhauGameSession]
AdminPassword=YourAdminPassword
Manage admins through RCON
Once RCON is set up you can also manage admins while the server is running – without stopping it.
| Command | Description |
|---|---|
adminlist |
Shows all registered admins |
addadmin <PlayFabID> |
Adds a player as an admin |
removeadmin <PlayFabID> |
Removes an admin again |
