Actions

Server.cfg: Difference between revisions

From Mike Beane's Blog

(New page: <pre> // Set the Host Name hostname "FoCA|Pizza & Beer CS1.6 w/FF" // Set the rcon password rcon_password "somepassword" // Set the password to enter the server sv_password "" // Exec...)
 
mNo edit summary
 
Line 1: Line 1:
In an exchange that I've since misplaced over a few years (5 now?) ago, I confirmed via Valve's Alfred Reynolds that the '''log on''' command to initiate logging should be executed from the '''autoexec.cfg''' file at server boot and not each round from the '''server.cfg''' file.  If you're getting two log files per map (one with the cvar listings and the other with the action), this is why.
<pre>
<pre>
// Set the Host Name
// Set the Host Name

Latest revision as of 10:45, 24 August 2008

In an exchange that I've since misplaced over a few years (5 now?) ago, I confirmed via Valve's Alfred Reynolds that the log on command to initiate logging should be executed from the autoexec.cfg file at server boot and not each round from the server.cfg file. If you're getting two log files per map (one with the cvar listings and the other with the action), this is why.

// Set the Host Name
hostname "FoCA|Pizza & Beer CS1.6 w/FF" 

// Set the rcon password 
rcon_password "somepassword"

// Set the password to enter the server
sv_password ""

// Exec files on startup 
exec banned.cfg
exec listip.cfg

// Logging
sv_logfile 1
sv_logecho 1
sv_logbans 1
mp_logdetail 3

// Server Variables
allow_spectators 0
decalfrequency 30
mp_timelimit 25
mp_autokick 1
mp_autoteambalance 1
mp_buytime		0.50
mp_c4timer 30
mp_falldamage 1
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 0
mp_freezetime 4
mp_friendlyfire 1
mp_hostagepenalty 2
mp_limitteams 2
mp_roundtime 3.5
mp_tkpunish 0
mp_winlimit 12
mp_startmoney 1201
mp_chattime 0
sv_allowupload 1
sv_alltalk 0
sv_restartround 0
sv_maxspeed 320
sv_send_logos		1
sv_send_resources	1
sv_proxies 1
sv_voiceenable 1

// cheat and fun modes
sv_aim 0
sv_cheats 0
pausable 0

// Set Rates
sv_maxrate 20000
sv_minrate 4000
sv_maxupdaterate 50
sv_minupdaterate 20

// Enable/Disable LAN mode
sv_lan 0

// Contact & Geo
sv_contact 204.14.244.92
sv_region 0