Skip to content
/SLASHPLAY

How to enable cheats in TF2

Type sv_cheats 1 in the server console to allow cheat commands like noclip and god. Achievements and item drops stop until sv_cheats 0.

sv_cheats

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

sv_cheats <0|1>

Examples

sv_cheats 1

Enable cheats on a local or practice server.

sv_cheats 0

Disable cheats.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 enables cheat commands.

What it does

Needed for practice and testing commands. Achievements and item drops are disabled while cheats are on. Never leave it on for a public server.

The game's own description: Allow cheats on server

Good to know

  • Setting it back to 0 resets cheat-protected settings to their defaults.

Run it on your 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. New to this? Start a TF2 server first.

Your own
TF2 server.

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