
TF2 launch command
Generate the Team Fortress 2 srcds_run line: map, slots, sv_pure, port, mapcycle and GSLT token.
Last updated: 10/9/2026
100% local processing — saved in your browser.
GSLT token: never share it.
Optional: rotation file (see mapcycle.txt).
#!/bin/bash # Generated by games-tools.game-rank.com cd "$(dirname "$0")" exec ./srcds_run -console \ -game tf \ +map ctf_2fort \ +maxplayers 24 \ +sv_pure 1
How to use TF2 launch command?
A Team Fortress 2 server starts with srcds_run -console -game tf followed by parameters (+map, +maxplayers, +sv_pure, +sv_setsteamaccount). The official TF wiki gives the example “+map ctf_2fort +sv_pure 1 +maxplayers 24”. This tool assembles the full line.
Choose Linux or Windows, the start map (e.g. ctf_2fort) and the slot count.
Set sv_pure (1 in the official example) and the port if needed (27015 by default).
Paste your GSLT token, created at steamcommunity.com/dev/managegameservers: it is required to appear in the server browser.
Download the script, put it next to srcds_run, make it executable (chmod +x) and run it; on Windows, rename it to .bat.
Frequently asked questions
More Team Fortress 2 tools
