Skip to content
/SLASHPLAY

How to enable the console in TF2

Turn on Enable developer console in Advanced keyboard options, or put con_enable 1 in autoexec.cfg. The ~ key then opens the console.

con_enable

Toggles whether the developer console can be opened.

con_enable <0|1>

Examples

con_enable 1

Enable the console.

Values

ValueWhat it does
0 Off
1 On

Arguments

0|1Required
1 allows opening the console.

What it does

Same as Enable developer console in Advanced keyboard options. With it on, the ~ key opens the console.

The game's own description: Allows the console to be activated.

Good to know

  • Many players also add -console to the launch options.

Use it in your game

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.

Your own
TF2 server.

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