//
// Rotu 2.2.2 server.cfg
//

//******************************************************************************
// C O L O U R     C O D E S
//******************************************************************************
// 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
// ^8 = Grey
// ^9 = Maroon
// ^0 = Black


//
// Server Settings
//

// Info
sets sv_hostname "^1ZOMBIE ^5MOD ^4ROTU ^2v2.4"

// Does not grant any admin authority--see admin.cfg for that
sets _Admin "K-Faktor"
sets _Website "www.MirKey.ru"
sets _Location "RUS"
sets _Maps "fnrp/surv"
sets _Mod "Reign of the ^1Undead"
sets _ModVer "2.4"

//
// Network options.  If these are set in the command line, they aren't needed here,
// but if used, the must match the command line

// Master servers
set sv_master1 "cod4master.activision.com" 
set sv_master2 "cod4authorize.activision.com"
set sv_master3 "cod4master.infinityward.com"
set sv_master4 "cod4update.activision.com"
set sv_master5 "cod4master.iceops.in"
set sv_master6 "cod.iw4play.de"
set sv_master7 "master.gamespy.com:28960" 
set sv_master8 "master0.gamespy.com" 
set sv_master9 "master1.gamespy.com" 
set sv_master10 "clanservers.net" 
set sv_gamespy "1"

// Server type
/// 0 - Listen server, used with playMod.bat
/// 1 - LAN server, used with host.bat
/// 2 - Internet server, used with host.bat
set dedicated 2
set sv_authorizemode 0


// Server Provider
/// A semi-colon separated list of the server providers.  They will show up in the end-game
/// credits in the order listed.  Carat color codes are acceptable
/// Ex: "John Q. Public;Jane Doe;John Smith"
//  set server_provider ""

// Server Customizer
/// A semi-colon separated list of people to credit for helping you customize your
/// server, such as code changes, skins, etc.  They will show up in the end-game
/// credits in the order listed.  Carat color codes are acceptable
/// Ex: "John Q. Public;Jane Doe;John Smith"
//  set server_customizer ""

/// A clan-specific message to display on the main menu.  The text will be centered
/// within its box, and the text will auto-wrap.  Caret color codes may be used,
/// however, they will not wrap, i.e. if the text is blue at the end of one autowrapped
/// line, the text will revert to white at the beginning of the next line. You have
/// about 150 characters to work with, not counting caret color codes (it varies
/// because we don't have access to font metrics).
//  set server_main_menu_clan_text "Reign of the ^1Undead"

// Passwords
set rcon_password "zaa300373"            // Rcon pass.  Must be set!
set rcon_password_backup "zaa300373"     // Backup copy of rcon password (Required!)
set sv_privatePassword "mirkey"       // Private password, to access private slots
set sv_privateclients "2"    // Number of private player slots, maxclients - privateclients = public sl
set g_password ""               // Game password.  If set, players can't join without this password


// Player slots setup
//set sv_maxclients "50"      // MAX server player slots, this is TOTAL player slots
//set ui_maxclients "50"      // Same as max slots
set bot_count 30            // Initial bot count.  Total human players is sv_maxclients - bot_count

// Voice
set sv_voice "1"
set sv_voiceQuality "9"
set voice_deadChat "1"
set voice_global "1"
set voice_localEcho "0"
set winvoice_mic_mute "1"

// Download
set sv_allowDownload "1"
set sv_wwwDownload "1"
set sv_wwwDlDisconnected "0"
set sv_wwwBaseURL "http://mirkey.ru/cod4"

// Ping
set sv_minPing "0"      // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "0"    // MAX player ping on CONNECT, any higher and player isnt allowed to connect
set net_noipx "1"       // Allow ONLY tcp/ip protocol, player/server communications

// AntiFlood Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"
set g_no_script_spam "1"

// TEMPORARY BAN DURATION
set sv_kickBanTime "3600"

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

// Log Settings
set g_log "server_mp.log"
set g_logsync 2
set logfile 1
set sv_log_damage 1

// FPS
set sv_fps "20"

// Allow in-game voting?  Has no effect of end-game map voting.
set g_allowVote "0"
set scr_teambalance "0"

set sv_maxRate "25000"
set sv_maxRate 25000


// Additional Configuration Files
exec configs/game.cfg
exec configs/damage.cfg
exec configs/didyouknow.cfg
exec configs/admin.cfg
exec configs/mapvote.cfg
exec configs/weapons.cfg
exec configs/map.cfg