Report article RSS Feed Full Invasion 2 Server Config For v0.119/ How to host a server

Here is the server config for Full Invasion 2, you will need it if you want to host server for the mod.

Posted by FI2_Dev_Tak on Jan 12th, 2013
Basic Server Side Coding.

 if you are having trouble; Read here:

In case you want to host a Full Invasion2 server at it's release, here's a config you can use for v0.116.

If you want to host a Battle server (Not Invasion), just use the normal native battle sample.txt. then replace the line to module - Full Invasion2

Full Invasion 2 v0119 Server Config

#WARNING: Make sure that you change the capital values with proper ones.
#uncomment the line below when you set a valid administrator password
set_pass_admin xxxxxx
#if you have premium members, set a password for them, otherwise delete/comment out the line below
#uncomment the line below when you set a valid private password
set_pass_private PRIVATEPASS
#uncomment the line below when you set a valid server name
set_server_name FI2_Server_v0119
#uncomment the line below when you set a valid welcome message
set_welcome_message You are in a v0119 server, get that now or crash! Welcome to our Full Invasion 2 server, if you want to support devs, please rate the mod on moddb. Work together and dont Teamkill.
#Steam must be running in order to use valve anti cheat
#Also you must use the Steam version of the dedicated server in order to use this option
set_enable_valve_anti_cheat 0
#setting Invasion (multiplayer_iv) mode
set_mission multiplayer_iv
#setting max players, first one is non-premium member limit, second one is premium member limit
set_max_players 200 200
set_num_bots_voteable 200
set_combat_speed 1
set_factions_voteable 1
set_force_default_armor 0
set_friendly_fire 0
set_friendly_fire_damage_friend_ratio 1
set_friendly_fire_damage_self_ratio 1
set_melee_friendly_fire_damage_friend_ratio 1
set_melee_friendly_fire_damage_self_ratio 1
set_kick_voteable 1
set_melee_friendly_fire 1
set_round_gold_bonus 300
set_starting_gold 1000
set_combat_gold_bonus 300
set_control_block_direction 2

set_map FuIn_invasion_1
add_map FuIn_invasion_2
add_map FuIn_invasion_3
add_map FuIn_invasion_4
add_map FuIn_invasion_5
add_map FuIn_invasion_6
add_map FuIn_invasion_7
add_map FuIn_invasion_8
add_map FuIn_invasion_9
add_map FuIn_invasion_10
add_map FuIn_invasion_11
add_map FuIn_invasion_12
add_map FuIn_invasion_13
add_map FuIn_invasion_14
add_map FuIn_invasion_15
add_map FuIn_invasion_16
add_map FuIn_invasion_17
add_map FuIn_invasion_18
add_map FuIn_invasion_19
add_map FuIn_invasion_20
add_map FuIn_invasion_21
add_map FuIn_invasion_22
add_map FuIn_invasion_23
add_map FuIn_invasion_24
add_map FuIn_invasion_25
add_map FuIn_invasion_26
add_map FuIn_invasion_27
add_map FuIn_invasion_28
add_map FuIn_invasion_29
add_map FuIn_invasion_30
add_map FuIn_invasion_31
add_map FuIn_invasion_32
add_map FuIn_invasion_33
add_map FuIn_invasion_34
add_map FuIn_invasion_35
add_map FuIn_invasion_36
add_map FuIn_invasion_37
add_map FuIn_invasion_38
add_map FuIn_invasion_39
add_map FuIn_invasion_40
add_map FuIn_invasion_41
add_map FuIn_invasion_42
add_map FuIn_invasion_43
add_map FuIn_invasion_44
add_map FuIn_invasion_45
add_map FuIn_invasion_46
add_map FuIn_invasion_47
add_map FuIn_invasion_48
add_map FuIn_invasion_49
add_map FuIn_invasion_50
add_map FuIn_invasion_51
add_map FuIn_invasion_52
add_map FuIn_invasion_53
add_map FuIn_invasion_54
add_map FuIn_invasion_55
add_map FuIn_invasion_56
add_map FuIn_invasion_57
add_map FuIn_invasion_58
add_map FuIn_invasion_59
add_map FuIn_invasion_60
add_map FuIn_invasion_61
add_map FuIn_invasion_62
add_map FuIn_invasion_63
add_map FuIn_invasion_64
add_map FuIn_invasion_79
add_map FuIn_invasion_80
add_map FuIn_invasion_81
add_map FuIn_invasion_82
add_map FuIn_invasion_83
add_map FuIn_invasion_84
add_map FuIn_invasion_85
add_map FuIn_invasion_86

