PLEASE DONATE BY CLICKING HERE:
HOW TO SET UP A DEDICATED SERVER:
Download server files (v0.3d)
Introduction
So, I guess you've heard about the new thing released by us (alterIWnet) that brings the most-requested missing feature in MW2 to, well, MW2? It took quite a lot of researching, and some say it may be late, but anyway, it's finally here.
As you're reading this guide, I guess you're interested in setting up one of those, what do you call it, 'dedicated servers'? Even though most of the process is similar to previous titles in the Call of Duty series, there are some specific things that differ, and obviously having a guide is better than having none.
Introduction
So, I guess you've heard about the new thing released by us (alterIWnet) that brings the most-requested missing feature in MW2 to, well, MW2? It took quite a lot of researching, and some say it may be late, but anyway, it's finally here.
As you're reading this guide, I guess you're interested in setting up one of those, what do you call it, 'dedicated servers'? Even though most of the process is similar to previous titles in the Call of Duty series, there are some specific things that differ, and obviously having a guide is better than having none.
The guide
- Firstly, you need to have the usual alterIWnet client files installed on a MW2 installation. If you're using a dedicated server (or VPS) hosted somewhere, you can also ZIP and upload the usual alterIWnet installation you play with. Note that you will not be able to play with the dedicated server at all.

