Skip to main content
Cheat commands grant powerful in-game effects for testing builds, debugging, or playing casually. They are only available after the lobby votes to enable cheat mode.

Enabling cheat mode

Type -enablecheat (or -ec) in chat to start a vote. All players must accept before cheat mode is enabled. Once active, a global announcement confirms the change and the cheat panel becomes visible in the HUD. Single-player mode and lobbies running with sv_cheats enabled on the server also unlock these commands without a vote.
Cheat mode cannot be disabled once enabled. Use it only in casual lobbies where all players agree.

Cheat command reference

Targeting other players

Most cheat commands apply to your own hero. To apply a cheat to a different player, append #<playerID> anywhere in your message:
This gives 50,000 gold to the player with ID 3. Use -pid to look up player IDs before doing this.

Notes

  • All commands are case-insensitive.
  • Commands in the cheat section only execute when util:isSinglePlayerMode() returns true, when Ingame.voteEnabledCheatMode is true, or (for some commands) when IsInToolsMode() is true.
  • Some commands behave differently or are disabled entirely when the server has native sv_cheats or tools mode active, to avoid conflicts with Valve’s built-in cheat system.