Skip to content
Team Fortress 2
Team Fortress 2 100% localFreeOpen access

TF2 server.cfg generator

Build your Team Fortress 2 server.cfg: time and round limits, balancing, crits, weapon spread and FastDL.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Identity
Network

URL of your FastDL (HTTP), otherwise leave empty.

Round rules

0 = unlimited. Suggested value: 30 minutes.

TF2 options and free commands

1 = random critical hits enabled.

server.cfg
Live preview — automatically saved in your browser.
// tf/cfg/server.cfg - generated by games-tools.game-rank.com
hostname "My TF2 Server"
sv_password ""
rcon_password "ChangeMe!"

sv_allowupload 0
sv_alltalk 0
sv_timeout 65
mp_timelimit 30
mp_winlimit 0
mp_maxrounds 0
mp_respawnwavetime 10
mp_idlemaxtime 3
mp_teams_unbalance_limit 1
mp_friendlyfire 0
mp_autoteambalance 1
mp_disable_respawn_times 0
mp_stalemate_enable 0
tf_weapon_criticals 1
tf_use_fixed_weaponspreads 0
tf_damage_disablespread 0
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use TF2 server.cfg generator?

The tf/cfg/server.cfg file is read at every map change by a TF2 server (srcds, app 232250). This tool builds it from a form: identity, network, round rules and TF2-specific options (crits, spread).

  1. Enter the server name, the RCON password and, if needed, a join password.

  2. Set mp_timelimit, mp_winlimit, mp_maxrounds and team balancing.

  3. Enable or disable crits and fixed weapon spread to suit your play style.

  4. Download server.cfg, put it in tf/cfg/ and change map or restart.

Read the full documentation →

Frequently asked questions

Team Fortress 2
Team Fortress 2Open access
Generate the Team Fortress 2 srcds_run line: map, slots, sv_pure, port, mapcycle and GSLT token.
LaunchConfigurationOpen
Documentation