Team Fortress 2 — Classic with an active community
Team Fortress 2 (TF2) by Valve has been a cornerstone of multiplayer shooters since 2007. The free-to-play model and active modding community keep thousands of players active on community servers every day. On your own server, you fully control maps, game mode, plugins, and access restrictions yourself.
The TF2 Dedicated Server is based on the Source engine and is configured via server.cfg and ConVars. SourceMod (the plugin framework for Source engine servers) significantly expands the possibilities.
Order a Server
Select Team Fortress 2 as the game in the order wizard. At game-serverhosting, the Dedicated Server runs preconfigured — including GSLT support (required for Valve Quickplay and avoiding ban issues).
After ordering, your server is ready to use within a few minutes. You can see the current status in the dashboard.
GSLT token — set up automatically
Since 2021, every TF2 community server needs a Game Server Login Token (GSLT) — without it, the server will not accept players via Valve matchmaking and will not be visible in Quickplay.
At game-serverhosting, you do not need to worry about this: your TF2 server is automatically assigned its own GSLT when it is created (it is entered into the startup variable STEAM_ACC). No manual setup on Steam, no token copying — the server is ready for Valve matchmaking and Quickplay from the start.
Why GSLT matters
- Without GSLT, bot spam connections end up on your server
- Valve can enforce better server-side anti-cheat measures
- Quickplay visibility only works with a valid GSLT
Use your own token (optional)
You can use your own GSLT instead — for example, one you create yourself at https://steamcommunity.com/dev/managegameservers (App ID 440). Enter it in the panel under the startup variables; it overrides the automatically assigned token:
STEAM_ACC=YOUR_GSLT_TOKEN
Edit server variables in the panel
The fastest way to configure TF2 is the guided editor directly in the panel on the server management page. You set player cheats (sv_cheats), round limits (mp_timelimit, mp_winlimit, mp_maxrounds), team balance (mp_autoteambalance), and friendly fire through clearly labeled fields with help texts — without editing the file by hand. game-serverhosting safely writes your changes back to tf/cfg/server.cfg, including an automatic backup. You can find the editor under Game Settings → Server Variables.

