TF2 server.cfg Builder

Fill in the form to generate a complete server.cfg for your Team Fortress 2 dedicated server. The preview updates live — copy or download when ready.

Place the file at tf/cfg/server.cfg on your server. It is loaded automatically on startup. You can also reload it in-game with exec server.

Quick presets:

1. Server Identity hostname · passwords · region

Displayed in the server browser and scoreboard.

Players are prompted on connect.

Remote console access. Keep secret.

Email or URL shown in server info.

Used by the master server for matchmaking.

2. Game Settings time · rounds · respawn · crits

Minutes per map. 0 = no time limit.

0 = unlimited rounds.

First team to reach this many wins changes map. 0 = off.

Kill limit for DM modes. 0 = off.

Seconds between respawn waves. Default 10.

3. Class Limits (tf_tournament_classlimit_*) per team · 0 = unlimited

Maximum players per class per team. -1 = use default. 0 = banned. Only active when mp_tournament 1.

4. Server Control purity · cheats · logging

Controls whether clients can use custom models/sounds. Use 1 or 2 for competitive.

Note: sv_cheats is always set to 0 in the generated config — it cannot be enabled through this tool.

Generated server.cfg

Live preview
// TF2 server.cfg — generated by DustBowl.Games
// https://dustbowl.games/tools/tf2-server-config

// ── Server Identity ──────────────────────────────────────────
hostname "My TF2 Server"
sv_password ""                    // public server
// rcon_password ""               // disabled
sv_region 0                  // North America

// ── Game Settings ────────────────────────────────────────────
mp_timelimit 20              // minutes per map (0 = unlimited)
mp_maxrounds 0              // max rounds (0 = unlimited)
mp_winlimit 0               // team win limit (0 = off)
mp_fraglimit 0              // frag limit for DM (0 = off)
mp_respawnwavetime 10     // seconds between respawn waves
mp_stalemate_enable 0  // Sudden Death / stalemate
tf_weapon_criticals 1  // random critical hits
tf_use_fixed_weaponspreads 0 // deterministic spread (comp)
sv_alltalk 0               // all players hear all voice chat

// ── Class Limits (requires mp_tournament 1) ──────────────────
tf_tournament_classlimit_scout 1
tf_tournament_classlimit_soldier 1
tf_tournament_classlimit_pyro 1
tf_tournament_classlimit_demoman 1
tf_tournament_classlimit_heavy 1
tf_tournament_classlimit_engineer 1
tf_tournament_classlimit_medic 1
tf_tournament_classlimit_sniper 1
tf_tournament_classlimit_spy 1

// ── Server Control ───────────────────────────────────────────
sv_cheats 0                       // always disabled
sv_pure 0                   // content purity: -1=off 0=whitelist 1=standard 2=strict
log on                       // server log
sv_log_onefile 0            // one log file per session
sv_logflush 0               // flush log after every write

Where to place this file:
tf/cfg/server.cfg
Loaded automatically on startup. Reload live with exec server.

Private Team Fortress 2 hosting

Run your own Team Fortress 2 server.

Rent a private Team Fortress 2 server on real hardware — full control-panel access, your mods, your configs, your rules. It's your server; run it your way.

Rent a Team Fortress 2 server Real hardware · Full control panel · 98% SLA

Don't want to run it yourself? Our managed services & consulting team will set it up and keep it running for you — game servers, Windows, Linux, and cloud, from 10+ years of MSP work.