Skip to content

Mount & Blade II: Bannerlord: Server Configuration

Learn how to configure your Mount & Blade II: Bannerlord game server’s name, game mode, map, cultures, and passwords in ZapX, and add custom server commands

12 November 20264 min read24 Views0 helpful

Don't have your own server yet? Host your Mount & Blade II: Bannerlord server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

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.

How configuration works

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:

  1. 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.
  2. 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.

Info

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.

Startup parameters in the Configuration tab

Open your server in ZapX and go to the Configuration tab. You’ll find these fields under the Startup Parameters category:

FieldDescription
Server NameYour server’s name in the Custom Server List
Server TokenYour token from the game (required)
Game ModeGame mode: Skirmish, Captain, TeamDeathmatch, Siege, Duel, or Battle
MapMap for the selected game mode. If you leave this field blank, your server uses the game mode’s default map
Culture Team1 / Culture Team2The cultures of the two teams: empire, vlandia, battania, sturgia, khuzait, or aserai
Server PasswordPassword players need to join. Leave blank for a public server
Admin PasswordPassword 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 modeDefault map
Skirmishmp_skirmish_map_008_skin
Captainmp_sergeant_map_007
TeamDeathmatchmp_tdm_map_003
Siegemp_siege_map_007_battania
Duelmp_duel_mode_map_004
Battlemp_battle_map_001
Important

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.

Custom server commands in custom_server_config.txt

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, and start_game_and_mission are skipped.

Here’s an example of a Skirmish server with custom rules:

Code
# 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

Important options

OptionDescription
WelcomeMessageWelcome message for players
RoundTotal / RoundTimeLimitNumber of rounds and time limit per round in seconds (round-based modes such as Skirmish and Captain)
WarmupTimeLimitInSecondsWarmup duration in seconds
RespawnPeriodTeam1 / RespawnPeriodTeam2Respawn wait time for each team
AutoTeamBalanceThresholdThe player-count difference at which teams are automatically balanced (0 = off)
FriendlyFireDamageMeleeFriendPercentMelee damage dealt to teammates as a percentage; there are similar options for ranged damage and self-damage
NumberOfBotsTeam1 / NumberOfBotsTeam2Number of bots per team
AllowPollsToKickPlayers / AllowPollsToBanPlayers / AllowPollsToChangeMapsAllow (True) or prohibit (False) player polls
MapTimeLimitTime 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.

Tip

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.

Conclusion

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! 🙂

Free tools

Mount & Blade II: Bannerlord Tools

View all

FAQ

Frequently asked questions

Set key values such as the server name, game mode, map, cultures, and passwords in ZapX under Startup Parameters in the Configuration tab. Add any other server commands to the custom_server_config.txt file in your server’s main directory, with one command per line.
Skirmish, Captain, TeamDeathmatch, Siege, Duel, and Battle. Select a mode from the list in the Game Mode field under the Configuration tab.
If the Map field is blank or the specified map doesn’t exist, your server automatically uses the default map for the selected game mode, such as mp_skirmish_map_008_skin for Skirmish.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.