Edit server.cfg manually (advanced)
If you need full control over every ConVar, you can still edit server.cfg directly in the tf/cfg/ directory — it controls the basic server settings:
// Server name
hostname "My TF2 Server"
// Player maximum
sv_maxplayers 24
// RCON password for remote control
rcon_password "MyRCONPassword"
// Server password (empty = public)
sv_password ""
// Physical region (for latency optimization)
sv_region 3
// Send heartbeat to Steam master server
heartbeat
// Prevent player cheats
sv_cheats 0
sv_pure 1
// Language restrictions (optional)
// sv_voiceenable 1
// Pure server mode (prevents client modifications)
sv_pure_kick_clients 1
// TF2-specific: Casual/Competitive settings
mp_tournament 0
mp_teams_unbalance_limit 1
mp_autoteambalance 1
💡 As shown above,
sv_cheats,mp_timelimit,mp_winlimit,mp_maxrounds,mp_autoteambalance, andmp_friendlyfirecan also be set conveniently in the guided editor — you only need manual editing here for ConVars beyond the form fields.
Set up maps and mapcycle
Create mapcycle file
You control which maps are played in rotation via tf/cfg/mapcycle.txt:
cp_dustbowl
ctf_2fort
koth_harvest_final
pl_badwater
cp_granary
koth_nucleus
ctf_turbine
pl_upward
Use the official map prefix scheme:
| Prefix | Game mode |
|---|---|
cp_ |
Control Points |
ctf_ |
Capture the Flag |
koth_ |
King of the Hill |
pl_ |
Payload |
arena_ |
Arena |
mvm_ |
Mann vs. Machine |
Change current map
Via RCON (or in the panel console):
rcon changelevel koth_harvest_final
rcon mp_nextmap cp_dustbowl
Add custom maps
Upload custom maps (.bsp files) to tf/maps/. If you add them to the mapcycle and enable sv_allowdownload 1, players will download them automatically when joining.
Install SourceMod
SourceMod is the standard plugin framework for TF2 servers. It provides an admin system, a permissions management tool, and a huge plugin library.
Installation
- Download MetaMod:Source: https://www.sourcemm.net/downloads.php
- Download SourceMod: https://www.sourcemod.net/downloads.php
- Extract both archives into the
tf/directory (structure:addons/metamod/,addons/sourcemod/) - Restart the server — SourceMod loads automatically
In the game-serverhosting panel, you upload the files through the file manager.
Add admins
Admin rights are assigned in addons/sourcemod/configs/admins_simple.ini:
"STEAM_0:1:12345678" "99:z" // Superadmin (all rights)
"STEAM_0:0:98765432" "bdk" // Moderator (ban, kick)
You can find your Steam ID at https://steamid.io/ — enter your profile URL there.
Popular TF2 SourceMod plugins
| Plugin | Function |
|---|---|
TF2 Scramble |
Team scramble after a round for balance |
TF2 RTD |
Roll the Dice — random effects per round |
AFKManager |
Automatically kick AFK players |
SteamFriendsList |
Anti-cheat through friend check |
MapChooser |
Vote-based map rotation |
TFTrue |
Competitive rulesets (whitelist etc.) |
Plugins are placed as .smx files in addons/sourcemod/plugins/.
Important sv_ ConVars
Besides server.cfg, you can set many values via RCON or in the startup config:
// Respawn time
mp_respawnwavetime 10
// Critical hits
tf_weapon_criticals 1
tf_weapon_criticals_melee 2
// Player count for automatic start
mp_minplayers 6
// Game time per round in minutes
mp_timelimit 30
// Maximum overtime
mp_overtime_enable 1
// Voice chat (0 = disable)
sv_voiceenable 1
Quickplay and visibility
For your server to appear in TF2 Quickplay search:
- A valid GSLT token must be set
- Set
sv_tagsto allowed values (no blocked tags likeincreased_maxplayers) heartbeatentered inserver.cfg- Server must be reliably reachable (no timeouts during Valve master server heartbeat)
Common issues
Bots join immediately after startup Without GSLT or with an invalid GSLT, the server automatically attracts bot connections. Set GSLT correctly and restart the server.
SourceMod plugin does not start Check whether MetaMod:Source is installed correctly (requirement for SourceMod). You can find the exact error in the server logs.
Maps are missing after map change
Custom maps must be in the tf/maps/ directory. Check whether the filename exactly matches the mapcycle entry (case-sensitive).
Players are disconnected again right after joining
Usually a GSLT issue or sv_pure conflict. Check in the server log whether Valve accepts the token.
Conclusion
A configured TF2 server with GSLT, a well-planned map rotation, and SourceMod plugins gives your community a stable, spam-free gameplay experience. The combination of server.cfg, mapcycle, and SourceMod admins covers all essential management tasks.
Rent a Team Fortress 2 Server →
FAQ
Do I need a separate GSLT token for every TF2 server?
Yes — every server needs its own token, and that is exactly what we handle automatically: every time a server is created, a dedicated GSLT is generated and assigned. Tokens are not transferable and cannot be used for multiple servers at the same time — but you do not need to worry about that.
How do I prevent bots on my TF2 server?
A valid GSLT token is the most important measure. SourceMod plugins like SteamFriendsList (checks whether the joiner has real Steam friends) and AFKManager (kicks immediately on connected state anomalies) also help. Also: set sv_password for private rounds.
Which game modes are recommended for TF2 beginners?
For newcomers, koth_harvest_final (King of the Hill, short rounds, clear objective) and ctf_2fort (Capture the Flag, well-known map) are suitable. Payload maps like pl_badwater require a bit more game understanding for coordinated pushes.
Can I set a TF2 server to Competitive mode?
Yes — with the SourceMod plugin TFTrue, you can enforce weapon whitelists and competitive rules (6v6, Highlander etc.). For a real ranked mode, you need to register the server with a league like ETF2L or RGL.