-
Notifications
You must be signed in to change notification settings - Fork 16
Advanced match server configuration
Jawesome99 edited this page Jan 8, 2018
·
4 revisions
This is how you configure your server to run as a match server.
This is how you can configure your server to run as a match server. The configuration has to be done in the server.cfg file that your server is using.
General server configuration is required for general configuration options.
| parameter | default | valid | description |
|---|---|---|---|
set sv_hostname <string> |
“IW4x Server” | Sets the server hostname | |
set sv_securityLevel <int> |
23 | 0 - 256 | Configures the servers security level |
set sv_motd <string> |
Sets a custom motd which is shown on the loadscreen when a player joins | ||
sets _Admin <string> |
Configures admin name | ||
sets _Email <string> |
Configures admin email | ||
sets _Website <string> |
Configures website | ||
sets _Location <string> |
Configures location |
| parameter | default | valid | description |
|---|---|---|---|
set rcon_password <string> |
"" | Configures password for rcon | |
set g_password <string> |
"" | Configures password for gameserver | |
set g_inactivity <int> |
120 | 0 - 999 | Enable auto kick feature for idle/AFK players |
set g_inactivitySpectator <int> |
180 | 0 - 999 | Time in seconds before a spectator gets kicked |
set g_logSync <int> |
1 | 0 - 1 | 1 = always flush games_mp.log, 0 = only flush on game end |
set g_log <string> |
logs/games_mp.log | Configures gamelog filename | |
set sv_allowClientConsole <int> |
1 | 0 - 1 | Enable players ability to access server commands |
set sv_maxPing <int> |
0 | 0 - 999 | Maximum ping allowed, any higher and players will get kicked |
set sv_timeout <int> |
20 | 0 - 1800 | Timeout time period |
set sv_reconnectlimit <int> |
3 | 0 - 1800 | How many times you can try to reconnect |
set sv_pure <int> |
0 | 0 - 1 | Verifying client files |
set sv_sayName <string> |
^7Console | Name server-side ‘say’ commands show up as | |
set sv_floodProtect <int> |
1 | 0 - 1 | Chat Spam Protection |
set sv_kickBanTime <int> |
300 | 0 - 3600 | Configures kick ban duration |
set scr_game_objectiveStreaks <int> |
1 | 0 - 1 | Enable Chopper, AC130 and Nuke |
set scr_classic <int> |
0 | 0 - 1 | Enable IW3 killstreak system |
set scr_intermission_time <int> |
30 | 0 - 999 | Change timer before server loads the next map (currently broken) |
| parameter | default | valid | description |
|---|---|---|---|
set g_gametype <string> |
"war" | Choose a gametype from the list | |
set scr_player_forcerespawn <int> |
1 | 0 - 1 | Players respawn automatically after being fragged |
set scr_thirdperson <int> |
0 | 0 - 1 | Enable third-person mode |
set scr_game_hardpoints <int> |
1 | 0 - 1 | Enable Killstreak rewards |
set scr_hardpoint_allowhelicopter <int> |
1 | 0 - 1 | Allow Attack Helicopters |
set scr_hardpoint_allowuav <int> |
1 | 0 - 1 | Allow UAV |
set scr_hardpoint_allowartillery <int> |
1 | 0 - 1 | Allow Airstrikes |
set scr_game_perks <int> |
1 | 0 - 1 | Allow players to have perks |
set scr_game_allowkillcam <int> |
1 | 0 - 1 | Allow Killcam |
set scr_nukeTimer <int> |
10 | 0 - 999 | Timer when nuke goes off |
set scr_diehard <int> |
0 | 0 - 1 | Enable die-hard mode |
set scr_teambalance <int> |
1 | 0 - 1 | Enable auto balance |
set scr_game_spectatetype <int> |
2 | 0 - 2 | Allow Spectators. 0 = Disabled, 1 = Team/Player only, 2 = Free |
set scr_player_suicidespawndelay <int> |
0 | 0 - 999 | Wait before you respawn if you committed suicide |
set scr_player_sprinttime <int> |
4 | 0 - 999 | Sprint time, duration a player can run |
| parameter | default | valid | description |
|---|---|---|---|
set g_hardcore <int> |
1 | 0 - 1 | Enable Hardcore Mode |
set ui_hud_hardcore <int> |
1 | 0 - 1 | Enable heads up display |
set scr_hardcore <int> |
1 | 0 - 1 | Enable Hardcore Mode |
set scr_game_deathpointloss <int> |
0 | 0 - 1 | Enable point loss on death |
set scr_game_onlyheadshots <int> |
0 | 0 - 1 | Enable only headshots mode. You can only kill players by taking headshots. |
set scr_player_maxhealth <int> |
30 | 0 - 100 | Percent of health players will have on respawn |
set scr_team_fftype <int> |
1 | 0 - 3 | Enable Friendly Fire. 1 = on, 2 = reflect, 3 = shared |
set scr_player_healthregentime <int> |
5 | 0 - 999 | Time it takes to recover damage |
set scr_team_kickteamkillers <int> |
0 | 0 - 1 | Enable autokick for team kill |
set scr_team_teamkillspawndelay <int> |
20 | 0 - 999 | Configure respawn penalty for team kill |
Higher weights increase random selection chance.
| paramter | default | valid | description |
|---|---|---|---|
set scr_airdrop_ac130 <int> |
3 | 0 - 1000 | Configures drop chance for AC130 |
set scr_airdrop_ammo <int> |
17 | 0 - 1000 | Configures drop chance for ammo |
set scr_airdrop_counter_uav <int> |
15 | 0 - 1000 | Configures drop chance for Counter UAV |
set scr_airdrop_emp <int> |
1 | 0 - 1000 | Configures drop chance for EMP |
set scr_airdrop_harrier_airstrike <int> |
7 | 0 - 1000 | Configures drop chance for airstrike |
set scr_airdrop_helicopter <int> |
7 | 0 - 1000 | Configures drop chance for helicopter |
set scr_airdrop_helicopter_flares <int> |
5 | 0 - 1000 | Configures drop chance for helicopter flares |
set scr_airdrop_helicopter_minigun <int> |
3 | 0 - 1000 | Configures drop chance for helicopter minigun |
set scr_airdrop_nuke <int> |
0 | 0 - 1000 | Configures drop chance for nuke |
set scr_airdrop_precision_airstrike <int> |
11 | 0 - 1000 | Configures drop chance for precision airstrike |
set scr_airdrop_predator_missile <int> |
12 | 0 - 1000 | Configures drop chance for predator missile |
set scr_airdrop_sentry <int> |
12 | 0 - 1000 | Configures drop chance for sentry |
set scr_airdrop_stealth_airstrike <int> |
5 | 0 - 1000 | Configures drop chance for stealth bomber |
set scr_airdrop_uav <int> |
17 | 0 - 1000 | Configures drop chance for UAV |
Higher weights increase random selection chance.
| parameter | default | valid | description |
|---|---|---|---|
set scr_airdrop_mega_ac130 <int> |
2 | 0 - 1000 | Configures drop chance for AC130 |
set scr_airdrop_mega_ammo <int> |
12 | 0 - 1000 | Configures drop chance for ammo |
set scr_airdrop_mega_counter_uav <int> |
16 | 0 - 1000 | Configures drop chance for Counter UAV |
set scr_airdrop_mega_emp <int> |
0 | 0 - 1000 | Configures drop chance for EMP |
set scr_airdrop_mega_harrier_airstrike <int> |
5 | 0 - 1000 | Configures drop chance for airstrike |
set scr_airdrop_mega_helicopter <int> |
5 | 0 - 1000 | Configures drop chance for helicopter |
set scr_airdrop_mega_helicopter_flares <int> |
3 | 0 - 1000 | Configures drop chance for helicopter flares |
| `set scr_airdrop_mega_helicopter_minigun | 2 | 0 - 1000 | Configures drop chance for helicopter minigun |
set scr_airdrop_mega_nuke <int> |
0 | 0 - 1000 | Configures drop chance for nuke |
set scr_airdrop_mega_precision_airstrike <int> |
10 | 0 - 1000 | Configures drop chance for precision airstrike |
| `set scr_airdrop_mega_predator_missile | 14 | 0 - 1000 | Configures drop chance for predator missile |
set scr_airdrop_mega_sentry <int> |
16 | 0 - 1000 | Configures drop chance for sentry |
set scr_airdrop_mega_stealth_airstrike <int> |
3 | 0 - 1000 | Configures drop chance for stealth bomber |
set scr_airdrop_mega_uav <int> |
12 | 0 - 1000 | Configures drop chance for UAV |
| parameter | default | valid | description |
|---|---|---|---|
set scr_dm_scorelimit <int> |
1500 | 0 - 99999 | Score limit to win the game |
set scr_dm_timelimit <int> |
10 | 0 - 999 | Duration in minutes for the game to end if the score limit isn't reached |
set scr_dm_playerrespawndelay <int> |
0 | -1 - 999 | -1 is no respawn delay, 0 is automatic, > 0 is X seconds |
set scr_dm_numlives <int> |
0 | 0 - 999 | Number of lives per Player, 0 for unlimited |
set scr_dm_promode <int> |
0 | 0 - 1 | Extra bullet damage unconfirmed |
| parameter | default | valid | description |
|---|---|---|---|
set scr_dom_scorelimit <int> |
200 | 0 - 99999 | Configure score limit to win the game |
set scr_dom_timelimit <int> |
60 | 0 - 999 | Duration in minutes for the game to end if the score limit isn't reached |
set scr_dom_playerrespawndelay <int> |
-1 | -1 - 999 | -1 is no respawn delay, 0 is automatic, > 0 is X seconds |
set scr_dom_waverespawndelay <int> |
0 | 0 - 999 | Duration in seconds before the first respawn in each round |
set scr_dom_numlives <int> |
0 | 0 - 999 | Number of lives per Player, 0 for unlimited |
set scr_dom_roundlimit <int> |
1 | 0 - 999 | Rounds per game |
set scr_dom_winlimit <int> |
1 | 0 - 999 | Amount of wins needed to win a round-based game |
set scr_dom_promode <int> |
0 | 0 - 1 | Extra bullet damage unconfirmed |
Note: The information in this wiki may or may not be accurate. If you have more accurate information, feel free to request an edit.