Cheats

Cheats can be used in practice games to test various settings. Enable cheats in the lobby settings, then, once in game, type the command into the chat box.

Cheat Commands

 * -lvlup 
 * Gain x levels.


 * -levelbots 
 * All bots gain x levels.


 * -gold 
 * Gain x unreliable gold.


 * -item
 * Gives the player the named item. Refer to the internal item names, below.


 * -givebots
 * Gives all bots the named item.


 * -refresh
 * Gives the player full health and mana, and renews cooldowns.


 * -respawn
 * Moves the player to fountain, also respawning if dead.


 * -startgame
 * Sets the timer to 0:00, creeps spawn and game starts.


 * -spawncreeps
 * Spawns creeps instantly.


 * -spawnneutrals
 * Spawns neutral camps instantly, taking into account neutral spawn blocking.


 * -disablecreepspawn
 * -enablecreepspawn
 * Disables / enables lane creep spawning


 * -spawnrune
 * Spawns a rune randomly at one of the two rune spots.


 * -killcreeps
 * Kills all creeps.


 * -killwards
 * Destroys all wards.


 * -createhero
 * -createhero enemy
 * Creates named hero as a friendly or as an enemy. Hero will spawn at the location of your mouse pointer. Refer to the internal hero names, below.


 * -dumpbots
 * Displays AI status.


 * -wtf
 * -unwtf
 * Turn on or off "wtf" mode, where abilities have no mana cost or cooldown.


 * -allvision
 * -normalvision
 * Turn on or off "allvision" mode, where the player is given vision of both factions.


 * -createhero fountain
 * creates an immobile fountain to your side.

Equivalent Console Commands
Note: dota_workshoptest must be set to 1, or cheats must be enabled from the lobby, for some of these commands to work.

Item names
These are used with the -item and -givebots commands, e.g.


 * -item item_blink

Recipe only

 * item_recipe_abyssal_blade
 * item_recipe_ancient_janggo
 * item_recipe_arcane_boots
 * item_recipe_armlet
 * item_recipe_assault
 * item_recipe_basher
 * item_recipe_bfury
 * item_recipe_black_king_bar
 * item_recipe_blade_mail
 * item_recipe_bloodstone
 * item_recipe_bracer
 * item_recipe_buckler
 * item_recipe_butterfly
 * item_recipe_cyclone
 * item_recipe_dagon
 * item_recipe_desolator
 * item_recipe_diffusal_blade
 * item_recipe_ethereal_blade
 * item_recipe_force_staff
 * item_recipe_greater_crit
 * item_recipe_hand_of_midas
 * item_recipe_headdress
 * item_recipe_heart
 * item_recipe_heavens_halberd
 * item_recipe_helm_of_the_dominator
 * item_recipe_hood_of_defiance
 * item_recipe_invis_sword
 * item_recipe_lesser_crit
 * item_recipe_maelstrom
 * item_recipe_magic_wand
 * item_recipe_manta
 * item_recipe_mask_of_madness
 * item_recipe_medallion_of_courage
 * item_recipe_mekansm
 * item_recipe_mjollnir
 * item_recipe_monkey_king_bar
 * item_recipe_necronomicon
 * item_recipe_null_talisman
 * item_recipe_oblivion_staff
 * item_recipe_orchid
 * item_recipe_pers
 * item_recipe_phase_boots
 * item_recipe_pipe
 * item_recipe_poor_mans_shield
 * item_recipe_power_treads
 * item_recipe_radiance
 * item_recipe_rapier
 * item_recipe_refresher
 * item_recipe_ring_of_aquila
 * item_recipe_ring_of_basilius
 * item_recipe_rod_of_atos
 * item_recipe_sange
 * item_recipe_sange_and_yasha
 * item_recipe_satanic
 * item_recipe_sheepstick
 * item_recipe_shivas_guard
 * item_recipe_skadi
 * item_recipe_soul_booster
 * item_recipe_soul_ring
 * item_recipe_sphere
 * item_recipe_tranquil_boots
 * item_recipe_travel_boots
 * item_recipe_ultimate_scepter
 * item_recipe_urn_of_shadows
 * item_recipe_vanguard
 * item_recipe_veil_of_discord
 * item_recipe_vladmir
 * item_recipe_wraith_band
 * item_recipe_yasha

