Guide · Hosting
How to host a Mount & Blade: Warband dedicated server
TaleWorlds still offers the official Warband dedicated server as a free download. With a config file, one command and two open ports you have a public server on Windows or Linux. This guide covers a plain server first, then how to turn it into a ranked room that counts for a global ELO.
What you need
- The official dedicated server, version 1.174: mb_warband_dedicated_1174.zip from TaleWorlds. Hosting it does not need a game key; players join with their own copy of Warband.
- A PC or server running Windows, or Linux with Wine (the server is a Windows program).
- Port 7240 open for UDP and TCP in your router and firewall. The Steam version of the server also uses a second port, 7241 by default in our config.
A plain server in four steps
- Download and extract the zip. Inside you will find
mb_warband_dedicated.exe, areadme.txtwith every command, and sample configs such asSample_Battle.txtandSample_Duel.txt. - Copy a sample to a new file, for example
my_server.txt, and set at least the server name, the admin password and the map list. - Start the server with your file and the module to load (Native by default):
mb_warband_dedicated.exe -r my_server.txt -m Native # Linux wine mb_warband_dedicated.exe -r my_server.txt -m Native - Open port 7240 (UDP and TCP) to that machine, then look for your server name in the in-game server list.
Example config file
# my_server.txt (based on TaleWorlds' Sample_Battle.txt)
set_server_name My Warband Server
set_pass_admin CHANGE_THIS_PASSWORD
set_welcome_message Welcome!
set_add_to_game_servers_list 1
set_mission multiplayer_bt
set_max_players 32 32
set_map multi_scene_1
add_map multi_scene_2
add_map multi_scene_4
add_factions fac_kingdom_1 fac_kingdom_1
add_factions fac_kingdom_4 fac_kingdom_4
set_randomize_factions 1
set_team_point_limit 10
set_upload_limit 100000000
set_port 7240
set_steam_port 7241
set_server_log_folder Logs
set_server_ban_list_file Logs\ban_list.txt
start
Lines starting with # are comments. The file ends with start, which launches the mission.
The commands that matter
| Command | What it does |
|---|---|
set_server_name | Name shown in the server list. |
set_pass_admin / set_pass | Admin password; optional password to join. |
set_mission | Game mode (see the table below). |
set_map / add_map | First map and the rest of the rotation. |
add_factions / set_randomize_factions | Faction pool for both teams and whether to randomize it. |
set_max_players | Player limit (normal and private slots). |
set_team_point_limit | Rounds or points needed to win. |
set_port / set_steam_port | Connection ports. Every server on the same machine needs its own. |
set_server_log_folder / set_server_ban_list_file | Separate logs and ban lists when several servers share a folder. |
set_add_to_game_servers_list | Whether the server appears in the public list. |
Game mode IDs
| Mode | ID |
|---|---|
| Battle | multiplayer_bt |
| Deathmatch | multiplayer_dm |
| Team Deathmatch | multiplayer_tdm |
| Duel | multiplayer_duel |
| Siege | multiplayer_sg |
| Capture the Flag | multiplayer_cf |
| Conquest | multiplayer_hq |
| Fight and Destroy | multiplayer_fd |
| Invasion | multiplayer_ccoop |
From the official sample configs.
Several servers on one machine
Give each server its own set_port and set_steam_port (for example 7240/7241 and 7250/7251), and its own log folder and ban list. The official readme marks those two settings as necessary for servers sharing a folder.
Common problems
| Symptom | Usual cause |
|---|---|
| Nobody can join | Port 7240 is closed in the router or firewall, or forwarded to the wrong machine. |
| The server is not in the list | Check set_add_to_game_servers_list 1 and that the server started (read the log folder). |
| A second server fails to start | It is using the same port as the first. Change set_port and set_steam_port. |
Make it a ranked room
A plain server has no memory: when it shuts down, nobody remembers who won. Warband Premier is a community network where anyone hosts a room with our kit and every room feeds one global ELO, so your matches count everywhere.
The kit downloads the same official server (v1.174, checked by SHA-256), applies the Warband Premier overlay (a modified Native module and custom maps, about 12 MB, also hash-checked) and adds an agent that receives each match from the network: map, factions and teams. It does not redistribute TaleWorlds files.
- Create your room on the website and copy its configuration (it includes the room key, shown only once).
- Install:
install.ps1on Windows or./install.shon Linux. Both need Node.js 18 or newer; Linux also needs Wine. - Put the downloaded
sala.envin the kit folder. - Open port 7240 (UDP and TCP) and start with
start.bator./start.sh. Your room shows as online.
On Linux the module talks to the agent on local port 80. To allow it without root, once:
echo 'net.ipv4.ip_unprivileged_port_start=80' | sudo tee /etc/sysctl.d/90-wbp-relay.conf && sudo sysctl --system
Rules: every match counts for the global ranking. The network checks each match while it is played (event order, scores, round length, connected players). A match that breaks the rules is voided without ELO, and three voided matches in 24 hours suspend the room automatically. You are the admin of your room.
Questions
Is the Warband dedicated server free?
Yes. TaleWorlds offers the official dedicated server (version 1.174) as a free download. Players still need their own copy of the game.
What port does a Warband server use?
Port 7240 by default, for UDP and TCP. The Steam version also uses a Steam port, set with set_steam_port (7241 in the official sample). Each server on the same machine needs different ports.
Can I host a Warband server on Linux?
Yes, with Wine: run wine mb_warband_dedicated.exe -r your_config.txt -m Native. The Warband Premier kit includes a Linux installer.
How do I change the game mode?
With set_mission in the config file: multiplayer_bt for Battle, multiplayer_duel for Duel, multiplayer_sg for Siege, and so on.
How do I make my server ranked?
Host it as a Warband Premier room with the kit: every match played there counts for one global ELO shared by all rooms.
Want your matches to count? Host a Warband Premier room and every match on your server feeds the global ranking. Room hosting opens with the network relaunch on 1 December 2026. You can create your account now.