PingByte

How to host a Team Fortress 2 server

A TF2 community server comes down to three settings, a custom config file and an addons folder. Here is how to set it up, how your players join, and how to add plugins without breaking it.

What you need

Players need Team Fortress 2 on Steam. The server runs the official dedicated server and logs in to Steam anonymously, so you do not need a server token. A PingByte TF2 server starts at 2 GB of RAM and 20 GB of storage, and you can choose more.

Set it up

  1. Open the store and choose Team Fortress 2.
  2. Pick a size, then choose the start map and the player limit, from 1 to 32.
  3. Set a join password if you want one. It is optional, up to 30 letters, numbers, - or _.
  4. Review and pay. The server starts as soon as the payment clears.

Give every start about a minute and a half. The server checks for a game update before it comes up, so players cannot connect until the console on the Overview tab has finished loading.

Join the server

  1. In Team Fortress 2 go to Options, then Advanced, and enable the developer console. Press ~ to open it.
  2. Copy the address and port from your server's Overview tab. It looks like play.pingbyte.net:PORT, and the port is different for every server.
  3. Type connect play.pingbyte.net:PORT and press Enter. If you set a password, type password YOURPASSWORD first, then run connect again.

TF2 hosting is new on PingByte. If a join fails, the can't connect checklist covers the usual causes, and a support ticket reaches the owner.

Maps

The Settings tab lists the official maps installed on the server. After the start map, the server rotates through the official maps.

To switch map right now, run changelevel koth_viaduct (or any map name) in the panel console. Custom maps, skins and sounds go in the custom folder.

Your own settings

PingByte manages server.cfg (name, password, player limit) and rewrites it whenever you change those settings, so do not put your own commands there. Put them one per line in cfg/pingbyte_custom.cfg instead. It is read on every start and never overwritten. For example, mp_friendlyfire 1 turns on friendly fire. Edit the file in the Files tab, then restart the server.

Plugins: SourceMod and MetaMod

  1. Take a backup first, from the Backups tab.
  2. Upload the plugin files into the addons folder, in the Files tab or over SFTP.
  3. Restart the server and read the console for load errors.

Plugins run code on your server, so install only well-known ones from their official pages. A game update can break a plugin until it gets a new release, and a plugin that errors can stop the server finishing its start. If that happens, move the contents of addons out of the way and restart.

Updates and backups

Every start checks for a TF2 update first, so players on the latest version can always join. If your game updated and you are turned away, restart the server from the Overview tab and wait the minute and a half. Backups hold your config, addons and custom content, can be scheduled from every 6 hours up to weekly, and the last 5 are kept. The 15 GB game install is shared and is not in them. A TF2 server has no world to reset, so there is no wipe option.

If something goes wrong

Team Fortress is a trademark of Valve Corporation. PingByte is not affiliated with or endorsed by them.

Want a TF2 server without the setup?

See TF2 hosting