- Now, extract and overwrite the files from the dedicated server package to your MW2 installation on the system you're planning to run the dedicated server on.
As I forgot to pack it in with the package, make a copy of your iw4mp.dat and name it iw4.exe.(fixed)
Also, optionally, download content/nulliwd.7z (contains empty IWD files, make sure you don't accidentally your originals!)- Make a server configuration file (see the chapter 'Configuration file' for more information). You can skip this step, but it's a lot easier to maintain the server with a configuration file.

- On Windows, you can make a shortcut to run the server by hand -- to do this, make a shortcut to 'iw4.exe', open the properties for it, and add the launch options (see the 'Launching' chapter) to the 'Target' input field. For other systems or methods of launching, see the 'Launching' chapter as well.
- Run the server using the method you chose for launching it.
- To see if everything works correctly, run the alterIWnet client (make sure that, if on the same computer, the server is not using port 28960) and, in the console, use 'connect [IP]:28960', replacing 28960 with the specific port for the server. Also, 127.0.0.1 won't work locally, so use the IP assigned to your network card
Configuration file
Create a text file in any directory on the search path (either 'main' or 'players', it depends on which you like) with a name like 'server.cfg' (note how later parts of the guide will refer to this name). Most of the commands you use are similar to CoD4, and you can use most of the guides for CoD4 configuration files for the alterIWnet MW2 server.
A template configuration file is shown below:
Create a text file in any directory on the search path (either 'main' or 'players', it depends on which you like) with a name like 'server.cfg' (note how later parts of the guide will refer to this name). Most of the commands you use are similar to CoD4, and you can use most of the guides for CoD4 configuration files for the alterIWnet MW2 server.
A template configuration file is shown below:
// --- QUERY INFORMATION --------------------------------
set sv_hostname "alter^4IW^7net ^2DEDICATED SERVER^7 - I AM LAZY"
// optional settings returned by query, server listings may use this
sets _Admin "NTAuthority"
sets _Email "ntauthority@example.com"
sets _Website "http://alteriw.net/"
sets _Location "EU - West"
// --- NON-GAMEPLAY CONFIGURATION -----------------------
set rcon_password "" // password for rcon, empty = disabled
set privateMatch_serverPassword "" // game password, leave empty for a public game
set sv_maxPing "300" // maximum ping, any higher and players will get kicked
set g_inactivity "0" // time in seconds before a player gets kicked if not moving
set g_inactivitySpectator "0" // time in seconds before a spectator gets kicked
set g_logSync "1" // 1 = always flush games_mp.log, 0 = only flush on game end
set g_log "games_mp.log" // game log file
set aiw_sayName "^7Console" // name server-side 'say' commands show up as
// --- BASE GAME CONFIGURATION --------------------------
set g_gametype "war" // game type
// war - Team Deathmatch
// dm - Free-for-all
// dom - Domination
// koth - Headquarters
// sab - Sabotage
// sd - Search and Destroy
// arena - Arena
// dd - Demolition
// ctf - Capture the Flag
// oneflag - One-Flag CTF
// gtnw - Global Thermo-Nuclear War
// uncomment below commands for some hardcore shit
//set g_hardcore "1"
//set ui_hud_hardcore "1"
//set scr_hardcore "1"
//set scr_player_maxhealth "30"
//set scr_team_fftype "1" // 1 = on, 2 = reflect, 3 = shared
//set scr_player_healthregentime "0"
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // killstreaks, 1 = on
set scr_game_perks "1" // perks, obviously
set scr_game_allowkillcam "1" // 1 = allow, 0 = disallow
set scr_diehard "0" // die-hard mode
set scr_teambalance "1" // player difference for game to consider 'unbalanced'
set scr_game_spectatetype "2" // by request?
// --- GAMETYPE CONFIGURATION ---------------------------
// - Team Deathmatch
set scr_war_scorelimit "10000"
set scr_war_timelimit "15" // timelimit, in minutes
set scr_war_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_war_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_war_numlives "0" // number of lives
set scr_war_promode "0" // unknown
set scr_war_roundlimit "1" // maximum amount of rounds
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
// - Domination
set scr_dom_scorelimit "200"
set scr_dom_timelimit "15" // timelimit, in minutes
set scr_dom_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_dom_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_dom_numlives "0" // number of lives
set scr_dom_promode "0" // unknown
set scr_dom_roundlimit "1" // maximum amount of rounds
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
// - FFA
set scr_dm_scorelimit "10000"
set scr_dm_timelimit "15" // timelimit, in minutes
set scr_dm_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_dm_numlives "0" // number of lives
set scr_dm_promode "0" // unknown
// - Search and Destroy
set scr_sd_scorelimit "1"
set scr_sd_timelimit "2.5" // timelimit, in minutes
set scr_sd_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_sd_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_sd_numlives "1" // number of lives
set scr_sd_promode "0" // unknown
set scr_sd_roundlimit "0" // maximum amount of rounds, 0 is 'until someone wins'
set scr_sd_winlimit "6" // amount of wins needed to win a round-based game
set scr_sd_roundswitch "4" // after X rounds, switch sides?
set scr_sd_bombtimer "45"
set scr_sd_defusetime "5"
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'?
set scr_sd_planttime "5"
// ... other gametypes might be easy to figure out, or come in a future update of the template ...
// --- AUTOMATED ROTATION -------------------------------
set sv_mapRotation "gametype war map mp_afghan gametype war map mp_boneyard gametype war map mp_brecourt
set sv_hostname "alter^4IW^7net ^2DEDICATED SERVER^7 - I AM LAZY"
// optional settings returned by query, server listings may use this
sets _Admin "NTAuthority"
sets _Email "ntauthority@example.com"
sets _Website "http://alteriw.net/"
sets _Location "EU - West"
// --- NON-GAMEPLAY CONFIGURATION -----------------------
set rcon_password "" // password for rcon, empty = disabled
set privateMatch_serverPassword "" // game password, leave empty for a public game
set sv_maxPing "300" // maximum ping, any higher and players will get kicked
set g_inactivity "0" // time in seconds before a player gets kicked if not moving
set g_inactivitySpectator "0" // time in seconds before a spectator gets kicked
set g_logSync "1" // 1 = always flush games_mp.log, 0 = only flush on game end
set g_log "games_mp.log" // game log file
set aiw_sayName "^7Console" // name server-side 'say' commands show up as
// --- BASE GAME CONFIGURATION --------------------------
set g_gametype "war" // game type
// war - Team Deathmatch
// dm - Free-for-all
// dom - Domination
// koth - Headquarters
// sab - Sabotage
// sd - Search and Destroy
// arena - Arena
// dd - Demolition
// ctf - Capture the Flag
// oneflag - One-Flag CTF
// gtnw - Global Thermo-Nuclear War
// uncomment below commands for some hardcore shit
//set g_hardcore "1"
//set ui_hud_hardcore "1"
//set scr_hardcore "1"
//set scr_player_maxhealth "30"
//set scr_team_fftype "1" // 1 = on, 2 = reflect, 3 = shared
//set scr_player_healthregentime "0"
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // killstreaks, 1 = on
set scr_game_perks "1" // perks, obviously
set scr_game_allowkillcam "1" // 1 = allow, 0 = disallow
set scr_diehard "0" // die-hard mode
set scr_teambalance "1" // player difference for game to consider 'unbalanced'
set scr_game_spectatetype "2" // by request?
// --- GAMETYPE CONFIGURATION ---------------------------
// - Team Deathmatch
set scr_war_scorelimit "10000"
set scr_war_timelimit "15" // timelimit, in minutes
set scr_war_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_war_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_war_numlives "0" // number of lives
set scr_war_promode "0" // unknown
set scr_war_roundlimit "1" // maximum amount of rounds
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
// - Domination
set scr_dom_scorelimit "200"
set scr_dom_timelimit "15" // timelimit, in minutes
set scr_dom_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_dom_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_dom_numlives "0" // number of lives
set scr_dom_promode "0" // unknown
set scr_dom_roundlimit "1" // maximum amount of rounds
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
// - FFA
set scr_dm_scorelimit "10000"
set scr_dm_timelimit "15" // timelimit, in minutes
set scr_dm_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_dm_numlives "0" // number of lives
set scr_dm_promode "0" // unknown
// - Search and Destroy
set scr_sd_scorelimit "1"
set scr_sd_timelimit "2.5" // timelimit, in minutes
set scr_sd_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_sd_waverespawndelay "0" // wave spawning, might be more 'tactical'
set scr_sd_numlives "1" // number of lives
set scr_sd_promode "0" // unknown
set scr_sd_roundlimit "0" // maximum amount of rounds, 0 is 'until someone wins'
set scr_sd_winlimit "6" // amount of wins needed to win a round-based game
set scr_sd_roundswitch "4" // after X rounds, switch sides?
set scr_sd_bombtimer "45"
set scr_sd_defusetime "5"
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'?
set scr_sd_planttime "5"
// ... other gametypes might be easy to figure out, or come in a future update of the template ...
// --- AUTOMATED ROTATION -------------------------------
set sv_mapRotation "gametype war map mp_afghan gametype war map mp_boneyard gametype war map mp_brecourt
gametype war map mp_checkpoint gametype war map mp_derail gametype war map mp_estate gametype war map mp_favela
gametype war map mp_invasion gametype war map mp_nightshift gametype war map mp_quarry gametype war map mp_rundown
gametype war map mp_subbase gametype war map mp_terminal gametype war map mp_underpass gametype dom map mp_afghan"
Launching
Windows (GUI):
Add launch parameters to the shortcut, so that it looks like this:
iw4.exe +set party_maxplayers 18 +set net_port 28960 +exec server.cfg +map mp_rust +map_rotate
Windows (CLI):
Make a batch file containing something like this:
Windows (GUI):
Add launch parameters to the shortcut, so that it looks like this:
iw4.exe +set party_maxplayers 18 +set net_port 28960 +exec server.cfg +map mp_rust +map_rotate
Windows (CLI):
Make a batch file containing something like this:
- CODE: SELECT ALL
@echo off
cd "T:\Games\CoD6"
iw4.exe +set party_maxplayers 18 +set net_port 28960 +exec server.cfg +map mp_rust +map_rotate