// Config made for the TS MOD ( official games related )  ...
// Some cvar are missing such as bots cvar ... they just werent usefull for me
// same for private slot ;)

//*** Administrator Info ***
sets Admin "Yournickname"				// TO EDIT
sets Email "youremail"					// TO EDIT


//*** Server Name and Daily Message ***
set  sv_hostname "YourServerHostName"			// TO EDIT
set  g_motd "Some server loading msg :)"		// TO EDIT
set sv_JoinMessage "On join msg ... something like GL & HF would do"	// TO EDIT


//*** General Game Settings ***
seta sv_maxclients "16"         			// max clients on your server
seta g_gametype "4"                                     // Someone Said BOMB ?
seta timelimit "20"					// 20 min ... your choice
seta fraglimit "0"					// whatever
seta capturelimit "0"
seta g_timeouts "3"                            		// max time out allowed
seta g_timeoutlength "120"              		// 2min for timeout lenght
seta g_matchmode "1"                       		// 0 = off, 1 = on - 0 for public servers
seta g_followstrict "1"                      		// followforced 1 + followenemy 0
seta g_pauselength "240"                      		// max pause time (4 min = default for CB cup) 999?
seta g_antiwarp "1"					// better that way ;)
seta g_antiwarpTol "50"					// perfect setting
set g_teamForceBalance "0"				// better this way
set g_precipAmount 256					// you can go up to 1024 ... 256 is enough too
set g_enablePrecip 2					// 0 / 1 / 2 :)
set g_suddendeath "0"


//*** Bot Setup ***
set bot_enable "0"      				// 0 = off, 1 = on


//*** Team Game Settings ***
seta g_friendlyFire "2"

// *** TS SETTINGS ***
set g_survivorRoundTime 4
set g_survivorrule 0 				   // the good old 2.3 way
set g_maxrounds 0
set g_swaproles 0						

//*** Referee Settings ***
seta g_referee "0"                            	   // referee ... yea right whatever

//*** Passwords ***
seta rconpassword "yourrcon" 		           // rcon pow pow
seta g_password "yourpassword"                     // put that line in comment to keep ya server public


//*** Warmup ***
seta g_doWarmup "0"
seta g_warmup "5"
seta g_respawnProtection "0"
seta g_respawnDelay "5"				  // not that it matter much for TS
seta g_initialWarmup "5"


//*** Server Settings ***
seta sv_pure "1"                            	 // you want it pure
seta g_allowvote "1"                         	 // usually allowvote sux, better be on your server from times to times
seta sv_allowdownload "0"                        // of course
seta gamename "Q3UT3"                            // DONT TOUCH THIS !!
seta sv_maxPing "0"                              // antilag pow pow
seta sv_minPing "0"                            	 // lol
seta sv_maxRate "10000"                          // 10000 is good ;) 12000 better if you can afford it
set logfile "1"                      		 // default filename should be games.log
seta g_inactivity "240"                          // Number of seconds before an inactive player is kicked.
seta sv_floodProtect "0"                         // TO EDIT :: PUBLIC = 1 // MATCH = 0
seta g_teamAutoJoin "0"                          // let em spec
seta g_allowChat "2"                             // 0 no chat - 1 team_say only - 2 everyone
seta sv_cheats "0"
set g_allowVote "0"				// might want to change this to 1 ... (check faq for more)
set sv_timeout "300"

//*** Logs ***
seta g_log "games.log"
seta logfile "2"				 //console log - 0=no log 1=buffered 2=continuous 3=append
seta g_logsync "0"


//*** Other Settings ***
//seta sv_strictAuth "1"                           // better buy the game
//pb_sv_guidrelax 7				   // remove the comments to allow unknw/dup to connect


//*** Master Servers ***
set sv_master1 "master3.idsoftware.com"          // By default the server will report to the Id Software master server.
set sv_master2 "master.urbanterror.net:27960"    // Use this to integrate with urbanterror.net applications
set sv_master3 "master0.gamespy.com:28900"       // Server reports to gamespy master server.
set sv_master4 "q3master.barrysworld.com:27950"

