Posted: Thu Dec 17, 2009 12:54 pm Post subject: Better TF2 Config File
The default config provided by GameCreate is good enough to get a server up and running, but it doesn't have a lot of options available for tweaking, and I noticed there aren't any config file templates for people to use so I thought I'd post the one I use for TF2. It's one I've been using for just over a year, and slowly tweaking it over time.
Feel free to use this as a base for your server. Some settings may need to be adjusted to get better performance, this is just what works best with my server. Will work for both Windows and Linux servers. The config is organized into sections, and each setting has a brief description.
Code:
//////#################\\\\\\
// General Server Settings \\
//////#################\\\\\\
// Name of the server for others to see in the server browser.
hostname ""
// Password needed by clients to connect to the server.
sv_password
// Maximum number of clients allowed to connect to server.
maxplayers 24
//////#################\\\\\\
/// Contact & Region Info \\\
//////#################\\\\\\
// Contact email for server sysop
sv_contact ""
// The region of the world to report this server in.
// -1 is the world, 0 is USA east coast, 1 is USA west coast
// 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_region 1
// Maximum allowed server FPS.
// Default: 250
fps_max 600
// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 30000
// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000
// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 66
// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 45
// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100
// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75
// Allow clients to upload customizations files
sv_allowupload 1
// Allow clients to download files
sv_allowdownload 1
// Download URL for custom maps
// sv_downloadurl ""
// Maximum allowed file size for uploading in MB
net_maxfilesize 75
//////##########\\\\\\
/// Team Balancing \\\
//////##########\\\\\\
// Eanble team balancing
mp_autoteambalance "0"
// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit "0"
//////##############\\\\\\
/// Round & Game Times \\\
//////##############\\\\\\
// Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers!
mp_enableroundwaittime 1
// Time after round win until round restarts
mp_bonusroundtime 8
// If non-zero, the current round will restart in the specified number of seconds
mp_restartround 0
//Enable sudden death
mp_stalemate_enable 1
// Timelimit (in seconds) of the stalemate round.
mp_stalemate_timelimit 300
// Game time per map in minutes
mp_timelimit "20"
// Flag captures required to end round.
tf_flag_caps_per_round "0"
// Frags required to end round.
mp_fraglimit "0"
// Allow stalemates.
mp_stalemate_enable "0"
// End the match after the map's time limit expires.
mp_match_end_at_timelimit "0"
// Maximum number of rounds to play before server changes maps
mp_maxrounds 0
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum