This page is still work in progress.
Advanced party server configuration¶
This is how you configure your server to run as a party server.
This part of the configuration has to be done in the server.cfg file
that your server is using. Please put your server configuration file in
players folder in your MW2 root directory.
General server configuration is required for general configuration options.
||“IW4x Server”||Sets the server hostname|
||23||0 - 256||Configures the servers security level|
||Sets a custom motd which is shown on the loadscreen when a player joins|
||Configures admin name|
||Configures admin email|
Non gameplay configuration¶
||“”||Configures password for rcon|
||“”||Configures password for gameserver|
||120||0 - 999||Enable auto kick feature for idle/AFK players|
||180||0 - 999||Time in seconds before a spectator gets kicked|
||1||0 - 1||1 = always flush games_mp.log, 0 = only flush on game end|
||logs/games_mp.log||Configures gamelog filename|
||1||0 - 1||Enable players ability to access server commands|
||0||0 - 999||Maximum ping allowed, any higher and players will get kicked|
||20||0 - 1800||Timeout time period|
||3||0 - 1800||How many times you can try to reconnect|
||0||0 - 1||Verifying client files|
||^7Console||Name server-side ‘say’ commands show up as|
||1||0 - 1||Chat Spam Protection|
||300||0 - 3600||Configures kick ban duration|
||1||0 - 1||Enable Chopper, AC130 and Nuke|
||0||0 - 1||Enable IW3 killstreak system|
||30||0 - 999||Change timer before server loads the next map|
Required mod configuration has to be done in this file as well.
The following configuration has to be done in your playlist. Do not edit
iw4x/playlist_default.info file directly as this file is
updated via the updater and will be resetted to defaults.
Instead put your playlist in the
players folder in your MW2 root
Playlists are limited to 32 Gametypes and 23 playlists. It is possible to create multiple seperate playlists. A single server can only run a single playlist at a time.
In playlists you can use the following parameters to configure your game server:
gametype <string>: Unique name for your configured gametype. Everything until the next gametype configures your gametype. Eg.:
name <string> "<string>": Configures a specific localized name for the gametype which is shown to the user. Eg.:
name english "Team Deathmatch"
script: Gametype the game actually loads. Eg.:
- More gametypes can be found here
teambased: Currently unknown
hardcore: Currently unknown
rule <string> <string>: Rule is used to customize dvars. Eg.:
rule scr_thirdperson 0
- For possible values you can check the options for your preferred gametype here
The first playlist in your file has to be
playlist 1. To start this
playlist on your server, you have to pass the parameter
+set playlist 0.
playlist <int>: Configures playlist
rule <string> <string>: Overwrites rules configured in your function.
<mapname>,<gametype>,<mapweight>: Configures your playlist. Put every map you want in your map rotation on a seperate line. The higher the mapweight the more likely this map will be picked. Eg.: