How to Set Up a Mount & Blade II: Bannerlord Dedicated Server
Hardware Considerations
⚠️ If your system drops below 60 FPS, the server may kick you due to performance instability.⚠️
Prerequisites
Before beginning the setup, follow these steps:
- The Mount & Blade II: Dedicated Server tool from Steam
- Your start.bat file
- A tdm_config.txt file
- A server token (generated in-game)
-------------------------------------------------------------------------------------------------------
- Open Steam.
- In the top-left corner, click on the Library filter (defaults to “Games”) and select Tools.
- Search for Mount & Blade II: Dedicated Server and install it.
- Right-click the installed tool in your Steam Library
- Click Manage > Browse Local Files
-------------------------------------------------------------------------------------------------------
- Launch Mount & Blade II: Bannerlord.
- Press Alt + ~ to open the in-game console.
- Type: customserver.gettoken
- Your token will be saved to: Documents\Mount & Blade II Bannerlord\Tokens
Server Configuration
Place your tdm_config.txt file here.
Open the file and change the ServerName to something unique.
-------------------------------------------------------------------------------------------------------
Place your start.bat file here.
You’ll use this file to launch the server later.
⚠️ You can test the server now, but it likely won’t be visible to others without port forwarding ⚠️
-------------------------------------------------------------------------------------------------------
Port Forwarding Setup
- Your router’s IP address
- Your router login info (usually printed on the router)
- Your PC’s local IP address
- Press Windows + R, type cmd, and hit Enter.
- In the command prompt, type: ipconfig
- Look for the line: IPv4 Address. . . . . : 192.168.x.x
- Take note of this address.
- Open a web browser and type your router’s IP address in the address bar.
- If this doesn’t work, look for the “Default Gateway” from ipconfig — that’s your router’s IP.
- Log in using your router’s credentials (usually found beneath or behind router)
- Navigate to Port Forwarding, Virtual Server, Firewall, or NAT settings.
Note: Some routers use “Port Range” instead of External/Internal. If so, just enter the same value for both.
-------------------------------------------------------------------------------------------------------
Final Steps
- Save the port forwarding settings.
- Restart your router and PC.
- Launch the server using start.bat.
Your server should now be accessible to you and other players.
Check out TaleWorlds Documentation[moddocs.bannerlord.com] if you would like to change anything in the tdm_config.txt
This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.