//*** Punkbuster ***
seta sv_punkbuster "1"
pb_sv_enable					 // PB ENABLE ROX


// Screenshot controls
// Beware - screenies use lots and lots of disk space.
// Best used only for match servers
//
PB_SV_AutoSs 0				// 1 turns on auto screenshots
PB_SV_AutoSsFrom 900			// number of seconds between screeny requests
PB_SV_SsCeiling	40			// highest numbered SS file before starting over from 1 again
PB_SV_SsPath ""				// path to dir to store screenies in


PB_SV_CQC 1				// Allow players to see what PB is checking for
PB_SV_KickLen 2				// timer for kicking non-compliant players before they can rejoin
PB_SV_MaxConDls 3			// max number of updates at one time
PB_SV_MaxDlRate 5			// controls rate things are downloaded from users
PB_SV_MsgPrefix "^3Punkbuster:		// Prefix for PB messages
PB_SV_AutoUpdBan 1			// auto-update banlist with new entries
PB_SV_BanLoad 				// load the banlist at startup
PB_SV_ExtChar 0				// Turn off alt-xxx keys (extended chars)
PB_SV_Specname GTV 			// put the name of any GTV connections here - prevents them from being bounced

// Punkbuster CVAR Checks

pb_sv_cvar cg_bobup in 0 0.5
pb_sv_cvar cg_bobpitch in 0 0.5
pb_sv_cvar cg_bobroll in 0 0.5
pb_sv_cvar cl_maxpackets in 30 42
pb_sv_cvar r_gamma in 0 3
pb_sv_cvar r_intensity in 1
pb_sv_cvar r_mapoverbrightbits in 0 2
pb_sv_cvar r_overbrightbits in 0 2
pb_sv_cvar r_picmip in 0 3
pb_sv_cvar rate in 3000 25000
pb_sv_cvar snaps in 20
pb_sv_cvar pmove_fixed in 0
pb_sv_cvar com_maxfps out 0.000001 29
pb_sv_cvar cl_packetdup in 0 3
pb_sv_cvar cl_pitchspeed out -50 50

// these are temporary checks until Even Balance includes the OGC bot stuff
// This will log people using OGC, whether they currently have it enabled or not.

pb_sv_cvar ogc_aim IN 0
pb_sv_cvar ogc_bunny IN 0
pb_sv_cvar ogc_bot IN 0
pb_sv_cvar ogc_fov IN 0
pb_sv_cvar ogc_glow IN 0
pb_sv_cvar ogc_ignorewalls IN 0
pb_sv_cvar ogc_mode IN 0
pb_sv_cvar ogc_names IN 0
pb_sv_cvar ogc_nofx IN 0
pb_sv_cvar ogc_pingpredict IN 0
pb_sv_cvar ogc_wall IN 0
pb_sv_cvar ogc_shoot IN 0
pb_sv_cvar ogc_trans IN 0
pb_sv_cvar ogc_weapons IN 0

// additional checks to catch OGC

pb_sv_cvar _aim IN 0
pb_sv_cvar _glow IN 0
pb_sv_cvar _ignorewalls IN 0
pb_sv_cvar _pingpredict IN 0
pb_sv_cvar _wall IN 0
pb_sv_cvar _weapons IN 0


pb_sv_task 300 600 "pb_sv_cvarsrch com_maxfps"	// checks for some of the lag cheats
pb_sv_task 600 600 "pb_sv_bindsrch com_maxfps"	// same
pb_sv_task 300 600 "pb_sv_cvarsrch _bunny" // checks for an OGC string
pb_sv_task 300 600 "pb_sv_cvarsrch _nofx" // check for an OGC string

// cvar check commands
// Controls how often cvars are polled
//

pb_sv_cvarlogging 1			// log cvar hits to regular server log file
pb_sv_cvarwalk 4
pb_sv_cvaruserpulse 15
pb_sv_cvarchangedpulse 15


//*** Map Cycle ***
seta g_mapCycle "mapcycle.txt"            // mapcycle
Map ut_casa                        	  // first map to be played DO NOT TOUCH


// Should help you building your server cfg
// have fun !
// ]$[ L0rD -- Roughryders for life

