December 12th, 2007
Wytze
This tutorial will describe how to install MetaMod:Source and SourceMod on your (TF2) dedicated server.
MetaMod and SourceMod are plugin API’s/frameworks that will allow you to run custom administration/game plugins on your server.
Visit this link to see what mods are available for SourceMod.
- Visit this page and follow the directives there. Be sure to download the a version >= 1.6 of MetaMod:Source.
- Go to the SourceMod site and download the latest release. Then follow the directives found here.
If you got SourceMod running you can install any plugins you like. Have fun!
Ok, in this short tutorial I will show you how to set up a TF2 dedicated server on a windows machine.
- Download the HLDS Update Tool from the Steam site.
- Run the tool to get it installed.
- Create a directory for steam, the game files will be created in this directory.
- Run the hldsupdatetool executable: (I ran a windows installation, but linux will be similar)
Windows command:
HldsUpdateTool.exe
-command update
-game tf
-dir <directory name created in step 3, surround with quotes if spaces are in it> |
HldsUpdateTool.exe
-command update
-game tf
-dir <directory name created in step 3, surround with quotes if spaces are in it>
Linux command:
./steam
-command update
-game tf
-dir <directory name created in step 3, surround with quotes if spaces are in it> |
./steam
-command update
-game tf
-dir <directory name created in step 3, surround with quotes if spaces are in it>
You can use the same command when you need to update your server to the latest version.
- This will take some time, grab a beer, a cup of coffee, or something else that will help you relax.
- Don’t relax too much! You might get some ‘Connection reset by peer’ exceptions. Don’t worry, just rerun the same command again and again and again and again until finally you have received all files.
- Create a server.cfg file in the orangebox/tf/cfg directory.
- Fill it with some basic info. See a small example below.
// The name of your server shown in the server browser
hostname "TF2 Server"
// Server e-mail contact
sv_contact youremail@here.com
// Password used for remote console access
rcon_password "asillypassword"
// If you are having trouble connecting with rcon try enabling the rcon_address line.
// Also make sure your ports are forwarded (tcp: 27000-27020)
// rcon_address "your_ip_address"
// 1 for private LAN, 0 for internet play
sv_lan 1
// Region that the server is located in
// U.S. East - sv_region 0
// U.S. West - sv_region 1
// South America - sv_region 2
// Europe - sv_region 3
// Asia - sv_region 4
// Australia - sv_region 5
// Middle East - sv_region 6
// Africa - sv_region 7
// Rest of the World - sv_region 255
sv_region 3
// Network settings
sv_mincmdrate 30
sv_minupdaterate 20
sv_maxcmdrate 100
sv_maxupdaterate 100
sv_maxrate 100000
sv_minrate 1000
//sv_unlag 1 Unknown Command
// Enforces fair and optimal settings
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio 1.0
sv_client_max_interp_ratio 2.0
sv_client_cmdrate_difference 30
// External download server
// sv_downloadurl "http://yoursite.com/cstrike"
// Max download size of 100 MB
net_maxfilesize 100
// mp_capstyle (Sets the style of capture points used. 0 = Fixed players required to cap. 1 = More players cap faster, but longer cap times)
// mp_respawnwavetime (Time between respawn waves)
// mp_capdeteriorate_time 90.0 (Time it takes for a full capture point to deteriorate)
// mp_teams_unbalance_limit (Teams are unbalanced when one team has this many more players than the other team. (0 disables check))
// mp_bonusroundtime (Time after round win until round restarts)
// mp_winlimit (Max number of rounds one team can win before server changes maps)
// mp_stalemate_timelimit (Timelimit (in seconds) of the stalemate round.)
// mp_switchteams (Switch teams and restart the game)
// mp_scrambleteams (Scramble the teams and restart the game)
// mp_forcerespawnplayers (Force all players to respawn.)
// mp_disable_respawn_times (Disable respawn timer)
// mp_timelimit (Set timelimit for map)
// mp_maxrounds (Set number of rounds before reset. Mutually exclusive with mp_timelimit. So if this is enabled disable the mp_timelimit)
// mp_tournament (Enable or Disable tournament mode)
// tf_weapon_criticals (Enable or disable weapon crits)
// tf_flag_caps_per_round (Number of flag caps before round ends) |
// The name of your server shown in the server browser
hostname "TF2 Server"
// Server e-mail contact
sv_contact youremail@here.com
// Password used for remote console access
rcon_password "asillypassword"
// If you are having trouble connecting with rcon try enabling the rcon_address line.
// Also make sure your ports are forwarded (tcp: 27000-27020)
// rcon_address "your_ip_address"
// 1 for private LAN, 0 for internet play
sv_lan 1
// Region that the server is located in
// U.S. East - sv_region 0
// U.S. West - sv_region 1
// South America - sv_region 2
// Europe - sv_region 3
// Asia - sv_region 4
// Australia - sv_region 5
// Middle East - sv_region 6
// Africa - sv_region 7
// Rest of the World - sv_region 255
sv_region 3
// Network settings
sv_mincmdrate 30
sv_minupdaterate 20
sv_maxcmdrate 100
sv_maxupdaterate 100
sv_maxrate 100000
sv_minrate 1000
//sv_unlag 1 Unknown Command
// Enforces fair and optimal settings
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio 1.0
sv_client_max_interp_ratio 2.0
sv_client_cmdrate_difference 30
// External download server
// sv_downloadurl "http://yoursite.com/cstrike"
// Max download size of 100 MB
net_maxfilesize 100
// mp_capstyle (Sets the style of capture points used. 0 = Fixed players required to cap. 1 = More players cap faster, but longer cap times)
// mp_respawnwavetime (Time between respawn waves)
// mp_capdeteriorate_time 90.0 (Time it takes for a full capture point to deteriorate)
// mp_teams_unbalance_limit (Teams are unbalanced when one team has this many more players than the other team. (0 disables check))
// mp_bonusroundtime (Time after round win until round restarts)
// mp_winlimit (Max number of rounds one team can win before server changes maps)
// mp_stalemate_timelimit (Timelimit (in seconds) of the stalemate round.)
// mp_switchteams (Switch teams and restart the game)
// mp_scrambleteams (Scramble the teams and restart the game)
// mp_forcerespawnplayers (Force all players to respawn.)
// mp_disable_respawn_times (Disable respawn timer)
// mp_timelimit (Set timelimit for map)
// mp_maxrounds (Set number of rounds before reset. Mutually exclusive with mp_timelimit. So if this is enabled disable the mp_timelimit)
// mp_tournament (Enable or Disable tournament mode)
// tf_weapon_criticals (Enable or disable weapon crits)
// tf_flag_caps_per_round (Number of flag caps before round ends)
- Create a shortcut to the srcds.exe executable in the /orangebox directory
- Edit the shortcut and change the startup command to look like something like this
"C:\Program Files\Valve\HLServer\orangebox\srcds.exe" -game tf -console +exec server.cfg +maxplayers 24 +map ctf_2fort |
"C:\Program Files\Valve\HLServer\orangebox\srcds.exe" -game tf -console +exec server.cfg +maxplayers 24 +map ctf_2fort
This will make the server run the TF2 game, with console enabled and it will execute the server.cfg file we created. Next to that it will set the player limit to 24 and load the map ctf_2fort at startup.
- Start the server by running the shortcut
Please note that you can also create custom map cfg files which will run automatically when a mapchange occurs. Eg: If you have the map cp_dustbowl you could create a custom cp_dustbowl.cfg file and place it in the cfg directory and it will be auto-executed when the level is loaded. This will enable you to use settings that are map specific.
The next part in this tutorial will describe how to install MetaMod:Source and SourceMod on your (TF2) dedicated server.
MetaMod and SourceMod are plugin API’s/frameworks that will allow you to run custom administration/game plugins on your server.
Visit this link to see what mods are available for SourceMod.
- Visit this page and follow the directives there. Be sure to download the a version >= 1.6 of MetaMod:Source.
- Go to the SourceMod site and download the latest release. Then follow the directives found here.
If you got SourceMod running you can install any plugins you like. Have fun!

