/////////////////////////////////////////////////// /// IW4x Server Configuration file // /////////////////////////////////////////////////// /////////////////////////////////////////////////// // SERVER NAME & COLORS TIPS // /////////////////////////////////////////////////// // // // ^1 Red // // ^2 Green // // ^3 yellow // // ^4 Blue // // ^5 Cyan // // ^6 Pink // // ^7 White // // ^8 Depends on the team colors playing. // // ^9 grey // // ^0 Black // // ^: Rainbow colors // // // /////////////////////////////////////////////////// set sv_hostname "^2IW4x^7 LAN Server" // Sets the server hostname set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. leave blank for defualt intel messages. ////////////////////////////////////////////////// // ADMIN INFO (Optional) // ////////////////////////////////////////////////// set _Admin "" // Your username. set _Email "" // E-mail address. you can leave blank set _Website "" // Website set _Location "Earth" // Location ////////////////////////////////////////////////// // Web Server Downloading (Optional) // ////////////////////////////////////////////////// //set sv_wwwDownload "1" // Allow downloading maps and mods from different server instead of the game server. //set sv_wwwBaseUrl "http://127.0.0.1/IW4x/" // http-Redirect to usermaps & mods folder on a web server. https does NOT work! ////////////////////////////////////////////////// // NON-GAMEPLAY CONFIGURATION // ////////////////////////////////////////////////// set dedicated 1 // True if this is a dedicated server. (0-2) Default is 0 (= listen server). 1 (= dedicated LAN server), 2 (= dedicated internet server). set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled set rcon_timeout "100" // Minimum allowed interval between rcon messages per IP address set sv_securityLevel "23" // Configures the servers security level. set sv_customTextColor "" // custom color for ^; set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out. set g_inactivity "0" // Enable auto kick feature for idle/AFK players set g_inactivitySpectator "0" // Time in seconds before a spectator gets kicked set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin. set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end set g_log "logs/localgame_mp.log" // Gamelog filename. set g_allowVote "0" // Enable voting on this server set sv_votesRequired "0" // Votes required for a vote to pass. Settings this to 0 will calculate the required votes based on the number of players (players / 2 + 1) set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands set sv_maxclients "18" // Max players in your server. set party_maxplayers "18" // ^^Same as above for some weird reason^^^ set sv_maxPing "0" // Maximum ping allowed during connection, any higher and players will get kicked. ( If you get 'server is for low ping players only' which happens to custom dlc, set this back to 0) set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions set sv_reconnectlimit "3" // How many times you can try to reconnect set com_logFilter "1" // Removes ~95% of unneeded lines from the log. set sv_pure "0" // verifying cilent files set sv_sayName "^7Console" // name server-side 'say' commands show up as set sv_floodProtect "0" // Chat Spam Protection set sv_kickBanTime "3600" // Kick Ban Duration. Time before player can re-join the server after getting kicked. set sv_randomBotNames "1" // Randomize the names. set sv_replaceBots "1" // Test clients will be replaced by connecting players when the server is full. set set party_enable "0" // Lobby Mode Server. Read the wiki more about this. If you want sv_maprotation & control your gametype settings. Leave this at 0. set sv_voice "1" // Allow Voice Chat (0 = Disable. 1 = Enabled (Teams only).) set sv_voicequality "9" // Voice Chat Quality. (0-9) Default is 3 (= Steam/Console quality). Use 9 for the best quality. set sv_allowAimAssist "1" // Enable Controller Aim-Assist. set sv_allowColoredNames "1" // Allow Colors in Player Names. set sv_randomMapRotation "0" // Randomize map rotation (takes maps and gamemodes from sv_maprotation and randomizes them). set sv_disableChat "0" // Disable chat messages from clients. ////////////////////////////////////////////////// // BASE GAME CONFIGURATION // ////////////////////////////////////////////////// // // // 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 // // // ////////////////////////////////////////////////// set g_gametype "war" // Default gametype in case map rotation doesn't have any gametypes. Choose a gametype from the list above. set scr_player_forcerespawn "1" // Players respawn automatically after being fragged set scr_thirdperson "0" // third-person mode set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters set scr_hardpoint_allowuav "1" // Allow UAV set scr_hardpoint_allowartillery "1" // Allow Airstrikes set scr_game_perks "1" // Allow players to have perks set scr_game_allowkillcam "1" // Allow Killcam. set scr_nukeTimer "10" // Timer when nuke goes off set scr_diehard "0" // die-hard mode. Teammates will have to revive each other. set scr_teambalance "1" // Enable or Disable auto balance. set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide. set scr_player_sprinttime "4" // Sprint time, duration a player can run. set scr_game_killstreakdelay "8" // Delay your killstreaks set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke set scr_classic "0" // Enable old-school COD4 killstreaks. UAV, Air Strike, Heli Only. set bg_elevators "1" // Elevator Glitch Settings (default: 1 (normal). 0 = off, 2 = easy). set bg_rocketJump "0" // Enable CoD4 Rocket Jumps. set bg_rocketJumpScale "64" // The scale applied to the pushback force of a rocket. set bg_climbAnything "0" // Treat any surface as a ladder. set bg_bounces "0" // Enable Bounces (default: 0 (disabled). 1 = enabled, 2 = double). set bg_bouncesAllAngles "0" // Enable Bounces from all angles (default: 0 (disabled). 1 = simple, 2 = all surfaces). set bg_disableLandingSlowdown "0" // Toggle landing slowdown. set bg_bunnyHopAuto "0" // Constantly jump when holding space. set bg_playerCollision "1" // Push intersecting players away from each other. set bg_playerEjection "1" // Push intersecting players away from each other. set bg_surfacePenetration "0" // Values greater than 0 override the surface penetration depth (ability to hit players through obstacles). set bg_bulletRange "8192" // Maximum Range used when calculating the bullet end position. set bg_lean "1" // Enable CoD4 leaning. ////////////////////////////////////////////////// // XP BOOST CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for XP config // // by removing the // before each set dvar. // // Change "war" gametype to your liking. // // // // DO NOT ABUSE! Some people like to rank. // // DON'T BE A DICK! Warn HIGH XP via hostname. // // Don't know what you doing? Don't touch it! // ////////////////////////////////////////////////// //set scr_xpscale "2" // IW's way of Double XP. //set scr_war_score_kill "0" // Amount of XP by each kill. //set scr_war_score_headshot "0" // Amount of XP by each headshot. //set scr_war_score_death "0" // Amount of XP by each death. //set scr_war_score_suicide "0" // Amount of XP by each suicide. //set scr_war_score_assist "0" // Amount of XP by each assist. ////////////////////////////////////////////////// // HARDCORE CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for some hardcore // // by removing the // before each set dvar. // ////////////////////////////////////////////////// // set g_hardcore "1" // Enable hardcore mode // set scr_hardcore "1" // Enable hardcore mode again... // set ui_hud_hardcore "1" // Removes heads up display in hardcore mode. // set scr_game_deathpointloss "0" // Points Loss on death XP. // set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots. // set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. (100 is normal. 30 is hardcore) // set scr_team_fftype "1" // Enable or Disable Friendly Fire. (1 on, 2 reflect, 3 shared) // set scr_player_healthregentime "0" // Time it takes you to recover damage. (5 is normal, 0 is hardcore) // set scr_team_kickteamkillers "5" // Anyone who team kills, gets kicked automatically if you enable this feature. // set scr_team_teamkillspawndelay "20" // Team Killer gets a respawn penalty of specified seconds (20). ////////////////////////////////////////////////// // AIRDROP CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for airdrop config // // by removing the // before each set dvar. // // // // Weight (1->1000) // // Selection is weighted random // // higher weights increase selection chance // ////////////////////////////////////////////////// // set scr_airdrop_ac130 "3" // set scr_airdrop_ammo "17" // set scr_airdrop_counter_uav "15" // set scr_airdrop_emp "1" // set scr_airdrop_harrier_airstrike "7" // set scr_airdrop_helicopter "7" // set scr_airdrop_helicopter_flares "5" // set scr_airdrop_helicopter_minigun "3" // set scr_airdrop_nuke "0" // set scr_airdrop_precision_airstrike "11" // set scr_airdrop_predator_missile "12" // set scr_airdrop_sentry "12" // set scr_airdrop_stealth_airstrike "5" // set scr_airdrop_uav "17" ////////////////////////////////////////////////// // EMERGENCY AIRDROP CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for airdrop config // // by removing the // before each set dvar. // // // // Weight (1->1000) // // Selection is weighted random // // higher weights increase selection chance // ////////////////////////////////////////////////// // set scr_airdrop_mega_ac130 "2" // set scr_airdrop_mega_ammo "12" // set scr_airdrop_mega_counter_uav "16" // set scr_airdrop_mega_emp "0" // set scr_airdrop_mega_harrier_airstrike "5" // set scr_airdrop_mega_helicopter "5" // set scr_airdrop_mega_helicopter_flares "3" // set scr_airdrop_mega_helicopter_minigun "2" // set scr_airdrop_mega_nuke "0" // set scr_airdrop_mega_precision_airstrike "10" // set scr_airdrop_mega_predator_missile "14" // set scr_airdrop_mega_sentry "16" // set scr_airdrop_mega_stealth_airstrike "3" // set scr_airdrop_mega_uav "12" ////////////////////////////////////////////////// // FREE FOR ALL GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_dm_scorelimit "1500" // Score limit to win the game. set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. set scr_dm_playerrespawndelay "0" // How long player will wait until respawn. set scr_dm_numlives "0" // Number of lives per player. 0 for unlimited. set scr_dm_roundlimit "1" // Rounds per game. set scr_dm_winlimit "1" // amount of wins needed to win a round-based game set scr_dm_promode "0" ////////////////////////////////////////////////// // TEAM DEATHMATCH GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_war_scorelimit "7500" // Score limit to win the game. set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. set scr_war_playerrespawndelay "0" // How long player will wait until respawn. set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round. set scr_war_numlives "0" // Number of lives per player 0 for unlimited. set scr_war_roundlimit "1" // Rounds per game. set scr_war_winlimit "1" // amount of wins needed to win a round-based game set scr_war_promode "0" ////////////////////////////////////////////////// // DOMINATION GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_dom_scorelimit "200" // Score limit to win the game. set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached. set scr_dom_playerrespawndelay "0" // How long player will wait until respawn. set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round. set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited. set scr_dom_roundlimit "1" // Rounds per game set scr_dom_winlimit "1" // amount of wins needed to win a round-based game set scr_dom_promode "0" ////////////////////////////////////////////////// // DEMOLITION GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_dd_scorelimit "1" // Score limit needed to win. set scr_dd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached. set scr_dd_playerrespawndelay "0" // How long player will wait until respawn. set scr_dd_waverespawndelay "0" // Duration is seconds before the first respawn in each round. set scr_dd_numlives "0" // Number of lives per player per game. 0 is unlimited. set scr_dd_roundswitch "1" // Rounds before the teams switch the sides. set scr_dd_bombtimer "45" // Time the bomb takes to detonate. set scr_dd_defusetime "5" // Time taken to defuse the bomb. set scr_dd_planttime "5" // Time it takes to plant a bomb in seconds. set scr_dd_roundlimit "3" // Rounds the game is limited to, if there are no winners. set scr_dd_promode "0" ////////////////////////////////////////////////// // SEARCH AND DESTROY GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_sd_scorelimit "1" // Score limit required to win the game. set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached. set scr_sd_playerrespawndelay "0" // How long player will wait until respawn. set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round. set scr_sd_numlives "1" // Number of lives per player per game. set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited. set scr_sd_winlimit "4" // amount of wins needed to win a round-based game. set scr_sd_roundswitch "3" // after X rounds, switch sides. set scr_sd_bombtimer "45" // Time taken for the bomb to detonate. set scr_sd_defusetime "5" // Time taken to defuse the bomb. set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'. set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'. set scr_sd_promode "0" ////////////////////////////////////////////////// // SABOTAGE GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_sab_scorelimit "0" // Score limit to win the match. set scr_sab_timelimit "20" // Duration in minutes for the game to end if the score limit isn't reached. set scr_sab_bombtimer "30" // Duration in seconds the bomb takes to detonate. set scr_sab_defusetime "5" // Time taken to defuse the bomb. set scr_sab_hotpotato "0" // One bomb that the teams must fight over. One defending and one have to plant at the site. set scr_sab_numlives "0" // Number of lives per player per game. set scr_sab_planttime "2.5" // Time taken to plant the bomb. set scr_sab_playerrespawndelay "7.5 // Time before respawn. set scr_sab_roundlimit "1" // Rounds per game. set scr_sab_roundswitch "1" // Rounds needed to be played before the teams switch sides. set scr_sab_waverespawndelay "0" // Time delay for first respawn before the game. set scr_sab_promode "0" ////////////////////////////////////////////////// // CAPTURE THE FLAG GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_ctf_scorelimit "0" // Target score before the round ends. set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited. set scr_ctf_halftime "1" // Half-Time set scr_ctf_roundlimit "1" // How many rounds match would last. set scr_ctf_returntime "30" // How many seconds before flag returns to base without nobody touching it. set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds. set scr_ctf_waverespawndelay "10" // Time delay for first respawn before the game. set scr_ctf_promode "0" ////////////////////////////////////////////////// // ONE FLAG GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_oneflag_scorelimit "1" // Target score before the round ends. set scr_oneflag_timelimit "3" // Duration in minutes for the game to end if the score limit isn't reached. set scr_oneflag_numlives "0" // number of lives per player 0 for unlimited. set scr_oneflag_playerrespawndelay "0" // Respawn wait in seconds. set scr_oneflag_roundlimit "1" // How many rounds match would last. set scr_oneflag_roundswitch "1" // Rounds before the teams switch sides. set scr_oneflag_waverespawndelay "0" // First respawn delay for each round. set scr_oneflag_promode "0" ////////////////////////////////////////////////// // HEADQUARTERS GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_koth_scorelimit "250" // Score limit to win the game. set scr_koth_timelimit "15" // Duration in minutes the game will continue if the score isn't reached. set scr_koth_numlives "0" // Number of lives per game. 0 for unlimited. set scr_koth_playerrespawndelay "0" // Players respawn wait. set scr_koth_roundlimit "1" // Rounds to be played. set scr_koth_roundswitch "1" // Rounds to be played before teams switch sides. set scr_koth_winlimit "1" // rounds per game set scr_koth_waverespawndelay "0" // First respawn delay for each round. set scr_koth_promode "0" ////////////////////////////////////////////////// // ARENA GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_arena_scorelimit "1" // Score limit to win the game. set scr_arena_timelimit "2.5" // Duration in minutes the game will continue if the score isn't reached. set scr_arena_numlives "1" // Number of lives per game 0 for unlimited. set scr_arena_roundlimit "0" // Rounds to be played. set scr_arena_roundswitch "3" // Rounds before the teams switch sides. set scr_arena_winlimit "4" // rounds per game set scr_arena_promode "0" ////////////////////////////////////////////////// // GLOBAL THERMONUCLEAR WAR GAMETYPE SETTINGS // ////////////////////////////////////////////////// set scr_gtnw_scorelimit "101" // Score limit to win the game. set scr_gtnw_timelimit "10" // Duration in minutes the game will continue if the score isn't reached. set scr_gtnw_numlives "0" // Number of lives per game 0 for unlimited. set scr_gtnw_playerrespawndelay "0" // Players respawn wait. set scr_gtnw_roundlimit "1" // Rounds to be played. set scr_gtnw_roundswitch "0" // Rounds before the teams switch sides. set scr_gtnw_winlimit "1" // rounds per game set scr_gtnw_waverespawndelay "0" // First respawn delay for each round. set scr_gtnw_promode "0" ////////////////////////////////////////////////// // MAP SHORT NAMES ROTATION LIST // ////////////////////////////////////////////////// // // // mp_afghan - Afghan // // mp_derail - Derail // // mp_estate - Estate // // mp_favela - Favela // // mp_highrise - Highrise // // mp_invasion - Invasion // // mp_checkpoint - Karachi // // mp_quarry - Quarry // // mp_rundown - Rundown // // mp_rust - Rust // // mp_boneyard - Scrapyard // // mp_nightshift - Skidrow // // mp_subbase - Sub Base // // mp_terminal - Terminal // // mp_underpass - Underpass // // mp_brecourt - Wasteland // // // //// DLC1 STIMULUS /////////////////////////////// // // // mp_complex - Bailout // // mp_crash - Crash // // mp_overgrown - Overgrown // // mp_compact - Salvage // // mp_storm - Storm // // // //// DLC2 RESURGENCE ///////////////////////////// // // // mp_abandon - Carnival // // mp_fuel2 - Fuel // // mp_strike - Strike // // mp_trailerpark - Trailer Park // // mp_vacant - Vacant // // // //// DLC3 NUKETOWN /////////////////////////////// // // // mp_nuked - Nuketown // // // /// DLC4 CLASSICS 1 ////////////////////////////// // // // mp_cross_fire - Crossfire // // mp_bloc - Bloc // // mp_cargoship - Cargoship // // // /// DLC5 CLASSICS 2 ////////////////////////////// // // // mp_killhouse - Killhouse // // mp_bog_sh - Bog // // // /// DLC6 FREIGHTER /////////////////////////////// // // // mp_cargoship_sh - Freighter // // // /// DLC7 RESURRECTION //////////////////////////// // // // mp_shipment - Shipment // // mp_shipment_long - Long:Shipment // // mp_rust_long - Long: Rust // // mp_firingrange - Firing Range // // // /// DLC8 RECYCLED //////////////////////////////// // // // mp_storm_spring - Chemical Plant // // mp_fav_tropical - Tropical: Favela // // mp_estate_tropical - Tropical: Estate // // mp_crash_tropical - Tropical: Crash // // mp_bloc_sh - Forgotten City // // // /// DLC9 CLASSICS 3 ////////////////////////////// // // // mp_backlot - Backlot // // mp_broadcast - Broadcast // // mp_carentan - Chinatown // // mp_citystreets - District // // mp_convoy - Ambush // // mp_countdown - Countdown // // mp_crash_snow - Winter Crash // // mp_farm - Downpour // // mp_pipeline - Pipeline // // mp_showdown - Showdown // // // /// DLC10 MW3 //////////////////////////////////// // // // mp_dome - Dome // // mp_hardhat - Hardhat // // mp_paris - Resistance // // mp_seatown - Seatown // // mp_bravo - Mission // // mp_underground - Underground // // mp_plaza2 - Arkaden // // mp_village - Village // // mp_alpha - Lockdown // // // /// SP MAPS to MP //////////////////////////////// // // // oilrig - Oilrig // // iw4_credits - Test map // // co_hunted - Village // // // // Example: // // sv_maprotation "map mp_rust map mp_nuked" // // // // Example 24/7 Map: // // sv_maprotation "map mp_highrise" // // // ////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// // GAMETYPE ROTATION LIST (OPTIONAL) // //////////////////////////////////////////////////////////////////////// // // // List of gametypes you can use on sv_maprotation to mix gametypes. // // or skip this if you plan on hosting 1 gametype only server. // // // // 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 // // // // Example for mix gametype & map rotation: // // sv_maprotation "gametype dm map mp_rust gametype sd map mp_crash" // // // // You can add additional maps to the certain gametype until it reach // // the next gametype command. // // // //////////////////////////////////////////////////////////////////////// addGametype war addMap mp_abandon addMap mp_afghan addMap mp_alpha addMap mp_backlot addMap mp_bloc addMap mp_bloc_sh addMap mp_bog_sh addMap mp_boneyard addMap mp_bravo addMap mp_brecourt addMap mp_broadcast addMap mp_carentan addMap mp_cargoship addMap mp_cargoship_sh addMap mp_checkpoint addMap mp_citystreets addMap mp_compact addMap mp_complex addMap mp_convoy addMap mp_countdown addMap mp_crash addMap mp_crash_snow addMap mp_crash_tropical addMap mp_cross_fire addMap mp_derail addMap mp_dome addMap mp_estate addMap mp_estate_tropical addMap mp_farm addMap mp_fav_tropical addMap mp_favela addMap mp_firingrange addMap mp_fuel2 addMap mp_hardhat addMap mp_highrise addMap mp_invasion addMap mp_killhouse addMap mp_nightshift addMap mp_nuked addMap mp_overgrown addMap mp_paris addMap mp_pipeline addMap mp_plaza2 addMap mp_quarry addMap mp_rundown addMap mp_rust addMap mp_rust_long addMap mp_seatown addMap mp_shipment addMap mp_shipment_long addMap mp_showdown addMap mp_storm addMap mp_storm_spring addMap mp_strike addMap mp_subbase addMap mp_terminal addMap mp_trailerpark addMap mp_underground addMap mp_underpass addMap mp_vacant addMap mp_village