Sv tags

From Valve Developer Community

This console variable is for Team Fortress 2 only.

This was introduced as of the 1.0.2.0 update on Feb 28, 2008.

Added "Custom" tab to the server browser
* Servers can now specify metatags describing the custom rules they've adopted
* Players can use tag filtering to find servers running the custom rules they want to play
* Added options for servers who want to become custom games: Disable critical hits
* tf_weapon_criticals), eliminate respawn times
  (mp_disable_respawn_times), and raise maxplayers above 24

The custom tab only appears in the in-game server browser, if you use the Steam application to list the servers, you will not see it, and all the servers appear in the Internet tab.

If sv_tags has anything set, the server will only appear in the custom tab in the in-game browser, and will not list in the Internet tab.

Attempts to manually set the sv_tags cvar will results in the value being apptended to the automatically set ones. For example if you set sv_tags to "foo", and you have alltalk on, you will see it get set to "alltalk,foo".

How to not get listed as custom

Change whatever cvar has made your server marked as custom to the defaults. You cannot simply set sv_tags to "" to prevent being marked.

List of tags

Here is the list of automatically set ones, what other cvar affects it, and what value you have to set it to to get that tag. Usually that is just in cases where you change it from the default, but sometimes not.

tagcvarvalue
alltalksv_alltalk1
birthdaytf_birthday1
fadetoblackmp_fadetoblack1
friendlyfiremp_friendlyfire1
gravitysv_gravitychange from default of 800
increased_maxplayersmaxplayersover 24
nocritstf_weapon_criticals0
norespawntimemp_disable_respawn_times1
respawntimesmp_respawnwavetimenot 10.0
suddendeathmp_stalemate_enable1

Bugs

  • If you set mp_respawnwavetime to 10, you will still get the tag. It must be 10.0.
  • tv_enable 1 will also cause increased_maxplayers to activate, even if maxplayers is set to 4, as soon as the bot joins, you get the tag.