add_factions 21 108
add_factions 21 114
add_factions 43 81
add_factions 43 114
add_factions 34 100
add_factions 34 104
add_factions 21 102
add_factions 21 81
add_factions 21 80

set_randomize_factions 0

#since default team point limit is 300, the line below is necessary for this mode
set_team_point_limit 1000
#if the bottleneck is your server's bandwidth, then make sure that you set a correct value for upload limit
set_upload_limit 1000000000
set_auto_team_balance_limit 10000
#if you are running more than one dedicated server on the same computer, you must give different ports to each of them
set_port 7240
#if you are running the Steam version of the dedicated server, this port must also be set, and same limitations of set_port apply for Steam port
set_steam_port 7241
set_server_log_folder Logs_FI2
set_server_ban_list_file Logs_FI2\ban_list.txt

Factions ID: (See those add factions xx xx? Those are the factions that will play when defenders lose and auto change)

for example, fac_kingdom_7 = 21, so if you set add_factions 21 108   that means when defender lose, map will auto change and will start with empire vs invaders (numb 108 = Invasion of Empire)

Factions ID- to find out what number is which, use factions.txt from inside Full Invasion 2 folder

fac_kingdom_1 = 15
fac_kingdom_2 = 16
fac_kingdom_3 = 17
fac_kingdom_4 = 18
fac_kingdom_5 = 19
fac_kingdom_6 = 20
fac_kingdom_7 = 21
fac_kingdom_8 = 22
fac_kingdom_9 = 23
fac_kingdom_10 = 24
fac_kingdom_11 = 25
fac_kingdom_12 = 26
fac_kingdom_13 = 27
fac_kingdom_14 = 28
fac_kingdom_15 = 29
fac_kingdom_16 = 30
fac_kingdom_17 = 31
fac_kingdom_18 = 32
fac_kingdom_19 = 33
fac_kingdom_20 = 34
fac_kingdom_21 = 35
fac_kingdom_22 = 36
fac_kingdom_23 = 37
fac_kingdom_24 = 38
fac_kingdom_25 = 39
fac_kingdom_26 = 40
fac_kingdom_27 = 41
fac_kingdom_28 = 42
fac_kingdom_29 = 43
fac_kingdom_30 = 44
fac_kingdom_31 = 45
fac_kingdom_32 = 46
fac_kingdom_33 = 47
fac_kingdom_34 = 48
fac_kingdom_35 = 49
fac_kingdom_36 = 50
fac_kingdom_37 = 51
fac_kingdom_38 = 52
fac_kingdom_39 = 53
fac_kingdom_40 = 54
fac_kingdom_41 = 55
fac_kingdom_42 = 56
fac_kingdom_43 = 57
fac_kingdom_44 = 58
fac_kingdom_45 = 59
fac_kingdom_46 = 60
fac_kingdom_47 = 61
fac_kingdom_48 = 62
fac_kingdom_49 = 63
fac_kingdom_50 = 64
fac_kingdom_51 = 65
fac_kingdom_52 = 66
fac_kingdom_53 = 67
fac_kingdom_54 = 68
fac_kingdom_55 = 69
fac_kingdom_56 = 70
fac_kingdom_57 = 71
fac_kingdom_58 = 72
fac_kingdom_59 = 73
fac_kingdom_60 = 74
fac_kingdom_61 = 75
fac_kingdom_62 = 76
fac_kingdom_63 = 77
fac_kingdom_64 = 78
fac_kingdom_65 = 79
fac_invaders1 = 80
fac_invaders2 = 81
fac_invaders3 = 82
fac_invaders4 = 83
fac_invaders5 = 84
fac_invaders6 = 85
fac_invaders7 = 86
fac_invaders8 = 87
fac_invaders9 = 88
fac_invaders10 = 89
fac_invaders11 = 90
fac_invaders12 = 91
fac_invaders13 = 92
fac_invaders14 = 93
fac_invaders15 = 94
fac_invaders16 = 95
fac_invaders17 = 96
fac_invaders18 = 97
fac_invaders19 = 98
fac_invaders20 = 99
fac_invaders21 = 100
fac_invaders22 = 101
fac_invaders23 = 102
fac_invaders24 = 103
fac_invaders25 = 104
fac_invaders26 = 105
fac_invaders27 = 106
fac_invaders28 = 107
fac_invaders29 = 108
fac_invaders30 = 109
fac_invaders31 = 110
fac_invaders32 = 111
fac_invaders33 = 112
fac_invaders34 = 113
fac_invaders35 = 114
fac_invaders36 = 115

