Mount and Blade Warband Dedicated Server Setup

Mount and Blade Warband Dedicated Server Setup

Warband Logo

Mount and Blade: Warband can run on both Windows and Linux server operatings systems.  Mount and blade:Warband hardware requirements are more depended on clock speed of your CPU then on the RAM of the server.  M&B:Warband is only program to use a single core of a processor which is why having a high clock speed is needed for the server.

Ports that need to be opened:

  • UDP 7240 (default but can be changed based on configuration file)

Step 1: Download the needed Mount and Blade Warband server files:  http://download2.taleworlds.com/mb_warband_dedicated_1158.zip

Step 2: Extract the zip file and move the files to any directory you want to store them (EX: c:\MBWDedicated\)

Step 3: Set a gamemode configuration and server settings  Check the Example config tab for an Idea on how to do this

Step 4: Open ports on your firewall for either the default port of 7240 or if you changed it in the config file open that instead.  Only UDP needs to be open.

Step 5: Start the server by click sample_gamemode_start.bat

The server files are meant for Windows Operating system but you can run them with a bit of work using ubuntu or other Debian based distros.  Interestingly enough statistics show that linux servers run better then windows and require less horsepower under the hood.

We Need to install a couple Preqs first:


sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install screen
sudo apt-get install wine1.6
sudo apt-get install winetricks
sudo apt-get install unzip

Step 2: Download the server files: http://www.taleworlds.com/main.aspx?dir=download.aspx?type=2


wget http://download2.taleworlds.com/mb_warband_dedicated_1158.zip

Step 3: Extract the file to a directory that you want (EX: /MBWDedicated/)


unzip mb_warband_dedicated_1158.zip

Step 4: Navigate to inside the folder

Step 5: All install operations are now complete.  Use the configuration tab to setup a dedicated gamemode type that you want.

Step 6: Start screen and the gamemode type that you want


screen
wineconsole --backend=curses mb_warband_dedicated.exe -r Sample_gamemode.txt

The server is now running inside the screen session that you created.  To exit the session using the keyboard code: control+a+d

To see what screen sessions are running use: screen -ls

To return to the screen session use screen -r “session-name”

Thats it!

Choose what kind of server you want to runBattle, Capture the Flag, Conquest, Seige, Deathmatch, Team Deathmatch, Duel and Commander Battle

Open the .txt file of the game mode of your choosing

Set the Admin password, Server name and Welcome message first:
set_pass_admin ADMINSUPERPASSWORD
set_server_name BESTSERVERNAME
set_welcome_message WELCOME MESSAGE

Set Max Players you want on your server (200 max for game)

set_max_players 15 15

Save the file and you are good to go!  Read the readme.txt file for more commands that you can use.

Coming Soon

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.