Skip to content

Mount & Blade II: Bannerlord: How to Manage Your Server with the ZapX AI Agent

Find startup errors, change game modes, set up map rotations, and manage backups: Here’s how to manage your Bannerlord server by chatting with the ZapX AI Agent.

30 November 20266 min read1 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 ZapX AI Agent, you can manage your Mount & Blade II: Bannerlord server via chat. Describe what you need, for example, “Why does my server shut down shortly after starting?” or “Set up a map rotation with three Skirmish maps.” The agent reads logs and files, finds the cause, and prepares the necessary changes. It always asks you first before making any changes to your server.

This guide explains what the agent can do on your Bannerlord server, how confirmation works, and what its limitations are.

Requirements

  • ZapX Pass: The ZapX AI Agent is included with every tier of the ZapX Pass, starting with Plus.
  • AI allowance: Each tier includes a monthly AI allowance. You can see how much you’ve used in the chat, next to the input field. Once it runs out, access resumes automatically on the renewal date.
  • Shared server: If someone has shared their server with you, the owner can also give you access to the agent. It will then use their ZapX Pass.

Open the ZapX AI Agent

Open your Bannerlord server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows about your server, so you don’t need to explain anything. Just describe what you need in your own words.

How confirmation works

The agent distinguishes between reading and making changes:

  • Reading (viewing logs, files, configuration, and backups) happens immediately, without asking.
  • Making changes (writing a file, setting startup parameters, restarting the server, or restoring a backup) is only prepared. You’ll see a card that shows exactly what will happen. The change is carried out only after you click Confirm. Click Decline to discard the suggestion.

For related steps, such as changing custom_server_config.txt and then restarting, the agent presents them together on one card. They are then carried out in sequence.

Tip: Automatically apply file changes

At the bottom of the chat, you’ll find the Apply file changes automatically toggle. When it’s on, the agent writes files in this chat without showing a card. You can still undo any change with Undo. You’ll still need to confirm settings changes, deletions, and updates yourself.

What the agent can do on your Bannerlord server

Find errors and check your server

If your server won’t start, shuts down shortly after starting, or doesn’t appear in the Custom Server List, tell the agent what’s happening. It reads the console and logs, checks CPU and RAM usage over time, and can run a server diagnosis that checks the status, logs, configuration, and processes in around 20 seconds. Common causes in Bannerlord include:

  • The message Disconnected from custom battle server manager means TaleWorlds rejected your server token. It was copied incorrectly or expired after 3 months.
  • If the console shows map '...' does not exist on the dedicated server, the map name is misspelled or doesn’t match the game mode. The server then uses the game mode’s default map.

Create a new token in the game with customserver.gettoken, then enter it yourself in the Configuration tab, in the Server Token field. Don’t send your token in the chat; it’s linked to your Bannerlord account. Learn more: Server won’t start and Create a server token.

Start, stop, and restart your server

The agent can start, stop, or restart your server, each time after you confirm. If you want, it can also create schedules, such as a daily restart at 5 a.m. in your time zone. A daily restart also removes all bans from the admin panel.

Change the game mode, map, and cultures

The server name, game mode, map, and the cultures of both teams are startup parameters in the Configuration tab. The agent changes these values using a card, and a running server will restart once. Bannerlord expects the following values:

  • Game modes: Skirmish, Captain, TeamDeathmatch, Siege, Duel, or Battle.
  • A map that matches the game mode, for example, mp_skirmish_map_008_skin for Skirmish or mp_siege_map_007_battania for Siege.
  • Cultures: empire, vlandia, battania, sturgia, khuzait, or aserai. They have no effect in Duel mode.

Learn more: Game modes and maps.

Custom server commands in custom_server_config.txt

Anything that isn’t available as a startup parameter goes in custom_server_config.txt in your server’s main directory, with one command per line. For example, the agent can add:

  • Round rules such as RoundTotal, RoundTimeLimit, and WarmupTimeLimitInSeconds,
  • a map rotation using add_map_to_automated_battle_pool for each map and enable_automated_battle_switching,
  • polls using AllowPollsToKickPlayers or AllowPollsToChangeMaps,
  • a custom time limit for each map using MapTimeLimit.

The file is read every time the server starts, so a restart applies the changes. Your server skips lines containing ServerName, GameType, AdminPassword, GamePassword, or MaxNumberOfPlayers; these values always come from the startup parameters. Learn more: Server configuration.

Files and SFTP

The agent searches, reads, and edits files, downloads files from a direct link, extracts archives (.zip, .tar, up to 500 MB), and creates .zip archives from folders. It can show you your SFTP login details without the password, reset your SFTP password, and repair file permissions if files are read-only.

Backups

The agent creates and restores backups, deletes old ones, or prepares one for download. A backup always includes the entire server. It’s a good idea to create a fresh backup before making major changes to custom_server_config.txt.

Get a new IP if your address is blocked

If your server has its own IP address (add-on) and it is on a blocklist, for example with some routers from US providers, the agent swaps it for a clean IP via a card. The ports stay the same, and the server is offline for about a minute. This is possible at most once every 30 days and only for the owner of the server. Without its own IP, your server shares the host’s address, so the agent has nothing to swap. You can book your own IP as an add-on.

What the agent can’t do

  • It can’t send console commands for Mount & Blade II: Bannerlord; the console in the panel is read-only.
  • It can’t kick, ban, or mute players. Do this in the in-game admin panel, which you can open from the Escape menu after using Join as Admin. See Become an admin and manage players.
  • Send commands such as end_mission or messages to all players in the Server Dashboard, which you can open by clicking Web UI in the overview. See Server Dashboard.
  • It never displays SFTP passwords in chat, and you don’t need to send it any passwords. It’s best to change the server password, admin password, and server token yourself in the Configuration tab.
  • It can download .rar and .7z archives, but it can’t extract them.
  • It can’t open additional ports.

Example requests

  • “My server shuts down after a few seconds. Find the cause.”
  • “Set the game mode to Siege with mp_siege_map_007_battania.”
  • “Set up a map rotation with mp_skirmish_map_007 and mp_skirmish_map_010.”
  • “Set RoundTotal to 5 and the warmup period to 3 minutes.”
  • “Allow polls to kick players, but not to ban them.”
  • “Restart the server every day at 5 a.m.”

Also available in support chat: Zappy

If you contact us through support chat, Zappy can help with the same tools once your ticket is linked to the server. You can read logs, run a diagnosis, restart the server, or repair file permissions there without a ZapX Pass. You’ll need the ZapX Pass to make changes to files, startup parameters, and backups.

Conclusion

You now know what the ZapX AI Agent can do on your Bannerlord server and how to approve each change yourself. For an overview of all the sections in the panel, see Mount & Blade II: Bannerlord: Dashboard overview. If you have any other questions, our support team is here to help every day! 🙂

Free tools

Mount & Blade II: Bannerlord Tools

View all

FAQ

Frequently asked questions

Yes. The agent is included with every ZapX Pass tier, starting with Plus. Zappy can also help in support chat without a Pass, but you’ll need one to make server changes there.
No. It presents anything that changes your server on a card and only carries it out after you click “Confirm.” If you turn on “Automatically apply file changes,” it can write files without a card, and you can undo the changes.
It can tell from the logs that TaleWorlds rejected the token. Create a new one in the game with customserver.gettoken, then enter it yourself in the Server Token field in the Configuration tab. Don’t send it in chat.

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.