For instructions how to set up a server read Vincenzo's server hosting guide:

First you need to download warband dedicated server files, then extract it and place it in a safe place, now open a .txt called battle.txt. Then copy all the codes from paste and replace it in that .txt. Press save. Now right click on Sample_Battle_Start.bat and press edit.

you will see something like this.
mb_warband_dedicated_steam.exe -r Sample_Battle.txt -m Native

Now change it to
mb_warband_dedicated_steam.exe -r Sample_Battle.txt -m Full Invasion2

Now, you need to copy Full Invasion 2 module onto your warband dedicated server module. Once its done, now

then double click the sample_battle.bat, let it load the mod resources then your server should show up on the list

if you want to change server settings, change the settings on the code

Post comment Comments
FI2_Dev_usnavy30 Jan 12 2013, 7:27pm says:

For Dedicated Server Hosters only and people who know how this stuff works ;)

+2 votes     reply to comment
Guest Jan 22 2013, 3:16pm replied:

Hi, I'm trying to host a server which is running Full Invasion2 mod. Actually it's working, but I don't know any console commands to change mod variables (I mean monsters' hp, attack dmg etc.) If you have any clue about this mod, please help me :(.
Thanks in advance.

Btw. Why Iron Legion doesn't running anymore, I miss that server :(

+3 votes     reply to comment
Glockman Jan 26 2013, 3:21pm replied:

That stuff is changed in the module system.

+3 votes     reply to comment
Glockman Jan 26 2013, 3:43pm says:

Please, update for the new version!

+3 votes     reply to comment
FI2_Dev_Tak Jan 27 2013, 3:27am replied:


+4 votes     reply to comment
Glockman Jan 27 2013, 12:55pm replied:


+3 votes     reply to comment
Glockman Jan 27 2013, 12:59pm says:

Im uploading a dedicated server of this in south america. Will be up as much as I can.

+3 votes     reply to comment
FI2_Dev_Tak Jan 27 2013, 1:41pm replied:

great, if you ran into any problem just ask and we are happy to help.

Make sure you got the latest server fix as well ^^

+4 votes     reply to comment
Gonzalord Apr 10 2013, 3:23am says:

Update to the lastest version PLEASE I BEG YOU!

+1 vote     reply to comment
FI2_Dev_Tak Apr 11 2013, 5:59am replied:


+2 votes     reply to comment
Guest Apr 19 2013, 9:23am says:

This comment is currently awaiting admin approval, join now to view.

FI2_Dev_Tak Apr 29 2013, 7:43am replied:

Choose random factions to start first, then once you are in the game, start a poll. Please learn to read guys.

+1 vote     reply to comment
Guest May 18 2013, 4:36pm says:

This comment is currently awaiting admin approval, join now to view.

clinci May 27 2013, 6:26pm says:

same problem. crashes and closes the command prompt when it reaches add_factions 15 78. what could be the problem

+2 votes     reply to comment
Hadzi92 May 28 2013, 12:20pm replied:

Same problem here. Has anyone found a solution yet?

+1 vote     reply to comment
FI2_Dev_Tak Jul 19 2013, 11:13am replied:

Sorry about that guys, i've been inactive for quite awhile, I updated the server config for v0.105, enjoy!

+1 vote     reply to comment
FI2_Dev_Tak Sep 16 2013, 4:28am says:

Updated to v0.115 server config

+1 vote     reply to comment
HARDGORE Sep 20 2013, 5:17am says:

mount&blade has stopped working

+1 vote     reply to comment
mr_mister Sep 21 2013, 8:08am says:

Thank you so much! :p I had in the bat file -m Full_Invasion2 and found out that it should have been -m Full Invasion 2. No wonder it kept always crashing! lol

+1 vote     reply to comment
FI2_Dev_Tak Oct 16 2013, 5:28am replied:

No problem

+1 vote     reply to comment
Guest Nov 5 2013, 6:13pm says:

This comment is currently awaiting admin approval, join now to view.

FI2_Dev_Tak Nov 6 2013, 11:58am replied:

You did it wrong. Max starting gold is 10000 btw

+1 vote     reply to comment
Guest Nov 6 2013, 4:20pm replied:

This comment is currently awaiting admin approval, join now to view.

Guest Feb 1 2014, 11:37pm says:

This comment is currently awaiting admin approval, join now to view.

Guest Feb 1 2014, 11:56pm replied:

This comment is currently awaiting admin approval, join now to view.

Ausbos1 Feb 15 2014, 9:24pm says:

Hello our legion is trying to make a server and my friend has followed your steps perfectly. The game just crashes if u need more details I'll ask him. Plz help us thx

+1 vote     reply to comment
Ausbos1 Feb 15 2014, 9:28pm replied:

Get back to me when ever u can thx

+1 vote     reply to comment
DairePineapple Apr 6 2014, 3:17pm says:

Please can you update? It says add_factions 73 88 then crashes!? Help please!

+1 vote     reply to comment
Kyle1812s Apr 6 2014, 10:48pm says:

I see everyone struggling with this and the Dev not helping so I shall share my knowledge gained through my 3 hours of thinking, experimenting and hard failures. What you need to do is follow his instructions exactly (I presume most have) then he forgot to add in there you need the Full Invasion2 MODULE. What I did was go into my warband folder (not server) and go into modules and copy the Full Invasion2 module. Then paste it in your SERVER modules folder. Then run the Battle.bat. Works fine for me now. I hope to see many new Full Invasion2 servers appearing. I'm Killermuffin on warband, hope to see you there!

+2 votes     reply to comment
DairePineapple Apr 8 2014, 4:54pm replied:

Thank you very much, you brilliant person!

+1 vote     reply to comment
Kyle1812s Apr 9 2014, 5:34pm replied:

Your welcome Pineapple man :)

