With the right configuration, you can turn your Mount & Blade II: Bannerlord game server into exactly the server you have in mind: with your own name, game mode, map, cultures, passwords, and game rules. In this guide, we’ll show you which settings to configure directly in ZapX and how to set everything else using custom server commands.
A Bannerlord Dedicated Server is configured using server commands, which it runs line by line when it starts. ZapX automatically assembles this configuration for you each time the server starts. It consists of two parts:
- The startup parameters in the Configuration tab. Here, you can set key values such as the server name, game mode, and passwords without using any commands.
- The custom_server_config.txt file for all other server commands, such as round count, bots, or friendly fire.
The maximum number of players is automatically based on your server’s slots. ZapX also sets the time limit per map to match the game mode, but you can override it using MapTimeLimit in custom_server_config.txt.
Don’t forget the server token: Your server can’t start without a valid token. Find out how to generate and enter one in our guide Create a server token.
Open your server in ZapX and go to the Configuration tab. You’ll find these fields under the Startup Parameters category:
| Field | Description |
|---|---|
| Server Name | Your server’s name in the Custom Server List |
| Server Token | Your token from the game (required) |
| Game Mode | Game mode: Skirmish, Captain, TeamDeathmatch, Siege, Duel, or Battle |
| Map | Map for the selected game mode. If you leave this field blank, your server uses the game mode’s default map |
| Culture Team1 / Culture Team2 | The cultures of the two teams: empire, vlandia, battania, sturgia, khuzait, or aserai |
| Server Password | Password players need to join. Leave blank for a public server |
| Admin Password | Password for Join as Admin and the Server Dashboard. ZapX generates it automatically during setup |
You can easily select the game mode and cultures from a list. Click Save after making your changes. If your server is running, ZapX will offer Restart now because the changes only take effect after a restart.
Default maps for each game mode:
| Game mode | Default map |
|---|---|
Skirmish | mp_skirmish_map_008_skin |
Captain | mp_sergeant_map_007 |
TeamDeathmatch | mp_tdm_map_003 |
Siege | mp_siege_map_007_battania |
Duel | mp_duel_mode_map_004 |
Battle | mp_battle_map_001 |
Official maps only work with the game mode they were designed for. If you enter a map under Map that doesn’t exist on the server or is misspelled, your server automatically uses the game mode’s default map. In Duel mode, both sides play without fixed cultures, so the Culture Team1 and Culture Team2 fields have no effect.
Add anything that isn’t available as a startup parameter to the custom_server_config.txt file in your server’s main directory. Your server creates the file automatically the first time it starts. You can edit it in the Files tab directly in your browser or via SFTP.
- Write one command per line, for example,
RoundTotal 5. - Lines beginning with
#are comments and are ignored. - The file is read every time the server starts. Restart your server after making a change.
- The server name, game mode, passwords, and player count always come from ZapX. Therefore, lines containing
ServerName,GameType,AdminPassword,GamePassword,MaxNumberOfPlayers, andstart_game_and_missionare skipped.
Here’s an example of a Skirmish server with custom rules:
# Rundenregeln
RoundTotal 5
RoundTimeLimit 420
WarmupTimeLimitInSeconds 180
# Begrüßung und Abstimmungen
WelcomeMessage Willkommen auf unserem Server!
AllowPollsToKickPlayers True
AllowPollsToBanPlayers False
# Teams
AutoTeamBalanceThreshold 2
FriendlyFireDamageMeleeFriendPercent 0
| Option | Description |
|---|---|
| WelcomeMessage | Welcome message for players |
| RoundTotal / RoundTimeLimit | Number of rounds and time limit per round in seconds (round-based modes such as Skirmish and Captain) |
| WarmupTimeLimitInSeconds | Warmup duration in seconds |
| RespawnPeriodTeam1 / RespawnPeriodTeam2 | Respawn wait time for each team |
| AutoTeamBalanceThreshold | The player-count difference at which teams are automatically balanced (0 = off) |
| FriendlyFireDamageMeleeFriendPercent | Melee damage dealt to teammates as a percentage; there are similar options for ranged damage and self-damage |
| NumberOfBotsTeam1 / NumberOfBotsTeam2 | Number of bots per team |
| AllowPollsToKickPlayers / AllowPollsToBanPlayers / AllowPollsToChangeMaps | Allow (True) or prohibit (False) player polls |
| MapTimeLimit | Time limit per map in minutes; overrides the setting from ZapX |
Our guide Game modes and maps shows which maps work with each game mode and how to set up a map rotation.
You can also change many of these values in the admin panel while the game is running. Join your server with Join as Admin and open the panel from the Escape menu. However, your settings are only saved permanently in ZapX or in custom_server_config.txt. Learn more in our guides Become an admin and manage players and Server Dashboard.
Your Bannerlord server is now configured just the way you want it. If something isn’t working as expected, our guide Common issues can help. If you have any other questions, our support team is available every day! 🙂