Syntax
These are used with the -createhero command as follows:


 * -createhero npc_dota_hero_clinkz
 * -createhero npc_dota_hero_lina enemy

The "npc_dota_hero_" portion is optional. The following commands are also valid:


 * -createhero clinkz
 * -createhero lina enemy

Additionally, the entirety of the hero's name need not be added if it is sufficiently long enough to identify the hero. For example, all of the following commands will spawn an allied Anti-Mage unit:


 * -createhero npc_dota_hero_antimage
 * -createhero antimage
 * -createhero an

The parameter need not necessarily be the beginning of their name either. The command,


 * -createhero mage

will also spawn an Anti-Mage, just as how the commands,


 * -createhero pain
 * -createhero bringer
 * -createhero zor

will spawn Queen of Pain, Doom, and Razor units respectively.

Internal names
These internal names can be found inside the text files within the item builds folder, at:


 * Steam\steamapps\common\dota 2 beta\dota\itembuilds

Most of these internal names are the same as the hero's given name. However if a hero has two words in its name (i.e. Ancient Apparition) then as a rule of thumb its internal name will join the words with an underscore (i.e. ancient_apparition). There are few exceptions whose internal names do not use underscores or directly mirror the hero's name.

All of the hero internal names are:
 * npc_dota_hero_abaddon
 * npc_dota_hero_alchemist
 * npc_dota_hero_ancient_apparition
 * npc_dota_hero_antimage
 * npc_dota_hero_axe
 * npc_dota_hero_bane
 * npc_dota_hero_batrider
 * npc_dota_hero_beastmaster
 * npc_dota_hero_bloodseeker
 * npc_dota_hero_bounty_hunter
 * npc_dota_hero_brewmaster
 * npc_dota_hero_bristleback
 * npc_dota_hero_broodmother
 * npc_dota_hero_centaur
 * npc_dota_hero_chaos_knight
 * npc_dota_hero_chen
 * npc_dota_hero_clinkz
 * npc_dota_hero_crystal_maiden
 * npc_dota_hero_dark_seer
 * npc_dota_hero_dazzle
 * npc_dota_hero_death_prophet
 * npc_dota_hero_disruptor
 * npc_dota_hero_doom_bringer
 * npc_dota_hero_dragon_knight
 * npc_dota_hero_drow_ranger
 * npc_dota_hero_earth_spirit
 * npc_dota_hero_earthshaker
 * npc_dota_hero_elder_titan
 * npc_dota_hero_ember_spirit
 * npc_dota_hero_enchantress
 * npc_dota_hero_enigma
 * npc_dota_hero_faceless_void
 * npc_dota_hero_furion
 * npc_dota_hero_gyrocopter
 * npc_dota_hero_huskar
 * npc_dota_hero_invoker
 * npc_dota_hero_jakiro
 * npc_dota_hero_juggernaut
 * npc_dota_hero_keeper_of_the_light
 * npc_dota_hero_kunkka
 * npc_dota_hero_legion_commander
 * npc_dota_hero_leshrac
 * npc_dota_hero_lich
 * npc_dota_hero_life_stealer
 * npc_dota_hero_lina
 * npc_dota_hero_lion
 * npc_dota_hero_lone_druid
 * npc_dota_hero_luna
 * npc_dota_hero_lycan
 * npc_dota_hero_magnataur
 * npc_dota_hero_medusa
 * npc_dota_hero_meepo
 * npc_dota_hero_mirana
 * npc_dota_hero_morphling
 * npc_dota_hero_naga_siren
 * npc_dota_hero_necrolyte
 * npc_dota_hero_nevermore
 * npc_dota_hero_night_stalker
 * npc_dota_hero_nyx_assassin
 * npc_dota_hero_obsidian_destroyer
 * npc_dota_hero_ogre_magi
 * npc_dota_hero_omniknight
 * npc_dota_hero_phantom_assassin
 * npc_dota_hero_phantom_lancer
 * npc_dota_hero_phoenix
 * npc_dota_hero_puck
 * npc_dota_hero_pudge
 * npc_dota_hero_pugna
 * npc_dota_hero_queenofpain
 * npc_dota_hero_rattletrap
 * npc_dota_hero_razor
 * npc_dota_hero_riki
 * npc_dota_hero_rubick
 * npc_dota_hero_sand_king
 * npc_dota_hero_shadow_demon
 * npc_dota_hero_shadow_shaman
 * npc_dota_hero_shredder
 * npc_dota_hero_silencer
 * npc_dota_hero_skeleton_king
 * npc_dota_hero_skywrath_mage
 * npc_dota_hero_slardar
 * npc_dota_hero_slark
 * npc_dota_hero_sniper
 * npc_dota_hero_spectre
 * npc_dota_hero_spirit_breaker
 * npc_dota_hero_storm_spirit
 * npc_dota_hero_sven
 * npc_dota_hero_templar_assassin
 * npc_dota_hero_terrorblade
 * npc_dota_hero_tidehunter
 * npc_dota_hero_tinker
 * npc_dota_hero_tiny
 * npc_dota_hero_treant
 * npc_dota_hero_troll_warlord
 * npc_dota_hero_tusk
 * npc_dota_hero_undying
 * npc_dota_hero_ursa
 * npc_dota_hero_vengefulspirit
 * npc_dota_hero_venomancer
 * npc_dota_hero_viper
 * npc_dota_hero_visage
 * npc_dota_hero_warlock
 * npc_dota_hero_weaver
 * npc_dota_hero_windrunner
 * npc_dota_hero_wisp
 * npc_dota_hero_witch_doctor
 * npc_dota_hero_zuus