+1 vote     reply to comment
FI2_Dev_Tak Jun 20 2014, 7:26pm replied:

Its not that im not helping. I been away for almost 6 months. I do not spent 24 hours sitting on the computer every single day, life is tough.

and yeah, i totally forgot about that. thanks for reminding me

+1 vote     reply to comment
FI2_Dev_Tak Jun 20 2014, 7:25pm says:

Updated to v0118

+1 vote     reply to comment
RealUnluckyNinja Jun 21 2014, 10:34am says:

May I ask a question, how to turn off autokick? My friends and I were playing in our own dedicated server. Sometimes we got crashed or accidently clicked on exit button, then we couldn't rejoin the server - we got kicked everytime. We can only join the server by restart it. Besides, the admin password doesn't work. Every time I use it to login my own server, I get kicked, even if I just restarted my server.

Thanks for your help.

+1 vote     reply to comment
RealUnluckyNinja Jun 21 2014, 10:52am replied:

I have googled it for a whole afternoon, hardly M&B related, and no exact the same problem found.

And one thing more, "auto_kick 0" command only outputs a "DEBUG: SYSTEM ERROR!".

+1 vote     reply to comment
FI2_Dev_Tak Jun 23 2014, 2:46pm replied:

I don't think we have ever implement a system of auto kick, seriously never have heard of that nor we have added any code relating to auto kick. make sure the computer that is used for hosting is not the one you use to play mnb or else you will get kicked.

I am not sure about this kick thing but good luck anyway

+1 vote     reply to comment
knightshadow5 Jul 7 2014, 10:07pm says:

when i clicked on the link it says page not found :(

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Report Abuse
Report article
Related Mods
Full Invasion 2 (Mount & Blade: Warband)
Full Invasion 2 Mount & Blade: Warband - Multiplayer & Co-op Fighting
Related Games
Mount & Blade: Warband
Mount & Blade: Warband Indie Single & Multiplayer Role Playing
Related Groups
Full Invasion 2 Team
Full Invasion 2 Team Developer with 29 members