How to Change Server Tags on a TF2 Server
In this article
Changing server tags on a Team Fortress 2 server lets you control how your server appears in the in-game server browser, helping players find it by game mode, custom content, or region. This guide walks you through editing the server configuration file or adding launch options, and covers common pitfalls and fixes.
What You'll Need
- Access to your server's files (via FTP, a control panel, or a local install).
- Basic text editor (Notepad, VS Code, or the panel's file editor).
- Ability to restart the server for changes to take effect.
Step-by-Step
- Locate your server configuration file. The primary file is
server.cfg, usually in thetf/cfgfolder. If you use a hosting panel, you may find it under "Config Files" or "Server Settings." - Open
server.cfgin a text editor. If the file doesn't exist, create it in thetf/cfgdirectory. - Find or add the
sv_tagscommand. Search for a line starting withsv_tags. If it's not there, add a new line. - Set your tags. Write
sv_tags "your,tags,here"– for example,sv_tags "payload,custom,fastrespawn". Tags are comma-separated and must be enclosed in quotes. Common tags includepayload,cp,ctf,custom,alltalk,nocrits,spray, andregiontags likeeuorus. - Save the file. Ensure you save with UTF-8 encoding, and keep the file extension
.cfg. - Restart the server. Use your control panel's restart button or the command line. The server must fully reload to apply the new tags.
- Verify the tags. In TF2, open the server browser (find a server), select your server, and click "View Server Info." The tags appear under "Tags." You can also check the console output after restart – it will list the tags.
Common Mistakes
- Missing quotes:
sv_tags payload,customwithout quotes will only apply the first tag. - Using spaces after commas:
sv_tags "payload, custom"creates a tag with a leading space, which may not match searches. - Editing the wrong file: Some servers use
autoexec.cfgor a per-map config. Changes inserver.cfgare most reliable. - Forgetting to restart: Tags only apply after a full server restart, not a map change.
- Using unsupported characters: Stick to letters, numbers, and underscores. Special characters like
!or&can break the command.
Tips
- Use tags that players actually search for, like
trade,mvm, orjump. Overly obscure tags reduce visibility. - Combine gameplay tags with region tags to help local players find you.
- Test your tags by searching for them in the TF2 server browser after restart.
- If you run multiple servers, keep a template
server.cfgto copy. - Some hosting panels have a dedicated "Tags" field in the control panel – if so, use that instead of editing the file directly.
Troubleshooting
- Tags not showing in the browser: First, wait a few minutes after restart – the master server may take time to update. Then double-check the syntax: no spaces, quotes around the list, and commas between tags.
- Server crashes after adding tags: This usually means a tag contains an illegal character or the quotes are mismatched. Review the line and remove any unusual punctuation.
- Tags appear but players can't find the server: Ensure the tags match what players type. For example, if you use
payload, players searching "payload" should see it. Also confirm your server is not password-protected. - Changes revert after restart: Your hosting provider may overwrite
server.cfgwith a default. Check if there's a separate "custom config" option or edit the file via the panel's file manager instead of FTP. - Console shows "Unknown command sv_tags": This is rare but indicates the server is not running TF2 or the game files are corrupt. Verify the server type and reinstall the game files if needed.
Frequently Asked Questions
Can I set tags from the server command line?
Yes, you can add +sv_tags "tag1,tag2" to the launch parameters, but the config file is easier to manage and persists across updates.
How many tags can I have?
There's no hard limit, but the server browser displays only a few. Keep it to 5-10 relevant tags.
Do tags affect server performance?
No, tags are purely metadata and have no impact on gameplay or performance.
Can I change tags without restarting?
No, the server must restart to apply new tags. A map change does not reload server.cfg.
Why do my tags show as "unknown" in the browser?
This happens if the tags contain spaces or special characters. Remove them and use only alphanumeric and underscores.
Where can I find a list of standard TF2 tags?
There's no official list, but common community tags include payload, cp, ctf, koth, trade, mvm, jump, surf, alltalk, nocrits, and fastrespawn.