Skip to content
/SLASHPLAY

TF2 console commands

All 3079 settings and 1005 commands from the game's own list, with defaults and examples to copy, marked server or client.

4084 commands

  1. mp_timelimit Server

    Sets how many minutes a map is played before the server moves to the next map. 0 means no time limit.

    Default 0

    Rounds and match

  2. mp_maxrounds Server

    Sets the maximum number of rounds played before the server changes map. 0 means no round limit.

    Default 0

    Rounds and match

  3. mp_autoteambalance Server

    Controls automatic team balancing: off, force-switch players, or ask for volunteers.

    Default 1 (Force switch players)

    Teams and classes

  4. tf_bot_quota Server

    Sets how many TFBots the server keeps in the game.

    Default 0

    Bots

  5. tf_bot_add Server

    Adds one or more TFBots, optionally choosing class, team, difficulty and name.

    Command

    Bots

  6. sv_cheats Server

    Toggles cheat commands like noclip, god and thirdperson on the server.

    Default 0 (Off)

    Cheats and practice

  7. mp_tournament Server

    Toggles tournament mode, where teams must ready up and the match starts on command, as used in competitive play.

    Default 0 (Off)

    Rounds and match

  8. mp_waitingforplayers_cancel Server

    Ends the waiting for players warm up immediately when set to 1.

    Default 0

    Rounds and match

  9. viewmodel_fov Client

    Sets the field of view for your weapon model, which changes how big and where your weapon appears.

    Default Not listed

    Viewmodel

  10. hud_combattext Client

    Toggles damage numbers that pop up when you hit enemies.

    Default Not listed

    Crosshair and HUD

  11. sv_alltalk Server

    Toggles all talk, letting both teams hear each other's voice chat.

    Default 0 (Off)

    Chat and voice

  12. mp_restartgame Server

    Restarts the game after the given number of seconds, resetting scores and the round.

    Default 0

    Rounds and match

  13. mp_bonusroundtime Server

    Sets the humiliation time after a round is won, in seconds, before the next round starts.

    Default 15

    Rounds and match

  14. mp_chattime Server

    Sets how many seconds players can chat on the scoreboard after the map ends before the next map loads.

    Default 10

    Rounds and match

  15. mp_disable_respawn_times Server

    Toggles instant respawn so players come back as soon as they die.

    Default 0 (Off)

    Rounds and match

  16. mp_forcewin Server

    Forces a team to win the current round. Requires sv_cheats 1.

    Command

    Rounds and match

  17. mp_match_end_at_timelimit Server

    Toggles whether the match ends the moment the time limit runs out instead of waiting for the current round to finish.

    Default 0 (Finish the current round first)

    Rounds and match

  18. mp_respawnwavetime Server

    Sets the base time between respawn waves in seconds.

    Default 10

    Rounds and match

  19. mp_restartgame_immediate Server

    Restarts the game right away without a countdown when set to 1.

    Default 0

    Rounds and match

  20. mp_stalemate_enable Server

    Toggles Sudden Death, the no-respawn round that starts when the round timer runs out without a winner.

    Default 0 (Off)

    Rounds and match

  21. mp_stalemate_meleeonly Server

    Toggles melee-only weapons during Sudden Death rounds.

    Default 0 (Off)

    Rounds and match

  22. mp_stalemate_timelimit Server

    Sets the time limit of a Sudden Death round in seconds.

    Default 240

    Rounds and match

  23. mp_tournament_readymode Server

    Toggles per-player ready status in tournament mode instead of a single ready button per team.

    Default 0 (Off)

    Rounds and match

  24. mp_tournament_readymode_min Server

    Sets the minimum number of players on the server before ready status can be toggled in ready mode.

    Default 2

    Rounds and match

  25. mp_tournament_restart Server

    Restarts tournament mode on the current map, sending both teams back to the ready-up stage.

    Command

    Rounds and match

  26. mp_tournament_stopwatch Server

    Toggles stopwatch mode in tournament play, where teams swap sides and race each other's capture times.

    Default 1 (On)

    Rounds and match

  27. mp_tournament_whitelist Server

    Sets the item whitelist file that decides which weapons and cosmetics are allowed in tournament mode.

    Default item_whitelist.txt

    Rounds and match

  28. mp_waitingforplayers_time Client

    Sets how many seconds the waiting for players period lasts at the start of a map.

    Default 30

    Rounds and match

  29. mp_windifference Server

    Sets a score lead that ends the map early when one team gets that far ahead. 0 turns it off.

    Default 0

    Rounds and match

  30. mp_winlimit Server

    Sets how many round wins a team needs before the server changes map. 0 means no win limit.

    Default 0

    Rounds and match

  31. autoteam Client

    Joins whichever team the game picks for you, usually the one with fewer players.

    Default (empty)

    Teams and classes

  32. join_class Client

    Switches you to a class by name without opening the class menu.

    Command

    Teams and classes

  33. jointeam Client

    Joins a team: red, blue, auto or spectate.

    Default (empty)

    Teams and classes

  34. mp_allowspectators Server

    Toggles whether players are allowed to join spectator.

    Default 1 (On)

    Teams and classes

  35. mp_highlander Server

    Toggles Highlander mode, which allows only one of each class per team.

    Default 0 (Off)

    Teams and classes

  36. mp_humans_must_join_team Server

    Restricts human players to a single team: any, red, blue or spectator.

    Default any (Players pick any team)

    Teams and classes

  37. mp_idledealmethod Server

    Sets what happens to idle players: nothing, move to spectator then kick, or kick right away.

    Default 1 (Move to spectator, then kick if still idle)

    Teams and classes

  38. mp_idlemaxtime Server

    Sets how many minutes a player can be idle before the idle action is taken.

    Default 3

    Teams and classes

  39. mp_scrambleteams Server

    Scrambles the teams and restarts the game.

    Command

    Teams and classes

  40. mp_scrambleteams_auto Server

    Toggles automatic team scrambles when one team keeps winning by a wide margin.

    Default 1 (On)

    Teams and classes

  41. mp_switchteams Server

    Swaps RED and BLU and restarts the game.

    Command

    Teams and classes

  42. mp_teams_unbalance_limit Server

    Sets how many more players one team can have than the other before teams count as unbalanced.

    Default 1

    Teams and classes

  43. tf_classlimit Server

    Limits how many players can play each class per team on public servers. 0 means no limit.

    Default 0

    Teams and classes

  44. tf_tournament_classlimit_demoman Server

    Sets the maximum number of Demomen per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  45. tf_tournament_classlimit_engineer Server

    Sets the maximum number of Engineers per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  46. tf_tournament_classlimit_heavy Server

    Sets the maximum number of Heavies per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  47. tf_tournament_classlimit_medic Server

    Sets the maximum number of Medics per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  48. tf_tournament_classlimit_pyro Server

    Sets the maximum number of Pyros per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  49. tf_tournament_classlimit_scout Server

    Sets the maximum number of Scouts per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  50. tf_tournament_classlimit_sniper Server

    Sets the maximum number of Snipers per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  51. tf_tournament_classlimit_soldier Server

    Sets the maximum number of Soldiers per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  52. tf_tournament_classlimit_spy Server

    Sets the maximum number of Spies per team in tournament mode. -1 means no limit.

    Default -1

    Teams and classes

  53. nav_generate Server

    Generates a navigation mesh for the current map so bots can move around it. Requires sv_cheats 1.

    Command

    Bots

  54. tf_bot_auto_vacate Server

    Toggles whether bots leave automatically to make room for joining humans.

    Default 1 (On)

    Bots

  55. tf_bot_difficulty Server

    Sets the skill level of newly joining bots, from 0 easy to 3 expert.

    Default 1 (Normal)

    Bots

  56. tf_bot_force_class Server

    Forces every TFBot to respawn as the given class. Empty means bots pick their own class.

    Default (empty)

    Bots

  57. tf_bot_join_after_player Server

    Toggles whether bots wait for a human to join before entering the game.

    Default 1 (On)

    Bots

  58. tf_bot_kick Server

    Removes a TFBot by name, or every bot with all.

    Command

    Bots

  59. tf_bot_melee_only Server

    Toggles melee-only mode for TFBots.

    Default 0 (Off)

    Bots

  60. tf_bot_quota_mode Server

    Sets how tf_bot_quota is used: normal, fill or match.

    Default normal (Quota is the bot count)

    Bots

  61. changelevel Server

    Changes the server to another map while keeping connected players.

    Command

    Maps and game modes

  62. map Server

    Starts a map, loading it fresh. Also used to start a local server from your own game.

    Command

    Maps and game modes

  63. mapcyclefile Server

    Sets which text file the server reads its map rotation from.

    Default mapcycle.txt

    Maps and game modes

  64. maps Server

    Lists the maps installed on the server, optionally filtered by name.

    Command

    Maps and game modes

  65. nextlevel Server

    Sets the map the server will change to at the end of the current round.

    Default (empty)

    Maps and game modes

  66. tf_arena_first_blood Server

    Toggles the First Blood reward in Arena mode, a short crit boost for the first kill of the round.

    Default 1 (On)

    Maps and game modes

  67. tf_arena_preround_time Server

    Sets the length of the Arena pre-round, when players are frozen before the fight, in seconds.

    Default 10

    Maps and game modes

  68. tf_arena_use_queue Server

    Toggles the Arena spectator queue that rotates waiting players into the next round.

    Default 1 (On)

    Maps and game modes

  69. tf_birthday Server

    Toggles TF2 birthday mode, with party hats and confetti effects on hits.

    Default 0 (Off)

    Maps and game modes

  70. tf_ctf_bonus_time Server

    Sets how many seconds of crits a team gets after capturing the flag.

    Default 10

    Maps and game modes

  71. tf_flag_caps_per_round Server

    Sets how many flag captures win a round on Capture the Flag and PASS Time maps.

    Default 3

    Maps and game modes

  72. tf_forced_holiday Server

    Forces a holiday event on the server, such as Birthday or Halloween.

    Default 0 (No forced holiday)

    Maps and game modes

  73. tf_grapplinghook_enable Server

    Toggles the grappling hook for all players.

    Default 0 (Off)

    Maps and game modes

  74. tf_medieval Server

    Toggles Medieval Mode, where only melee and medieval weapons can be used.

    Default 0 (Off)

    Maps and game modes

  75. tf_powerup_mode Server

    Toggles Mannpower mode with powerup runes and grappling hooks.

    Default 0 (Off)

    Maps and game modes

  76. mp_friendlyfire Server

    Toggles friendly fire, letting players damage their own teammates.

    Default 0 (Off)

    Weapons and damage

  77. tf_allow_player_use Server

    Toggles whether players can use the +use key to interact with map entities.

    Default 0 (Off)

    Weapons and damage

  78. tf_damage_disablespread Server

    Toggles the random damage spread on all player damage. 1 removes the randomness.

    Default 1 (Random damage spread off)

    Weapons and damage

  79. tf_playergib Server

    Controls player gibbing: never, normal, or always.

    Default 1 (Normal)

    Weapons and damage

  80. tf_use_fixed_weaponspreads Server

    Toggles fixed pellet spread for shotguns and scatterguns instead of a random pattern.

    Default 0 (Off)

    Weapons and damage

  81. tf_weapon_criticals Server

    Toggles random critical hits.

    Default 1 (On)

    Weapons and damage

  82. tf_weapon_criticals_melee Server

    Controls random crits for melee weapons separately from other weapons.

    Default 1 (Follows tf_weapon_criticals)

    Weapons and damage

  83. sv_airaccelerate Server

    Sets how fast players can change speed and direction in the air.

    Default 10

    Movement and physics

  84. sv_gravity Server

    Sets world gravity. Lower values make players jump higher and fall slower.

    Default 800

    Movement and physics

  85. tf_allow_taunt_switch Server

    Controls whether players can switch weapons while taunting.

    Default 0 (No switching)

    Movement and physics

  86. tf_avoidteammates_pushaway Server

    Toggles whether teammates push each other apart when they overlap.

    Default 1 (On)

    Movement and physics

  87. hostname Both

    Sets the server name shown in the server browser and scoreboard.

    Default (empty)

    Server and access

  88. log Server

    Turns server logging on or off.

    Command

    Server and access

  89. mp_forcecamera Server

    Restricts what dead players can spectate: everyone, only their own team, or nothing.

    Default 1 (Own team only)

    Server and access

  90. rcon_password Both

    Sets the password for remote console access to the server.

    Default (empty)

    Server and access

  91. sv_allow_wait_command Server

    Toggles whether players can use the wait command in scripts on this server.

    Default 1 (On)

    Server and access

  92. sv_allowdownload Both

    Toggles whether players can download missing files such as custom maps from the server.

    Default 1 (On)

    Server and access

  93. sv_allowupload Both

    Toggles whether players can upload custom files such as sprays to the server.

    Default 1 (On)

    Server and access

  94. sv_downloadurl Server

    Sets a web address where players download custom maps and files, often called FastDL.

    Default (empty)

    Server and access

  95. sv_lan Both

    Toggles LAN-only mode, which hides the server from the internet browser and skips Steam authentication.

    Default 0 (Off)

    Server and access

  96. sv_logfile Both

    Toggles writing server events to log files.

    Default 1 (On)

    Server and access

  97. sv_password Server

    Sets a password players must enter to join the server. Empty means no password.

    Default (empty)

    Server and access

  98. sv_pausable Server

    Toggles whether the game can be paused.

    Default 0 (Off)

    Server and access

  99. sv_pure Server

    Sets how strictly the server checks that players' game files match, which blocks custom models and materials.

    Command

    Server and access

  100. sv_pure_kick_clients Both

    Toggles kicking players whose files do not match the sv_pure rules, instead of only warning them.

    Default 1 (On)

    Server and access

  101. sv_rcon_banpenalty Both

    Sets how many minutes to ban someone who fails RCON authentication too often. 0 means permanent.

    Default 0

    Server and access

  102. sv_region Both

    Sets the region the server reports to the server browser so players can filter by location.

    Default (empty)

    Server and access

  103. sv_setsteamaccount Server

    Logs the server in with a Game Server Login Token from Steam, giving it a persistent account.

    Command

    Server and access

  104. sv_tags Server

    Sets comma-separated tags that describe the server in the server browser.

    Default cp

    Server and access

  105. sv_timeout Both

    Sets how many seconds the server waits for a silent client before dropping it.

    Default 65

    Server and access

  106. sv_visiblemaxplayers Both

    Overrides the max player count shown to people browsing for servers. -1 shows the real slot count.

    Default -1

    Server and access

  107. tf_allow_server_hibernation Server

    Toggles whether the server goes into low-CPU hibernation when nobody is connected.

    Default 1 (On)

    Server and access

  108. cl_cmdrate Client

    Sets how many command packets per second your game sends to the server.

    Default Not listed

    Network and rates

  109. cl_interp Client

    Sets your interpolation delay in seconds, how far behind real time other players are drawn to keep movement smooth.

    Default Not listed

    Network and rates

  110. cl_interp_ratio Client

    Sets interpolation as a multiple of the update interval. The delay is cl_interp_ratio divided by cl_updaterate.

    Default Not listed

    Network and rates

  111. cl_lagcompensation Client

    Toggles server-side lag compensation for your shots.

    Default 1 (On)

    Network and rates

  112. cl_updaterate Client

    Sets how many world updates per second you request from the server.

    Default Not listed

    Network and rates

  113. net_graph Client

    Shows the network graph with your fps, ping, loss and choke.

    Default 0 (Off)

    Network and rates

  114. rate Client

    Sets the most data per second your game will accept from the server, in bytes.

    Default Not listed

    Network and rates

  115. sv_client_min_interp_ratio Server

    Sets the lowest cl_interp_ratio players may use while connected. -1 lets them use any value.

    Default 1

    Network and rates

  116. sv_maxcmdrate Server

    Sets the most command packets per second a player can send to the server.

    Default 66

    Network and rates

  117. sv_maxrate Server

    Sets the maximum bandwidth per player in bytes per second. 0 means unlimited.

    Default 0

    Network and rates

  118. sv_maxupdaterate Server

    Sets the most world updates per second the server sends each player.

    Default 66

    Network and rates

  119. demoui Client

    Shows or hides the demo playback controls.

    Command

    SourceTV and demos

  120. ds_enable Client

    Sets automatic demo recording: manual, competitive matches, all matches, or tournament matches.

    Default Not listed

    SourceTV and demos

  121. playdemo Client

    Plays back a recorded demo file.

    Command

    SourceTV and demos

  122. record Client

    Starts recording a demo from your own point of view.

    Command

    SourceTV and demos

  123. stop Client

    Ends the demo recording started with record and saves the file.

    Command

    SourceTV and demos

  124. tv_autorecord Both

    Toggles recording every game as a SourceTV demo automatically.

    Default 0 (Off)

    SourceTV and demos

  125. tv_delay Server

    Sets the SourceTV broadcast delay in seconds.

    Default 30

    SourceTV and demos

  126. tv_enable Server

    Turns on SourceTV, the built-in spectator relay that can broadcast and record matches.

    Default 0 (Off)

    SourceTV and demos

  127. tv_maxclients Both

    Sets the maximum number of spectators that can connect to SourceTV.

    Default 128

    SourceTV and demos

  128. tv_name Both

    Sets the name SourceTV shows on the scoreboard and in the server browser for the relay.

    Default SourceTV

    SourceTV and demos

  129. tv_password Server

    Sets a password spectators need to join SourceTV.

    Default (empty)

    SourceTV and demos

  130. tv_port Both

    Sets the network port SourceTV listens on.

    Default 27020

    SourceTV and demos

  131. tv_record Server

    Starts recording a SourceTV demo of the match to a file.

    Command

    SourceTV and demos

  132. tv_snapshotrate Both

    Sets how many snapshots per second SourceTV broadcasts and records.

    Default 16

    SourceTV and demos

  133. tv_status Server

    Shows SourceTV status, including connected spectators and recording state.

    Command

    SourceTV and demos

  134. tv_stoprecord Server

    Stops the current SourceTV demo recording.

    Command

    SourceTV and demos

  135. tv_transmitall Server

    Toggles sending every entity to SourceTV instead of only what the director camera sees.

    Default 0 (Off)

    SourceTV and demos

  136. say Server

    Sends a chat message to everyone on the server.

    Command

    Chat and voice

  137. say_team Server

    Sends a chat message only to your own team.

    Command

    Chat and voice

  138. sv_voiceenable Server

    Toggles voice chat on the server.

    Default 1 (On)

    Chat and voice

  139. tf_gravetalk Server

    Toggles whether living players can hear and read chat from dead players.

    Default 1 (On)

    Chat and voice

  140. voice_enable Client

    Toggles voice chat in your game, both hearing and talking.

    Default Not listed

    Chat and voice

  141. voice_scale Client

    Sets the volume of other players' voice chat.

    Default Not listed

    Chat and voice

  142. voicemenu Client

    Plays a voice command, such as calling for a Medic, by menu and item number.

    Default (empty)

    Chat and voice

  143. callvote Server

    Starts a vote on an issue, such as kicking a player, changing the map or scrambling teams.

    Command

    Voting

  144. sv_allow_votes Server

    Toggles player voting on the server.

    Default 1 (On)

    Voting

  145. sv_vote_issue_autobalance_allowed Server

    Toggles whether players can call votes to turn auto team balance on or off.

    Default 0 (Off)

    Voting

  146. sv_vote_issue_changelevel_allowed Server

    Toggles whether players can call votes to change the map right away.

    Default 0 (Off)

    Voting

  147. sv_vote_issue_extendlevel_allowed Server

    Toggles whether players can call votes to extend the current map.

    Default 1 (On)

    Voting

  148. sv_vote_issue_kick_allowed Server

    Toggles whether players can call votes to kick a player.

    Default 0 (Off)

    Voting

  149. sv_vote_issue_nextlevel_allowed Server

    Toggles whether players can call votes to choose the next map.

    Default 1 (On)

    Voting

  150. sv_vote_issue_restart_game_allowed Server

    Toggles whether players can call votes to restart the game.

    Default 0 (Off)

    Voting

  151. sv_vote_issue_scramble_teams_allowed Server

    Toggles whether players can call votes to scramble the teams.

    Default 1 (On)

    Voting

  152. sv_vote_kick_ban_duration Server

    Sets how many minutes a player removed by vote kick is banned from rejoining. 0 disables the ban.

    Default 20

    Voting

  153. sv_vote_quorum_ratio Server

    Sets the share of eligible players who must vote yes for a vote to pass, from 0.1 to 1.

    Default 0.6

    Voting

  154. sv_vote_timer_duration Server

    Sets how many seconds players have to vote once a vote starts.

    Default 15

    Voting

  155. vote Client

    Casts your choice in a running vote.

    Default (empty)

    Voting

  156. addip Server

    Bans an IP address for a number of minutes. 0 bans permanently.

    Command

    Admin and bans

  157. banid Server

    Bans a player by user ID or Steam ID for a number of minutes. 0 bans permanently.

    Command

    Admin and bans

  158. exec Both

    Runs a config file from the cfg folder.

    Command

    Admin and bans

  159. kick Server

    Removes a player from the server by name. They can rejoin right away.

    Command

    Admin and bans

  160. kickid Server

    Kicks a player by user ID or Steam ID, with an optional message.

    Command

    Admin and bans

  161. listid Server

    Lists the Steam IDs on the ban list.

    Command

    Admin and bans

  162. rcon Client

    Sends a command to a server you have the RCON password for.

    Command

    Admin and bans

  163. removeid Server

    Removes a Steam ID or user ID from the ban list.

    Command

    Admin and bans

  164. status Both

    Shows the map, server info and every connected player with user ID, Steam ID, ping and IP.

    Command

    Admin and bans

  165. writeid Server

    Saves permanent Steam ID bans to banned_user.cfg.

    Command

    Admin and bans

  166. writeip Server

    Saves the IP ban list to banned_ip.cfg.

    Command

    Admin and bans

  167. cl_crosshair_blue Client

    Sets the blue part of your crosshair color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  168. cl_crosshair_file Client

    Sets which crosshair image is used. Empty uses each weapon's default crosshair.

    Default Not listed

    Crosshair and HUD

  169. cl_crosshair_green Client

    Sets the green part of your crosshair color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  170. cl_crosshair_red Client

    Sets the red part of your crosshair color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  171. cl_crosshair_scale Client

    Sets the size of your crosshair.

    Default Not listed

    Crosshair and HUD

  172. cl_crosshairalpha Client

    Sets how opaque your crosshair is, from 0 invisible to 255 solid.

    Default Not listed

    Crosshair and HUD

  173. cl_drawhud Client

    Toggles drawing the whole HUD. Requires sv_cheats 1.

    Default 1 (On)

    Crosshair and HUD

  174. cl_hud_minmode Client

    Toggles the minimal HUD, a smaller and simpler version of the default HUD.

    Default Not listed

    Crosshair and HUD

  175. cl_showfps Client

    Shows an fps counter at the top of the screen.

    Default 0 (Off)

    Crosshair and HUD

  176. cl_showpos Client

    Shows your position, angles and speed at the top of the screen.

    Default 0 (Off)

    Crosshair and HUD

  177. crosshair Client

    Toggles your crosshair on or off.

    Default Not listed

    Crosshair and HUD

  178. hud_classautokill Client

    Toggles dying automatically when you pick a new class outside the spawn room.

    Default Not listed

    Crosshair and HUD

  179. hud_combattext_blue Client

    Sets the blue part of the damage number color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  180. hud_combattext_green Client

    Sets the green part of the damage number color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  181. hud_combattext_healing Client

    Toggles showing health restored per second over the players you heal.

    Default Not listed

    Crosshair and HUD

  182. hud_combattext_red Client

    Sets the red part of the damage number color, from 0 to 255.

    Default Not listed

    Crosshair and HUD

  183. hud_fastswitch Client

    Toggles fast weapon switch, so number keys switch weapons right away without a confirm click.

    Default Not listed

    Crosshair and HUD

  184. hud_medicautocallers Client

    Toggles showing hurt teammates to Medics automatically, as if they called for a Medic.

    Default Not listed

    Crosshair and HUD

  185. hud_medicautocallersthreshold Client

    Sets the health percentage below which teammates show up as auto callers for Medics.

    Default Not listed

    Crosshair and HUD

  186. cl_flipviewmodels Client

    Toggles mirroring weapon models to the left side of the screen.

    Default Not listed

    Viewmodel

  187. fov_desired Client

    Sets your field of view in degrees, from 20 to 90.

    Default Not listed

    Viewmodel

  188. r_drawviewmodel Client

    Toggles drawing your weapon model on screen.

    Default 1 (On)

    Viewmodel

  189. tf_use_min_viewmodels Client

    Toggles minimal viewmodels, which move weapons to a smaller, centered position on screen.

    Default Not listed

    Viewmodel

  190. alias Both

    Creates a custom command name that runs one or more commands.

    Command

    Binds and input

  191. bind Both

    Assigns a command or a chain of commands to a key.

    Command

    Binds and input

  192. build Client

    Places an Engineer building, or a Spy sapper, without the build menu.

    Default (empty)

    Binds and input

  193. cl_autoreload Client

    Toggles reloading automatically whenever you are not firing.

    Default Not listed

    Binds and input

  194. cl_autorezoom Client

    Toggles the Sniper Rifle zooming back in after a scoped shot.

    Default Not listed

    Binds and input

  195. connect Client

    Joins a server directly by IP address and port.

    Command

    Binds and input

  196. destroy Client

    Blows up one of your Engineer buildings without opening the destroy menu.

    Default (empty)

    Binds and input

  197. disconnect Both

    Leaves the current server and returns to the main menu.

    Command

    Binds and input

  198. disguise Client

    Turns your Spy into a chosen class from the enemy or your own team.

    Command

    Binds and input

  199. explode Server

    Kills your character with an explosion, gibbing your body.

    Command

    Binds and input

  200. kill Server

    Makes your character die instantly, a suicide that respawns you on the next wave.

    Command

    Binds and input

  201. lastdisguise Client

    Puts your Spy back in the last disguise you used.

    Command

    Binds and input

  202. m_rawinput Client

    Toggles raw mouse input, which reads the mouse directly and ignores Windows pointer settings.

    Default Not listed

    Binds and input

  203. retry Client

    Reconnects to the last server you joined.

    Command

    Binds and input

  204. sensitivity Client

    Sets your mouse sensitivity.

    Default Not listed

    Binds and input

  205. taunt Client

    Performs the taunt for your active weapon.

    Default (empty)

    Binds and input

  206. tf_medigun_autoheal Client

    Toggles making the Medi Gun's primary fire a toggle instead of a hold.

    Default Not listed

    Binds and input

  207. unbind Both

    Removes the bind from one key.

    Command

    Binds and input

  208. unbindall Both

    Removes every key bind, including movement and the console key.

    Command

    Binds and input

  209. zoom_sensitivity_ratio Client

    Sets a sensitivity multiplier used while zoomed in, such as with the Sniper Rifle scope.

    Default Not listed

    Binds and input

  210. cl_ragdoll_fade_time Client

    Sets how many seconds ragdolls stay before they fade away.

    Default 15

    Graphics and performance

  211. fps_max Both

    Caps your frame rate. 0 removes the cap.

    Default 400

    Graphics and performance

  212. mat_antialias Both

    Sets the level of multisample anti-aliasing. 0 turns it off.

    Default 0

    Graphics and performance

  213. mat_picmip Both

    Sets texture quality. Higher values use blurrier, smaller textures for better performance.

    Default 0

    Graphics and performance

  214. mat_queue_mode Both

    Sets how the renderer uses CPU threads: default, single thread, or multithreaded.

    Default -1 (Default)

    Graphics and performance

  215. mat_vsync Both

    Toggles vertical sync, which locks frame rate to your monitor refresh rate to avoid tearing.

    Default 0 (Off)

    Graphics and performance

  216. r_3dsky Client

    Toggles rendering 3D skyboxes, the distant scenery outside the playable area.

    Default 1 (On)

    Graphics and performance

  217. snd_musicvolume Client

    Sets the music volume, from 0 to 1.

    Default Not listed

    Sound

  218. snd_restart Both

    Restarts the sound system.

    Command

    Sound

  219. tf_dingaling_pitchmaxdmg Client

    Sets the hit sound pitch for high-damage hits, 150 health or more.

    Default Not listed

    Sound

  220. tf_dingaling_pitchmindmg Client

    Sets the hit sound pitch for low-damage hits, 10 health or less.

    Default Not listed

    Sound

  221. tf_dingaling_volume Client

    Sets the hit sound volume, from 0 to 1.

    Default Not listed

    Sound

  222. tf_dingalingaling Client

    Toggles the hit sound that plays every time you damage an enemy.

    Default Not listed

    Sound

  223. tf_dingalingaling_lasthit Client

    Toggles the kill sound that plays when one of your attacks kills an enemy.

    Default Not listed

    Sound

  224. tf_sniper_fullcharge_bell Client

    Toggles a bell sound when your Sniper Rifle reaches full charge.

    Default Not listed

    Sound

  225. volume Client

    Sets the master game volume, from 0 to 1.

    Default Not listed

    Sound

  226. buddha Server

    Toggles buddha mode, where you take damage but cannot die. Requires sv_cheats 1.

    Command

    Cheats and practice

  227. ent_fire Server

    Sends an input to map entities, for example opening doors. Requires sv_cheats 1.

    Command

    Cheats and practice

  228. firstperson Client

    Switches back to the normal first person camera.

    Command

    Cheats and practice

  229. give Server

    Hands your player an item or weapon entity by class name.

    Command

    Cheats and practice

  230. god Server

    Toggles god mode so you take no damage. Requires sv_cheats 1.

    Command

    Cheats and practice

  231. host_timescale Server

    Sets game speed. 1 is normal, lower is slow motion, higher speeds the game up.

    Default 1

    Cheats and practice

  232. impulse Client

    Sends an impulse command. impulse 101 refills health and ammo when cheats are on.

    Command

    Cheats and practice

  233. noclip Server

    Toggles noclip, letting you fly through walls. Requires sv_cheats 1.

    Command

    Cheats and practice

  234. thirdperson Client

    Switches to a third person camera. Requires sv_cheats 1.

    Command

    Cheats and practice

  235. con_enable Client

    Toggles whether the developer console can be opened.

    Default Not listed

    Debug and developer

  236. cvarlist Both

    Lists console variables and commands, optionally filtered by a prefix.

    Command

    Debug and developer

  237. developer Both

    Sets the developer message level, which prints extra debug info to the screen and console.

    Default 0

    Debug and developer

  238. echo Both

    Prints text to the console.

    Command

    Debug and developer

  239. find Both

    Searches commands and settings for a word in their name or help text.

    Command

    Debug and developer

  240. help Both

    Shows the help text and current value of a command or setting.

    Command

    Debug and developer

Questions

How do I run TF2 commands on my server?

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg.

How do I use client commands in TF2?

Type it in your own game console: turn on the developer console in the game's settings, then press the key under Esc. To keep it, put the line in tf/cfg/autoexec.cfg.

How do I keep a setting after a restart?

Settings typed in the console last until the server restarts. Put them in tf/cfg/server.cfg, one per line, and they apply every time the server starts.

What is the difference between server and client commands?

Server commands change the server for everyone and are run in the server console or over RCON. Client commands change your own game, like your crosshair or viewmodel, and are typed in your game console. Entries marked both exist in both places.

Where does this list come from?

It is the game's own list: cvarlist on a SLASHPLAY TF2 server, plus the client list on the Valve Developer Community. The descriptions and examples on the written pages are by SLASHPLAY.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.