Skip to content
Mount & Blade II: Bannerlord
Game Configurator

Mount & Blade II: Bannerlord Server Configuration Generator

Use this config generator to create your Bannerlord Dedicated Server's config without writing console commands by hand. Choose the game mode, map, cultures, map rotation, time limits, friendly fire and bots using the form or AI-powered Easy Mode. Check the commands live, then copy or download them. Free and without sign-up, including Easy Mode.

Built by Florian Galz

Config ready? Rent your server and apply it directly in the panel.

mount-blade-bannerlord

ZapX AI Agent

Explain how you want to configure your server

Briefly describe the kind of server you want — we'll suggest matching settings.

For example:

Show config file preview
mount-blade-bannerlordds_config.txtLive preview
# Mount & Blade II: Bannerlord — generated with the ZAP-Hosting Game Config Generator
# zap-hosting.com/tools/bannerlord/config-generator
# Server & access
ServerName My Bannerlord Server
GameType Skirmish
MaxNumberOfPlayers 12
# Map rotation & voting
# Rounds & time limits
# Combat & teams
# Bots
# Players, polls & streamers
MaxStreamerCount 0
start_game_and_mission

Example result

Example: the generated ds_config.txt

You set the options using a form or AI Easy Mode, and the generator creates the finished ds_config.txt for Mount & Blade II: Bannerlord live. Below are the first lines of the default configuration; your file contains your values and all other settings.

Example · Default configuration

Output

ds_config.txt
# Mount & Blade II: Bannerlord — generated with the ZAP-Hosting Game Config Generator# zap-hosting.com/tools/bannerlord/config-generator # Server & accessServerName My Bannerlord ServerGameType SkirmishMaxNumberOfPlayers 12 # Map rotation & voting # Rounds & time limits # Combat & teams # Bots
  • +5 rowsYou can copy or download the complete file in the generator; the sample lines here only show the beginning.

Settings

Set these Bannerlord server settings

Your Bannerlord Dedicated Server's config is a list of console commands, one per line. Here are the main commands the generator writes, along with their default values.

CommandDefault valueMeaning
GameTypeDefault value: SkirmishGame mode: Skirmish, Captain, TeamDeathmatch, Siege, Duel, or Battle. Each mode has its own defaults for time limits, friendly fire, and teams.
MapDefault value: –Starting map. The generator only offers maps included with the Dedicated Server and shows their corresponding game modes. Without this line, the server uses the mode’s first map.
CultureTeam1Default value: –Culture for team 1 and team 2 (CultureTeam2): Empire, Vlandia, Battania, Sturgia, Khuzait or Aserai.
MaxNumberOfPlayersDefault value: 12Server player limit from 1 to 1023.
add_map_to_automated_battle_poolDefault value: –One line per map in the rotation. In the generator, enter maps separated by commas.
set_automated_battle_countDefault value: -1Battles before shutdown with automatic rotation. -1 means unlimited. If the line is missing, the server shuts down after 3 battles.
enable_automated_battle_switchingDefault value: offEnables automatic map rotation. Appears in the file after the count and voting settings.
MapTimeLimitDefault value: 8Time limit per map in minutes (1–60). Like all time limits, the generator writes it only when you enable custom time limits.
FriendlyFireDamageMeleeFriendPercentDefault value: 50Percentage of melee damage dealt to a teammate (0–2000%). Reflected damage and the corresponding ranged damage settings are also available.
NumberOfBotsTeam1Default value: 0AI soldiers per team (0–510). In Captain mode, you can also set soldiers per formation (NumberOfBotsPerFormation).
AllowPollsToKickPlayersDefault value: Game defaultVotes to kick or ban players (AllowPollsToBanPlayers) and change maps (AllowPollsToChangeMaps). True or False; if unset, the game mode's value applies.
start_game_and_missionDefault value: alwaysStarts the server and mission. Always the last line in the file.

What the generator intentionally doesn't cover

  • Server token: Generate the token in-game with customserver.gettoken. It's a separate file or startup parameter, not a line in this config.
  • Port: Set it using the /port startup parameter. At ZAP-Hosting, the panel sets it.
  • end_game_after_mission_is_over: This command shuts down the server after the mission. The generator deliberately omits it.
  • Rare options such as formation markers in Captain mode: if you import a file containing these lines, they're preserved in the downloaded file.

Guide

How to configure your Bannerlord server

