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.
- 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 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.
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.
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.
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 managermeans 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.
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.
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, orBattle. - A map that matches the game mode, for example,
mp_skirmish_map_008_skinfor Skirmish ormp_siege_map_007_battaniafor Siege. - Cultures:
empire,vlandia,battania,sturgia,khuzait, oraserai. They have no effect inDuelmode.
Learn more: Game modes and maps.
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, andWarmupTimeLimitInSeconds, - a map rotation using
add_map_to_automated_battle_poolfor each map andenable_automated_battle_switching, - polls using
AllowPollsToKickPlayersorAllowPollsToChangeMaps, - 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.
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.
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.
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.
- 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_missionor 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
.rarand.7zarchives, but it can’t extract them. - It can’t open additional ports.
- “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.”
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.
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! 🙂
