Team Fortress Console Commands
These are some of the more useful commands. For a full console command list, click here.
| achievement_debug | Turn on achievement debug messages. |
| achievement_status | Shows status of all achievements. |
| ai_show_grid | Draw a grid on the floor where you are looking. |
| banid | Add a user ID to the ban list. |
| banip | Add an IP address to the ban list. |
| bind | Bind a key. |
| blink_duration | How many seconds an eye blink will last. |
| bloodspray | Toggle blood. |
| changeclass | Choose a new class. |
| changelevel | Change the server to the specified map. |
| changeteam | Change teams. |
| cl_class | Default class when joining a game. |
| cl_drawhud | Enable or disable the rendering of the hud. |
| cl_logodecal | Spraypaint logo decal. |
| cl_screenshotname | Custom screenshot name. |
| fov | Change players field of vision. |
| gameui_allowescape | Escape key allowed to hide game UI. |
| gameui_allowescapetoshow | Escape key allow to show game UI. |
| gameui_hide | Hides the game user interface. |
| gameui_preventescape | Escape key doesn't hide game UI. |
| gameui_preventescapetoshow | Escape key doesn't show game UI. |
| hideconsole | Hide the game console. |
| jpeg | Take a jpeg screenshot. |
| kick | Kick a player by name. |
| kickid | Kick a player by userid with a message. |
| listid | Lists banned users. |
| listip | Lists all banned IP addresses. |
| mp_fadetoblack | Fades a players screen to black when he dies. |
| mp_forcecamera | Restricts spectator modes for dead players. |
| obj_sapper_amount | Amount of damage inflicted by a sapper per second. |
| removeid | Remove a userid from the ban list. |
| removeip | Remove an ip from the ban list. |
| restart | Restart the game on the same level. |
| retry | Retry connection to the last server. |
| save | Saves the current game. |
| say | Display player message. |
| say_team | Display player message to team. |
| screenshot | Take a screenshot. |
| showconsole | Show the developers console. |
| showstatsdlg | Show the player stats dialog. |
| spec_player | Spectate player by name. |
| startmovie | Start recording movie frames. |
| stop | Finish recording demo. |
| stopdemo | Stop playing back demo. |
| tf_stats_track | Turn stats tracking on and off. |
| togglescores | Toggle scores panel. |
| tv_autorecord | Automatically records all games as SourceTV demos. |
| tv_record | Starts SourceTV demo recording. |
| tv_stoprecord | Stops SourceTV demo recording. |

QUICK JUMP