Here is a list of some of the more common cheat/console commands that can be used in a private game that has cheats enabled. All commands are entered as if you wanted to send a message to other players (ENTER by default).
Hero
-lvlup [value]
Usage: -lvlup 10
- Increases level by [value].
- Capped at 25.
- Does not accept negative values.
-gold [value]
Usage: -gold 1000
- Increases your gold by [value].
- Positive and negative values are allowed.
- Max gold is 16383.
-item [item]
Usage: -item item_ultimate_scepter Gives your hero [item].
- Item IDs can be found on item pages under Extra Information.
-respawn
- Respawns your hero at the fountain.
-refresh
- Resets all cooldowns and HP/Mana.
Game
-startgame
- Skips count down timer and spawns the first creep wave.
-wtf
- Removes all cooldowns and mana costs from all units.
-unwtf
- Undo the -wtf command.
-dumpbots
- Briefly displays the current state of all heroes and bots.
-ping
- Briefly displays your current ping and packet loss in the top right corner of your screen.
-createhero [unitname] [enemy]
- Creates [unitname] at your mouse cursor position. Heroes will be taken control by an idle bot. Hero IDs can be found on hero pages under Extra Information.
Bots
-levelbots [value]
- Levels all bots by [value].
-givebots [item]
- Gives [item] to all bots.
- Item IDs can be found on item pages under Extra Information.
Creeps
-spawnneutrals
- Spawns all neutral creeps. Does not respawn Roshan.
-spawncreeps
- Spawns a wave of creeps. The server will disconnect you if there are to many creeps out at once.
-disablecreepspawn
- Disables the spawning of creep waves.
-enablecreepspawn
- Enables the spawning of creep waves.
Vision
-allvision
- Grants vision of all Radiant and Dire units.
-normalvision
- Grants normal vision of only your teams units.
-clearwards
- Removes all Observer Wards from the map.
-killwards
- Removes all wards from the map.