Team Fortress 2

Team Fortress 2

评价数不足
How to make a TF2 server for FREE
由 _kd 制作
An in-depth guide on how to make a TF2 server in just 5 minutes.
   
奖励
收藏
已收藏
取消收藏
Installing SteamCMD
First, you will need SteamCMD. It can be downloaded from the official Steam website:
http://media.steampowered.com/installer/steamcmd.zip

Extract the ZIP, and put steamcmd.exe on your desktop for now.
Setting up a folder for your server
Now, you're going to need to create a folder for your server to be held in. It should be empty. The rest of the guide will assume you are using "C:\steamcmd" as your folder. Now take steamcmd.exe from your desktop, or wherever you put it, and place it in the steamcmd folder.
Installing the server
This is the longest part of the guide, and it heavily depends on your internet speed. Open up cmd (Command Prompt) as administrator, then type the following commands:
  • cd C:\steamcmd
  • steamcmd

Now the window will change into a little thing saying steamcmd. Now use these commands:
  • login anonymous
  • force_install_dir ./TF2/
  • app_update 440
  • quit
Runnning the server
Congratulations! You now own a TF2 server. Simply open up C:\steamcmd\TF2\srcds.exe to start your server. Now you can install sourcemod, and follow TF2 server setup guides.

Note: if you are behind a firewall/NAT you will need to forward ports. Hamachi is a way around this, but anybody connecting will need Hamachi.
Credits
I figured out how to set up servers by reading this article[rnediafire.com]. I do not take any credit for this information, and I just wanted to help others learn how to make a TF2 server.
Appendix: Installing sourcemod
A server just isn't good enough for public use unless you have sourcemod installed. To install sourcemod, you need to get the following:

http://www.sourcemod.net/downloads.php
http://metamod.org/

Simply put the metamod and sourcemod files into your server's directory. You now have sourcemod installed. If you want to setup sourcemod, please refer to this server forum:
https://forums.alliedmods.net/
21 条留言
lils 2021 年 7 月 10 日 上午 2:11 
@gaming gaming did that, it wont run
Lottery 2021 年 5 月 8 日 下午 1:33 
For ppl who cant find srcds.exe run app_update 232250 and not app_update 440
Grn Grb 2021 年 4 月 18 日 上午 2:19 
folder in desktop or steam
crab.king274 2021 年 4 月 10 日 下午 5:32 
@ROCKET gaming YT Trader.gg Same, idk what to do.
Hermes 2021 年 2 月 28 日 上午 7:00 
@o73k, You need to download STEAMCMD
RocketboiSource 2020 年 11 月 11 日 上午 10:56 
I can't find srcds.exe in my tf2 folder
Booming_LOLer 2020 年 10 月 31 日 上午 2:48 
fuck no im not getting that shit.
Kirb 2020 年 7 月 2 日 下午 4:59 
Anyone who is getting a black box from the exe file, make a shortcut from that file and click properties and in the box hit space then type this -console -game tf -port 27015 +maxplayers 24 +map ctf_2fort Change the map, port, or maxplayers if you want, but make sure you know what you are doing.
o73k 2020 年 5 月 7 日 上午 4:43 
when I do cd C:/steamcmd it says: Command not found: cd
toast 2016 年 8 月 11 日 上午 9:55 
When I launch srcds.exe it gives me a black box. Help?