Techie
TF2 Arena server.cfg
by Logan Rogers-Follis on May.31, 2009, under Techie
Here is the server.cfg I am using for my Arena ONLY TF2 server. I have deleted the config_arena.cfg file from the /cfg directory and I also renamed the arena_mapcycle.txt to mapcycle.txt. I also edited the maplist.txt file accordingly (includes only arena_ maps). Sorry I have not commented what all the cvars do.
maxplayers 18
hostname “[HOSTNAME]”
mapcyclefile “mapcycle.txt”rcon_password “[RCON_PASSWORD]”
sv_rcon_banpenalty 5
sv_rcon_maxfailures 10exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
host_thread_mode 1sv_lan 0
sv_region 255
sv_contact [URL_OR_EMAIL]
sv_pausable 0
sv_pure 1
sv_pure_kick_clients 1sv_voiceenable 1
sv_alltalk 1
mp_chattime 15mp_disable_autokick 1
sv_allowupload 0
sv_allowdownload 0sv_minrate 2000
sv_maxrate 25000
decalfrequency 10
sv_maxupdaterate 120
sv_minupdaterate 20
sv_mincmdrate 66
sv_maxcmdrate 100
sv_client_cmdrate_difference 1
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio -1
sv_client_max_interp_ratio -1log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 1mp_maxrounds 20
mp_winlimit 15
mp_timelimit 30mp_forcecamera 1
mp_allowspectators 1
mp_footsteps 1
sv_cheats 0
sv_timeout 150
sv_consistency 1
decalfrequency 10mp_autoteambalance 1
mp_autoteambalance_delay 60
mp_autoteambalance_warning_delay 30
mp_teams_unbalance_limit 1mp_enableroundwaittime 0
mp_bonusroundtime 15
mp_restartround 0
mp_stalemate_timelimit 0
mp_stalemate_enable 0
L4D Server.cfg
by Logan Rogers-Follis on May.26, 2009, under Techie
I have 3 rock solid L4D servers now running. Below are the server.cfg I am running.
server.cfg from my I Hate EVERYTHING (loads CO-OP Campaign by default, but supports all 3 modes):
hostname “[CHANGEME]” // this is your server name as shown in the server list
// start rcon settings
rcon_password “[CHANGEME]” // your rcon password to log into the dev rcon console or HLSW rcon console
// end rcon settings// L4D cvars
//sv_password “” // your server password. a pair of double quotes means it is not set and anyone can join
motd_enabled 1 //This enables or disables the message of the day.
z_difficulty hard //Server difficulty set to expert, settings can be changed in lobby
sv_steamgroup [CHANGEME] //will make your server show up on steam group servers list
sv_steamgroup_exclusive 0 //Only your steam group will have access to the server if enabled.
sv_allow_lobby_connect_only 0 //People will only be able to connect from lobby, change to 0 to allow people to join a game in progress
sv_gametypes “coop,versus,survival” //It’s set up to allow both campaign and verses. You can decide which type of game to play in the lobby.
mp_gamemode “coop” //default game type loaded on server boot
//sv_search_key “” //This will allow you to connect to your server from the lobby.
// end L4D cvars// start client specific cvars
sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
// end client specific cvars// start cvars for communication
sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
// end cvars for communication// bandwidth rates/settings
sv_maxcmdrate 100
cl_cmdrate 30
cl_updaterate 20
rate 20000
sv_minrate 5000
sv_maxrate 8000
// end bandwidth rates/settings// start server logging
log on // enable or disable server logging. on is on off is off
sv_logbans 1 // Log server bans in the server logs
sv_logecho 1 // Echo log information to the console. 0 is off 1 is on
sv_logfile 1 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file
// end server logging// start cvars for general operation
hostport 27015 //default 27015. Change if you are running multiple servers on the same IP
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 1 // server location 0 is USA east coast, 1 is USA west coast, 255 is World
sv_contact “[CHANGEME]” // contact email for sysop. e-mail or url
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1 // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1 // kicks clients that do not have content that matches what is on the server
// end cvars for general operation// execute
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
// end of execute// other shit
mp_disable_autokick 1
setmaster enable
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011
server.cfg from my I Hate VS (loads VS and supports only VS):
hostname “[CHANGEME]” // this is your server name as shown in the server list
// start rcon settings
rcon_password “[CHANGEME]” // your rcon password to log into the dev rcon console or HLSW rcon console
// end rcon settings// L4D cvars
//sv_password “” // your server password. a pair of double quotes means it is not set and anyone can join
motd_enabled 1 //This enables or disables the message of the day.
sv_steamgroup [CHANGEME] //will make your server show up on steam group servers list
sv_steamgroup_exclusive 0 //Only your steam group will have access to the server if enabled.
sv_allow_lobby_connect_only 0 //People will only be able to connect from lobby, change to 0 to allow people to join a game in progress
sv_gametypes “versus” //It’s set up to allow verses only. You can decide which type of game to play in the lobby.
mp_gamemode “versus” //Default game type used.
//sv_search_key “” //This will allow you to connect to your server from the lobby.
sv_visiblemaxplayers 8
// end L4D cvars// start client specific cvars
sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
// end client specific cvars// start cvars for communication
sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
// end cvars for communication// bandwidth rates/settings
sv_maxcmdrate 100
cl_cmdrate 30
cl_updaterate 20
rate 20000
sv_minrate 5000
sv_maxrate 8000
// end bandwidth rates/settings// start server logging
log on // enable or disable server logging. on is on off is off
sv_logbans 1 // Log server bans in the server logs
sv_logecho 1 // Echo log information to the console. 0 is off 1 is on
sv_logfile 1 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file
// end server logging// start cvars for general operation
hostport 27015 //default 27015. Change if you are running multiple servers on the same IP
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 255 // server location 0 is USA east coast, 1 is USA west coast, 255 is World
sv_contact “[CHANGEME]” // contact email for sysop. e-mail or url
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1 // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1 // kicks clients that do not have content that matches what is on the server
// end cvars for general operation// execute
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
// end of execute// other shit
mp_disable_autokick 1
setmaster enable
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011
server.cfg from my I Hate COOP (loads Survival and supports Campaign / Survival):
hostname “[CHANGEME]” // this is your server name as shown in the server list
// start rcon settings
rcon_password “[CHANGEME]” // your rcon password to log into the dev rcon console or HLSW rcon console
// end rcon settings// L4D cvars
//sv_password “” // your server password. a pair of double quotes means it is not set and anyone can join
motd_enabled 1 //This enables or disables the message of the day.
z_difficulty hard //Server difficulty set to expert, settings can be changed in lobby
sv_steamgroup [CHANGEME] //will make your server show up on steam group servers list
sv_steamgroup_exclusive 0 //Only your steam group will have access to the server if enabled.
sv_allow_lobby_connect_only 0 //People will only be able to connect from lobby, change to 0 to allow people to join a game in progress
sv_gametypes “coop,survival” //It’s set up to allow both campaign and verses. You can decide which type of game to play in the lobby.
mp_gamemode “survival” //Default game type.
//sv_search_key “” //This will allow you to connect to your server from the lobby.
sv_visiblemaxplayers 4
// end L4D cvars// start client specific cvars
sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
// end client specific cvars// start cvars for communication
sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
// end cvars for communication// bandwidth rates/settings
sv_maxcmdrate 100
cl_cmdrate 30
cl_updaterate 20
rate 20000
sv_minrate 5000
sv_maxrate 8000
// end bandwidth rates/settings// start server logging
log on // enable or disable server logging. on is on off is off
sv_logbans 1 // Log server bans in the server logs
sv_logecho 1 // Echo log information to the console. 0 is off 1 is on
sv_logfile 1 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file
// end server logging// start cvars for general operation
hostport 27015 //default 27015. Change if you are running multiple servers on the same IP
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 255 // server location 0 is USA east coast, 1 is USA west coast, 255 is World
sv_contact “[CHANGEME]” // contact email for sysop. e-mail or url
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1 // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1 // kicks clients that do not have content that matches what is on the server
// end cvars for general operation// execute
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
// end of execute// other shit
mp_disable_autokick 1
setmaster enable
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011
Questions please contact me or leave a comment. I’ll get a forum going if it’s actually ever needed!
Tweaks to help with lag in Left 4 Dead config
by Logan Rogers-Follis on May.23, 2009, under Techie
Thank for a post on THE EVIL PC I found the following cvars that you can use in the server.cfg file for Left 4 Dead (and I’m sure most other HLDS games):
sv_maxcmdrate 100
cl_cmdrate 30
cl_updaterate 20
rate 20000
sv_minrate 5000
sv_maxrate 8000
Once I’m sure I have a rock solid server.cfg I’ll post it for others to see. Now on to make my auto-start script for my L4D servers and then a TF2 server.
How to manage HLDS game servers…
by Logan Rogers-Follis on May.19, 2009, under Techie
After spending quite a bit of time wondering how best to manage my HLDS game servers (L4D for now and maybe TF2 or Killing Floor later) I came across HLSW. It’s so far a great tool to have. Now I can share managing these servers with a few of my other Clan members and it’s much easier to ban/kick some one from the server. I am also still looking into using left4deadrcon.
Next I need to setup Cacti to keep track of stats from the server.
The pains of Xen
by Logan Rogers-Follis on May.15, 2009, under Techie
Still getting the new server up. Posting a problem I am just now fixing, and figure maybe some one will need this info later.
I had it setup and working in my office (using a private IP on Eth1) and then moved it to the NOC and am using Eth0 with a public IP, but alas I had trouble figuring out how to get the DomU’s routing out through Eth0 vs Eth1. For anyone else ever needing to know this just edit your /etc/xen/scripts/network-bridge and change the “netdev=” “vifnum” and “bridge=” accordingly. Remember if you change the “bridge=” field to edit the “vif=” line in the DomU xm config file in /etc/xen/ accordingly also.
Hopefully getting one of the L4D servers running this weekend so we can test this!