GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: double0killa on March 18, 2009, 02:26:14 pm

Title: sample server.cfg file
Post by: double0killa on March 18, 2009, 02:26:14 pm
Hey, can someone who has a experience with servers post their server.cfg file for me. I just want to see what one should look like after its done and ready to go.
Title: Re: sample server.cfg file
Post by: mookie on March 18, 2009, 03:22:03 pm
Here is what I'd recommend to you, the only problem is that your valve.rc will probably get nubbed again the next time an update comes out. Obviously you'll want to change rcon_password, sv_contact, hostname, and sv_downloadurl.

valve.rc
Code: [Select]
exec autoexec.cfg

stuffcmds

autoexec.cfg
Code: [Select]
log 1
sv_allow_wait_command 0

exec banned_user.cfg
exec banned_ip.cfg

logaddress_delall

ge_gameplay deathmatch
ge_weaponset random
ge_startarmed 0
ge_paintball 0
ge_allowradar 1

server.cfg
Code: [Select]
rcon_password "xxxxxx"
sv_contact "xxxxxx"
hostname "xxxxxx"
sv_downloadurl "xxxxxx"
sv_lan 0
sv_region 0

fps_max 0

mp_flashlight 0
mp_falldamage 1

mp_timelimit 20
mp_fraglimit 50
ge_rounddelay 12
ge_roundtime 10800
mp_chattime 3

sv_turbophysics 0

sv_maxrate 20000
sv_minrate 10000
sv_maxcmdrate 120
sv_maxupdaterate 101
sv_mincmdrate 50
sv_minupdaterate 20
sv_client_cmdrate_difference 30

// Ensure client interpolation functions appropriately.
// Improves hit registration for bullet weapons.
sv_client_max_interp_ratio 3
sv_client_min_interp_ratio 2

log on
sv_logbans 0
sv_logecho 0
sv_logfile 1
sv_log_onefile 0

sv_allowdownload 0
sv_allowupload 1

sv_voiceenable 1

sv_cheats 0
sv_pausable 0

sv_client_predict 1

ge_tournamentmode 0
ge_radar_range 1500

ge_dynamicrespawn 1
ge_dynamicrespawn_scale 1
ge_itemrespawntime 10
ge_weaponrespawntime 10

ge_allowjump 1
// ge_allowradar 1

// ge_gameplay deathmatch
// ge_weaponset power_weapons

ge_teamautobalance 1
ge_respawndelay 5
ge_teamplay 0
// ge_startarmed 0
ge_radar_showenemyteam 1

// ge_paintball 0

tv_enable 0
tv_maxclients 25
tv_name "GoldenEye: Source Beta 3 SourceTV"

heartbeat
Title: Re: sample server.cfg file
Post by: double0killa on March 18, 2009, 03:32:44 pm
thanks Mookie. Hey i thought you had to have the \\ in front of every command you give to the server.
Title: Re: sample server.cfg file
Post by: mookie on March 18, 2009, 03:46:13 pm
In config files, // starts a comment just like C.
Title: Re: sample server.cfg file
Post by: major on March 18, 2009, 05:16:12 pm
Yeah, when a server reads a // it skips over it, so in front of comments or commands you wanna skip

 Example:

Code: [Select]
// sv_password "mi6"


would disable the need for a server password.