This guide can certainly be improved and completed, which i'll do over time.
How to get a Mordhau server ?
1. You can rent one from a server provider. Here is a price comparison made by PatPeter the Mordhau forums.
2. You can host one yourself. Here is a Dedicated Server Hosting Guide available on a Mordhau wiki site.
It is worth mentioning that most community maps are cooked (compiled) for Windows environment. They can run on Linux servers, but there can be a few issues. For example, any asset that is not from Mordhau and that uses a convex collision setting will have no collision on your Linux server (resulting in having players falling through the floor for instance). Ideally, a map maker will specify if his map is compatible, or provide a workaround for your server (a linux version that you will have to install manually).
If you want to host a server running community maps, for now it is more convenient to go for the Windows platform. If you're not sure what OS the server provider uses, you better ask their support before renting one.
How to host community maps on my server ?
1. Create an account on mordhau.mod.io.
Do not use your steam account to log in (as a player you will be auto-subscribed to a ton of mods that you don't necessarily want your server to be subscribed to)
Subscribe to the mods that you would like to host on your server.
If you are hosting several servers, you better get one mod.io account per server. For now, Mod.io lacks a feature to manage mods collections for several servers on one account.
2. Go to your mod.io profile -> API Access, and generate a OAuth2 Token (NOT an Api key) (you can give any name you want to the client and the token itself).
Copy that token somewhere since you won't be able to display it again later.
For some reason, sometimes the token doesn't appear, most of the time, if you try on another web browser/machine it will work.
3. In your server files, go to Mordhau\Saved\Config\WindowsServer(or linuxserver)\ and open Game.ini.
Under [/Script/Mordhau.MordhauGameSession], copy your token here :
And save the file.
4. Restart your server. The mods will download automatically, which can take some time. Once done, your server will show up in the browser.
Players joining your server will now be auto-subscribed to the mods that you are hosting!
If you can't access game.ini on your provider's interface : You will need to access the Mordhau\Saved\Config\WindowsServer(or linuxserver)\Game.ini file using FTP protocol.
For instance here is how to access your files on a g-portal server : g-portal wiki
How to add a community map to the rotation ?
In Game.ini, add a line for each level under [/Script/Mordhau.MordhauGameMode], for example :
If the creator didn't specify its level names in the mod.io description, this list may help : Bit.ly
Do not add paths, just the level name. If you are miswriting a level name your server might have issues during map rotation.
Adding maps to the rotation makes them available for the voting screen.
How mods updates are managed ?
This is as of the date of the 24th of october and may change in the future.
When a mod is updated, you have to restart your server to get the update.
Client side (=players' side), the mods updates are checked on game start, and downloaded in the background if a new version is available. It is independant from the version that is on your server.
When joining a server, it won't check if the versions are the same, but rather check if the mod is subscribed client side, and if yes, if it is in the download queue or not (ie if a new version has been detected on game start and is in the process of being downloaded.). If the mod is subscribed and not being updated, the player can join the server.
That means that there are multiple scenarios where versions can differ and yet the player will be able to join the map. This explains some bugs that the players may encounter on your server after a mod update. Restarting your server and having the player restart their game will fix these version issues.
How to modify basic parameters ? (score to win, respawn time, match duration...)
These modifications are done in the same Game.ini file.
Duration times are defined in seconds.
How to set your server to 120 Tick ?
Save the file and restart your server.
If you want to verifiy what is the tickrate on a server, type "m. ShowServerStats 1" in the console. This will display these stats on your screen :
For some reason it doesn't work with all servers, no idea why.
To remove the stats type "m. ShowServerStats 0"
How to restrict certain weapons and equipments ?
The following guides needs to be updated since the November 25th update. It will be done asap.
To set weapons restrictions and more, check out those guides :
Cswic guide to server modifications Mordhau.com
Solved guide to server modifications Imgur.com
I need help !
Join the modding discord, get the "server config" role and look for help in the #server-config channel.