From the first draft to the restart: how to apply your Bannerlord server settings.

  1. 1

    Step 1

    Open the generator

    The generator starts with Skirmish, Khuzait versus Battania and 12 players. If you already have a config, upload it as a .txt or .cfg file or paste its contents. Lines the generator doesn't recognize are preserved.

  2. 2

    Step 2

    Describe your server or fill in the fields

    In Easy Mode, describe your server to the AI in your own words and apply only the suggestions you confirm. In Advanced Mode, you set each field yourself.

  3. 3

    Step 3

    Choose a game mode, map, and cultures

    Choose the game mode, a map for that mode, and both teams’ cultures. Set the name, passwords, and player limit in the same section.

  4. 4

    Step 4

    Set up map rotation

    Enter the rotation maps separated by commas and enable automatic rotation. Set “Battles until shutdown” to -1 for endless rotation. You can disable map and culture voting.

  5. 5

    Step 5

    Adjust time limits, friendly fire, and bots

    These values depend on the game mode. Enable a group only if you want to change its values; otherwise, the mode's defaults apply.

  6. 6

    Step 6

    Check the preview and export

    Check the commands in the live preview. Then copy them, download the file, or share a link that excludes your passwords.

  7. 7

    Step 7

    Add the file and restart the server

    If you self-host, place the file in Modules/Native and start the server with /dedicatedcustomserverconfigfile and the filename. At ZAP-Hosting, upload it as custom_server_config.txt to your server's root folder. Then restart the server, as it only reads the file at startup.

Setup

File location & applying changes

Two ways to get the config onto a server: upload it yourself or apply it directly in our panel.

The manual method

Upload yourself

  1. 1

    Download file

    Download the generated ds_config.txt using the button above.

  2. 2

    Upload via file manager or FTP/SFTP

    A self-hosted server has no fixed location for it: the server loads the file that the /dedicatedcustomserverconfigfile startup parameter points to. At ZAP-Hosting, it is in custom_server_config.txt.

  3. 3

    Apply changes

    Bannerlord only reads commands at startup—restart your server for changes to take effect.

The ZAP-Hosting way

Apply in the panel, no FTP needed

Rent a Mount & Blade II: Bannerlord server from us: download the file, place it in the file manager, and restart. All in your browser.

  • File Manager directly in your browser
  • No FTP client required
  • Online in 60 seconds

More tools

Useful tools for your Bannerlord server

Arma Reforger Server Configuration Generator

Describe config.json to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Arma Reforger server.

Built by Florian Galz

Server Configuration Generator

Describe Server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Squad server.

Built by Florian Galz

Server Configuration Generator

Describe Game.ini to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Insurgency: Sandstorm server.

Built by Florian Galz

Server Configuration Generator

Describe serverconfig_default.txt to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Holdfast server.

Built by Florian Galz

Port Checker

Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.

Built by Sebastian Rademacher

Password Generator

Generate strong, random passwords directly in your browser — nothing is stored or transmitted.

Built by Rugile Rutkauskaite

FAQ

Frequently asked questions about the Bannerlord server config

File location, map rotation, game modes, server token, and generator limitations—briefly answered.

Where is a Bannerlord Dedicated Server’s config file?

In the server's Modules/Native folder, for example Modules/Native/ds_config.txt. Specify the filename at startup using /dedicatedcustomserverconfigfile. At ZAP-Hosting, enter your commands in custom_server_config.txt in the root folder, which you can open in the panel's file manager.

Which Bannerlord server settings can I set with the generator?

Server name, game mode, map, cultures, player limit, join and admin passwords, welcome message, map rotation with map and culture voting, time limits and rounds, friendly fire, team balancing, respawn and gold, bots, voting, banners, spectator camera, and streamer slots.

How do I set up map rotation on my Bannerlord server?

Add the maps to the rotation pool and enable automatic rotation. The generator then writes one add_map_to_automated_battle_pool line per map, sets set_automated_battle_count, and only then adds enable_automated_battle_switching. Without set_automated_battle_count, the server shuts down after 3 battles; with -1, it rotates indefinitely.

Why aren’t time limits and friendly fire in every file?

Each game mode has its own defaults, such as friendly fire or respawn in Siege. The generator writes these values only when you enable the relevant group. That way, a Skirmish value won’t accidentally override your Siege server settings.

What applies to a Bannerlord server at ZAP-Hosting?

Set the server name, game mode, map, cultures, and passwords in the panel settings. The player limit comes from your server. Everything else belongs in custom_server_config.txt. The server skips lines for ServerName, GameType, passwords, and MaxNumberOfPlayers there, and adds start_game_and_mission itself.

Is the server token in the config?

No. Generate the token in the game's multiplayer lobby with customserver.gettoken. It's valid for three months. At ZAP-Hosting, enter it in your server settings, not in the config. Bannerlord: Set up a server token

What does AI Easy Mode do?

Describe the server you want in your own words, such as “Siege server with a three-map rotation.” The AI suggests suitable values, explains each change and applies only what you confirm. Your passwords aren't sent to the AI.

Is the generator free to use without signing in?

Yes. The form, Easy Mode, import, copy, download, and share link work without an account. Easy Mode is briefly rate-limited to prevent too many requests, and the share link never includes your passwords.

Any more questions?

Contact Support
Ready?

Get your Mount & Blade II: Bannerlord server online today

Rent your Mount & Blade II: Bannerlord server now and apply this config directly in the panel.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in 60 seconds.

Flexible TermCancel anytimeOnline in 60 seconds