1
0
mirror of https://git.chasehall.net/Chase/COD-Cfgs.git synced 2025-06-07 21:17:53 -05:00
COD-Cfgs/IW4x/userraw/server.cfg
2020-08-12 11:00:32 -05:00

513 lines
27 KiB
INI

// IW4x Server Config
// By Chase (https://ChaseHall.net)
// <3 MW2 Community.
// Color Codes:
// ^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
// Sets the server hostname
set sv_hostname "^2IW4x ^7Defualt Server"
// Sets a custom motd which is shown on the intel message loadscreen when a player joins.
set sv_motd ""
// Optional Admin Information
// Your username.
set _Admin ""
// E-mail address.
set _Email ""
// Website (IW4MAdmin)
set _Website ""
// Location
set _Location "Earth"
// Optional Admin Information
// Access to your server to change stuff remotely or ingame. empty disabled
set rcon_password ""
// Configures the servers security level.
set sv_securityLevel "23"
// Allow downloading maps and mods from different server instead of the game server.
//set sv_wwwDownload "1"
// http-Redirect to usermaps & mods folder on a web server. https does NOT work!
//set sv_wwwBaseUrl "http://domain.tld"
// Enables bouncing on the server.
set sv_enableBounces "0"
// Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_password ""
// Enable auto kick feature for idle/AFK players
set g_inactivity "300"
// Time in seconds before a spectator gets kicked
set g_inactivitySpectator "0"
// Don't touch.
set logfile "2"
set g_logSync "1"
// Don't touch.
// IF YOU HAVE MULTIPLE SERVERS, MAKE SURE THIS IS UNIQUE.
set g_log "logs/games_mp.log"
// IF YOU HAVE MULTIPLE SERVERS, MAKE SURE THIS IS UNIQUE.
// Enable or Disable players ability to access server commands
set sv_allowClientConsole "1"
// Max players in your server. (Make sure both match)
set sv_maxclients "18"
set party_maxplayers "18"
// Max players in your server. (Make sure both match)
// Don't touch this. If you need Ping Limiting, use IW4MAdmin with the Ping Limit plugin.
set sv_maxPing "0"
// Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_timeout "20"
// How many times you can try to reconnect
set sv_reconnectlimit "4"
// Removes ~95% of unneeded lines from the log.
set com_logFilter "1"
// Don't touch unless you know what you're doing.
set sv_pure "0"
// What IW4MAdmin/B3 uses as a prefix for it's messages.
set sv_sayName "^7Console"
// Chat Spam Protection
set sv_floodProtect "1"
// Kick Ban Duration. Time before player can re-join the server after getting kicked.
set sv_kickBanTime "99999"
// Lobby Mode Server. (Leave at 0 unless you know what you're doing.)
set set party_enable "0"
//////////////////////////////////////////////////
// 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" // Defualt 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 relieve 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.
//////////////////////////////////////////////////
// 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 which can be used both regular and HC
// 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 "-1" // 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 "8500" // 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 "-1" // 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 //
// //
// //
/// 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. //
// //
////////////////////////////////////////////////////////////////////////
set sv_maprotation "map mp_highrise map mp_terminal"