//******************************************************************************
// Call of Duty 2 - eXtreme+ modification
//******************************************************************************
// author   : Astoroth and the eXtreme+ Support Crew
// email    : astoroth@gom.me.uk
// website  : http://www.mycallofduty.com
//
// mod      : eXtreme+
// version  : 2.3
// update   : November 2007
//******************************************************************************


//******************************************************************************
// 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 Information
//******************************************************************************
sets sv_hostname "^3e^1X^3treme^2+^7 v2.3"
sets _Admin "admin"
sets _Email "admin AT yoursite DOT com"
sets _Website "http://www.mycallofduty.com"
sets _Location "US"
sets _Irc ""
sets _Mod "^3e^1X^3treme^2+^7"
sets _ModVer "v2.3"
sets _ModUpdate "3Right Now"
sets _Maps "COD2 Stock & Custom"
set scr_motd "Shoot To Kill....Really!!"


//******************************************************************************
// Common Server Settings
//******************************************************************************
// 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 "games_mp.log"  // Name of log file, default is games_mp.log
set sv_log_damage "1"

// Network options
//set net_ip "1.2.3.4"         // Set your servers IP address
//set net_port "28960"         // Set your port number
set com_hunkMegs "512"
set net_noipx "1"              // Allow ONLY tcp/ip protocol, player/server communications

// Server Network Mode
set dedicated "2"              // 0 = Listen, 1 = LAN, 2 = Internet

// Master servers
set sv_master1 "cod2master.activision.com" 
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960" 
set sv_master5 "master0.gamespy.com" 
set sv_master6 "master1.gamespy.com" 
set sv_master7 "clanservers.net" 
set sv_gamespy "1" 

// Password Settings
set rcon_password "somepass"   // RCON must supply pw to use
set sv_privatePassword ""      // Private slots, non-public slots

// The following can be used to lock out the server so that only those
// players that have been provide the password can connect.  Good for
// matches, practices, etc.
set g_password ""

// Player slots setup
set sv_maxclients "40"         // MAX server player slots, this is TOTAL player slots
set sv_privateclients ""       // Number of private player slots, maxclients - privateclients = public 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

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.your_website.com/base_folder"
seta sv_wwwDlDisconnected "1"

// Rate 
set sv_maxRate "25000" 

// FPS
//set sv_fps "20"

// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"

// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"

// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"

// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"


//******************************************************************************
// Misc (more settings in scriptdata\serversettings.cfg)
//******************************************************************************
set sv_allowAnonymous "0"
set g_antilag "0"


//******************************************************************************
// Diagnostics (more settings in scriptdata\serversettings.cfg)
//******************************************************************************
// server devmode 0 - 2
//set developer "0"

// test bots (can crash the server on next map!)
//set scr_testclients "0"

// freeze the bots to the ground?, easier when testing!
//set scr_botfreeze "0"


//******************************************************************************
// Init & Exec CFG Files
//******************************************************************************
pb_sv_enable
wait
set scr_drm_cfg_1 "serversettings.cfg"
wait
set scr_drm_cfg_2 "redirect.cfg"
wait
set scr_drm_cfg_3 "clancontrol.cfg"
wait
set scr_drm_cfg_4 "security.cfg"
wait
set scr_drm_cfg_5 "wmdcontrol.cfg"
wait
set scr_drm_cfg_6 "healthcontrol.cfg"
wait
set scr_drm_cfg_7 "mapcontrol.cfg"
wait
set scr_drm_cfg_8 "monitoring.cfg"
wait
set scr_drm_cfg_9 "ambientfx.cfg"
wait
set scr_drm_cfg_10 "miscfeatures.cfg"
wait
set scr_drm_cfg_11 "playercontrol.cfg"
wait
set scr_drm_cfg_12 "weaponcontrol.cfg"
wait
set scr_drm_cfg_13 "ranksystem.cfg"
wait
set scr_drm_cfg_14 "gametypes.cfg"
wait
exec maprotation.cfg