Spawning creeps
You are also able to spawn creeps with the -createhero command.

All of the creep names are:
 * npc_dota_units_base
 * npc_dota_thinker
 * npc_dota_creep_badguys_ranged
 * npc_dota_creep_badguys_ranged_upgraded
 * npc_dota_creep_goodguys_ranged
 * npc_dota_creep_goodguys_ranged_upgraded
 * npc_dota_creep_badguys_melee
 * npc_dota_creep_badguys_melee_upgraded
 * npc_dota_creep_goodguys_melee
 * npc_dota_creep_goodguys_melee_upgraded
 * npc_dota_goodguys_tower1_top
 * npc_dota_goodguys_tower1_mid
 * npc_dota_goodguys_tower1_bot
 * npc_dota_badguys_tower1_top
 * npc_dota_badguys_tower1_mid
 * npc_dota_badguys_tower1_bot
 * npc_dota_goodguys_fillers
 * npc_dota_badguys_fillers
 * npc_dota_goodguys_melee_rax_top
 * npc_dota_goodguys_melee_rax_mid
 * npc_dota_goodguys_melee_rax_bot
 * npc_dota_goodguys_range_rax_top
 * npc_dota_goodguys_range_rax_mid
 * npc_dota_goodguys_range_rax_bot
 * npc_dota_badguys_melee_rax_top
 * npc_dota_badguys_melee_rax_mid
 * npc_dota_badguys_melee_rax_bot
 * npc_dota_badguys_range_rax_top
 * npc_dota_badguys_range_rax_mid
 * npc_dota_badguys_range_rax_bot
 * npc_dota_goodguys_fort
 * npc_dota_badguys_fort
 * npc_dota_goodguys_siege
 * npc_dota_badguys_siege
 * npc_dota_juggernaut_healing_ward
 * npc_dota_neutral_kobold
 * npc_dota_neutral_kobold_tunneler
 * npc_dota_neutral_kobold_taskmaster
 * npc_dota_neutral_centaur_outrunner
 * npc_dota_neutral_centaur_khan
 * npc_dota_neutral_fel_beast
 * npc_dota_neutral_polar_furbolg_champion
 * npc_dota_neutral_polar_furbolg_ursa_warrior
 * npc_dota_neutral_mud_golem
 * npc_dota_neutral_ogre_mauler
 * npc_dota_neutral_ogre_magi
 * npc_dota_neutral_giant_wolf
 * npc_dota_neutral_alpha_wolf
 * npc_dota_neutral_wildkin
 * npc_dota_neutral_enraged_wildkin
 * npc_dota_neutral_satyr_soulstealer
 * npc_dota_neutral_satyr_hellcaller
 * npc_dota_neutral_jungle_stalker
 * npc_dota_neutral_elder_jungle_stalker
 * npc_dota_neutral_blue_dragonspawn_sorcerer
 * npc_dota_neutral_blue_dragonspawn_overseer
 * npc_dota_neutral_rock_golem
 * npc_dota_neutral_granite_golem
 * npc_dota_neutral_big_thunder_lizard
 * npc_dota_neutral_small_thunder_lizard
 * npc_dota_neutral_gnoll_assassin
 * npc_dota_neutral_ghost
 * npc_dota_neutral_dark_troll
 * npc_dota_neutral_dark_troll_warlord
 * npc_dota_neutral_satyr_trickster
 * npc_dota_neutral_forest_troll_berserker
 * npc_dota_neutral_forest_troll_high_priest
 * npc_dota_neutral_harpy_scout
 * npc_dota_neutral_harpy_storm
 * npc_dota_neutral_black_drake
 * npc_dota_neutral_black_dragon
 * npc_dota_necronomicon_warrior_1
 * npc_dota_necronomicon_archer_1
 * npc_dota_observer_wards
 * npc_dota_sentry_wards
 * npc_dota_courier
 * npc_dota_flying_courier // deprecated
 * npc_dota_witch_doctor_death_ward
 * npc_dota_shadow_shaman_ward_1
 * npc_dota_venomancer_plague_ward_1
 * npc_dota_lesser_eidolon
 * npc_dota_eidolon
 * npc_dota_greater_eidolon
 * npc_dota_dire_eidolon
 * npc_dota_furion_treant
 * npc_dota_invoker_forged_spirit
 * npc_dota_broodmother_spiderling
 * npc_dota_broodmother_spiderite
 * npc_dota_dark_troll_warlord_skeleton_warrior
 * npc_dota_enraged_wildkin_tornado
 * npc_dota_roshan
 * npc_dota_warlock_golem_1
 * npc_dota_warlock_golem_scepter_1
 * npc_dota_scout_hawk
 * npc_dota_greater_hawk
 * npc_dota_beastmaster_boar
 * npc_dota_beastmaster_greater_boar
 * npc_dota_brewmaster_earth_1
 * npc_dota_brewmaster_storm_1
 * npc_dota_brewmaster_fire_1
 * npc_dota_pugna_nether_ward_1
 * npc_dota_templar_assassin_psionic_trap
 * npc_dota_rattletrap_cog
 * npc_dota_rattletrap_rocket
 * npc_dota_broodmother_web
 * npc_dota_stormspirit_remnant
 * npc_dota_weaver_swarm
 * npc_dota_gyrocopter_homing_missile
 * npc_dota_plasma_field
 * npc_dota_lycan_wolf1
 * npc_dota_lone_druid_bear1
 * roshan_halloween
 * greevil
 * tombstone
 * zombie
 * frozen_sigil
 * phoenix_sun
 * familiar

Note: This might cause bugs

Note: This list is outdated and might not contain wraith night creeps