Last week I bought this really cool game created by Valve.
There is a total of nine character classes to choose from.
Although it is nice to all be soldiers a good mix of classes in your team might mean victory.
I will state some advantages and disadvantages here which might help you pick a class. I will work this one from left to right according to the image displayed here.
- Pyro
- + Spray ‘n pray comes to life with this dude
- + Burn damage over time
- + Good against groups standing close together
- – Limited range
- Engineer
- + Good support class
- + Can build Sentry Guns, Dispensers (health, ammo, mechanical parts) and Teleporters
- – Not good as offensive class
- Spy
- + Can sneak behind enemy lines to do mass damage
- + Cloaking
- + Backstabbing and Sabotaging mayhem
- – Servers with FF off will often shoot you in the head when approaching their base
- Heavy Weapons Guy
- + Loads of damage
- + Health
- – Slow moving, especially when shooting the minigun
- Sniper
- + Good defensive unit
- + Effective on long range
- – Vulnerable on short range
- Scout
- + Good for reconnaissance
- + Fast moving
- + Can capture control points quickly
- – Limited damage
- Soldier
- + Good allround class
- + Can perform rocket jumps which might give a tactical edge
Hint: Aim rockets at the ground to prevent enemies from dodging your rockets
- Demoman
- + Good defensive class
- + Can placy sticky bombs and remotely detonate them.
- + Can launch grenades around corners and other places one could otherwise not reach
- – Vulnerable at short range
- Medic
- + Exceptionally good support class
- + Can support the other classes by healing.
- + When enough healing has been performed the ubercharge will become ready which grants the medic and its target invulnerability for a short period of time. Exellent in combination with a Heavy Weapons Guy for example.
Hint: Healing more injured teammates fills your ubercharge quicker
You could also take a look at the Wikipedia page of Team Fortress 2 for additional information.

The people that upgraded this game did some really nice work. I suggest you guys take a look. 😉
OpenTTD Site