//==== Call of Duty 4 Server Configuration File by Brutal Stuff ====//
// Color Codes
//******************************************************************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
//******************************************************************************
//==== Public Game Browser Info ====//
sets sv_hostname " [color=white]^0Name Of ^3Your ^8Server -use the color code from above[/color]"
sets _Admin "[color=white]Your-Name-Here[/color]"
sets _Email "[color=white]admin@you-email.com[/color]"
sets _Website "[color=white]
[You must be registered and logged in to see this link.]sets _Location ""
sets _Teamspeak ""
sets _Irc ""
sets _Clan ""
sets _Mod "ModWarfare"
sets _ModVer ""
sets _ModUpdate ""
sets _Maps "Stock/Custom"
//==== Server Network Settings ====//
set sv_maxRate "5000" // Data transfer rate between player and server (5000-25000)
set sv_floodProtect "1"
set g_smoothClients "1"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
//set sv_fps "20" // Not used, hardcoded into game.
//==== Message of the Day ====//
set scr_motd "[color=white]Welcome to our server!"
[/color]set g_motd "[color=white]Welcome to our server!"
[/color]
//==== Server Slots ====//
set sv_maxclients "" //Change to same amount in command line
set ui_maxclients "" //Change to same amount in command line
//==== Admin Rcon Password ====//
set rcon_password "[color=white]CHANGE-ME[/color]"
//==== Make Server Private ====//
set g_needpass "0" // Makes server private (0=no 1=yes)
set g_password "" // Password to join private server
//==== Private Slots - Subtracted From Maxclients ====//
set sv_privateClients "0" // Number of Private slots (Taken from server max clients)
set sv_privatePassword "" // Password for the private slots
//==== Ping ====//
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "350" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
set sv_reconnectlimit "3" // Max allowed reconnect attempts
//==== Log Settings ====//
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "server_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
//==== Anti Cheat Settings ====//
set sv_cheats "0" // Enable/Disable cheats (May be outdated)
set sv_pure "1" // Requires players files to match the server (1=on 0=off)
set sv_allowAnonymous "0" // Allows/Disallows anonymous players to join the server (1=yes 0=no)
[color=white]set sv_disableClientConsole "[color=red]0[/color]" // Disables players console to prevent issue of commands (1=yes 0=no)
[/color]set sv_kickBanTime "3600" // Time in seconds a temp banned player must wait to rejoin the server
set g_banIPs "" // Banned Ip's (May be outdated, cod4 uses banlist.txt file)
set g_no_script_spam "1"
set cl_autocmd "0"
//==== Drop inactive players ====//
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"
//==== HTTP Redirect/Downloads ====//
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.your-website.com/cod4"
seta sv_wwwDlDisconnected "0" //Leave this set to "0"
//==== In-game Voice Comms ====//
[color=white]set sv_voice "1" -If you want voice or not
[/color]set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
//==== Hardcore Settings ====//
//## Hardcore ON ##//
//------------------
//set scr_hardcore 1 // [0-1] 1=on/0=off
//set scr_team_fftype 1 // [0-3] (Disabled, Enabled, Reflect, Shared)
//set scr_player_maxhealth 30 // Health 0-100
//set scr_player_healthregentime 10 // Health regeneration in seconds
//set scr_player_respawndelay 10 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
//set scr_game_allowkillcam 0 // [0-1] 1=on/0=off
//set scr_game_forceuav 0 // [0-1] 1=on/0=off
//## Hardcore OFF ##//
//-------------------
set scr_hardcore 0
set scr_team_fftype 2 // [0-3] (Disabled, Enabled, Reflect, Shared)
set scr_player_maxhealth 100 // Health 0-100
set scr_player_healthregentime 5 // Health regeneration in seconds
set scr_player_respawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_game_allowkillcam 1 // [0-1] 1=on/0=off
set scr_game_forceuav 1 // [0-1] 1=on/0=off
//==== Oldschool Settings ====//
//## Oldschool ON ##//
//-------------------
//set scr_oldschool "1"
//set scr_player_maxhealth "200"
//## Oldschool OFF ##//
//--------------------
set scr_oldschool "0"
//==== Gameplay Settings ====//
set scr_game_spectatetype 1 // [0-2] (Disabled, Team/Players Only, Free)
set scr_game_onlyheadshots 0 // [0-1] 1=on/0=off
set scr_game_deathpointloss 0 // [0-1] 1=on/0=off
set scr_game_suicidepointloss 0 // [0-1] 1=on/0=off
//==== Hardpoints ====//
set scr_game_hardpoints 1 // [0-1] 1=on/0=off (artillery, uav, helicopter)
set scr_hardpoint_allowartillery 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowuav 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowhelicopter 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowsupply 1 // [0-1] 1=on/0=off
//==== Team Settings ====//
set scr_teambalance 1 // [0-1] 1=on/0=off
set scr_team_kickteamkillers 0 // [0-1] 1=yes/0=no
set scr_team_teamkillpointloss 1 // [0-1] 1=on/0=off
set scr_team_teamkillspawndelay 10 // Spawn delay in seconds after team killing
set scr_teamKillPunishCount 3
set scr_team_respawntime 4
//==== Player Settings ====//
set scr_player_forcerespawn 1 // [0-1] 1=yes/0=no
set scr_player_sprinttime 5 // Sprint time in seconds
set scr_player_suicidespawndelay 0 // Spawn delay in seconds after suicide
//==== Vote Settings ====//
set g_allowvote 0 // [0-1] 1=on/0=off Enable/Disable map voting
set g_voteAbstainWeight 0.5
//==== Hud/Environmental Stuff ====//
set ui_hud_obituaries 1 // [0-1] 1=on/0=off
set ui_hud_showobjicons 0 // [0-1] 1=on/0=off
set g_compassShowEnemies 0 // [0-1] 1=on/0=off
set scr_enable_music 0 // [0-1] 1=on/0=off
set scr_enable_nightvision 1 // [0-1] 1=on/0=off
set scr_enable_hiticon 1 // [0-1] 1=on/0=off
set scr_enable_scoretext 1 // [0-1] 1=on/0=off
//==== Misc Settings ====//
set g_antilag 1 // [0-1] 1=on/0=off
set g_speed 190
set g_gravity 800
exec playercontrol.cfg
wait
exec weapons.cfg
wait
exec gametypes.cfg