Cheats and Codes List (Console Commands) - Valheim Guide - IGN (2024)

By

Matthew Adler,Angie Harvey,Marloes Valentina Stella,+23 more

updated

This page details everything you need to know about Valheim cheat codes and console commands, including how to enable cheats, how to spawn any item and monster in the game, how to enter debug mode, and a complete list of all cheats and codes the game has to offer.

Check out our Ashlands page to learn more about the new biome!

Console Commands and Cheat Codes

Whether you're looking to respawn some hard-earned items that you lost to the bottom of the ocean or are simply after something a little more relaxing like creative mode, use the index below to find out how to bend the world of Valheim to your will.

advertisem*nt

  • How to Use Cheats and Console Commands in Valheim
    • How to Use Cheats and Console Commands on Valheim Xbox
  • How to Enable Cheats
  • How to Spawn Any Item and Monster
    • All Valheim Spawn Commands
  • How to Enter Debug Mode (Creative Mode) in Valheim
  • All Cheats and Console Commands in Valheim
    • All Valheim Cheats and Codes
    • All Valheim Server Admin Commands

How to Use Cheats and Console Commands in Valheim

To start using cheats and other general console commands in Valheim, you will need to press F5 in order to bring up the console command box.

Before you can continue delving into the world of cheats, you will need to ensure that cheats are activated by typing "devcommands". However, it is worth noting that cheats can only be used in singleplayer and will not work on multiplayer servers.

In order to turn cheats off, simply retype "devcommands" into the console command box and watch as cheats are turned to false.

How to Use Cheats and Console Commands on Valheim Xbox

Without a keyboard at hand, using cheats and console commands in Valheim can be a bit tricky. However, you can use Cheats and Console Commands while playing Valheim on Xbox.

To open the console commands on Xbox, hold down your Right Bumper, Left Bumper, Right Trigger, and Left Trigger buttons all at the same time. Then press the Xbox "menu" button (the icon with three horizontal lines).

RB + LB + RT + LT + menu button

Once you have the console commands open in Valheim for Xbox, press A to bring up your Xbox keyboard.

advertisem*nt

To start using cheats and console commands in Valheim, you will need to type "devcommands". With this enabled, you can start using cheats and console commands for Valheim on Xbox! To stop using cheats, type "devcommands" into the console command box a second time. To close the console command box, press RB + LB + RT + LT + menu button a second time.

How to Hide Valheim UI

To hide the UI in Valheim - useful for screenshots - press CTRL + F3.

How to Spawn Any Item and Monster

WARNING: Please use the Spawn Item cheat at your own risk, as cheating can not only ruin your in-game experience but the items and quantity that use spawn into your world could potentially cause bugs, glitches, and possibly even break your world.

In order to spawn items through the console command cheat, you will need to first enable cheats by typing "devcommands". Once you have successfully enabled cheats, you will need to use the following code to spawn any item that you specify:

  • spawn [item] [quantity] [level] [p/e/i]

For example, the below code spawns in 50 Wood.

  • spawn Wood 50

Add an asterisk (*) after the item name to spawn every object containing that word. This includes furniture and non-equippable objects, too.

The letters p/e/i can be added to the end of the command for the following effects:

  • p - automatically attempt to pick up the spawned items
  • e - automatically attempt to use/equip the spawned items
  • i - will only spawn and pickup if you don't have one in your inventory.

advertisem*nt

All Valheim Spawn Commands

As you may imagine, there are hundreds of spawnable items in Valheim.

Some popular item spawn codes include:

  • AxeBronze
  • AxeBlackMetal
  • ArmorWolfChest
  • ArmorWolfLegs
  • SwordBlackmetal
  • SwordSilver
  • Wishbone
  • Coins
  • Silver
  • BlackMetal
  • Haldor
    • WARNING: Haldor the Merchant will spawn approximately one foot off the ground and cannot be removed from your game afterwards.
  • FineWood
  • Bronze
  • Iron
  • Wisp
  • FlametalOre
  • ArmorAshlandsMediumChest
  • ArmorAshlandsMediumLegs

For a more complete list of all spawnable items, Reddit user Demogrim complied a list that can be found here: Spawn Item Command List. However, this list is not updated for Hearth and Home and Mistlands. For Mistlands commands, you can use this list by Reddit user darth_static.

We also have an ItemsList page to find a detailed description, crafting recipe, and spawn code for every item that's available in Valheim.

How to Enter Creative Mode (Debug Mode) in Valheim

Alternatively, if you're looking for something that's more along the lines of Minecraft's Creative Mode, consider trying the "debugmode" command as this will enter the closest thing the game has to a Creative Mode. While in Debug Mode, you can press the following keys to enable the likes of Flying, Unlimited Items, and much more.

  • Z - Pressing Z while in Creative Mode will allow you to enter Flying Mode
  • K - Pressing K while in Creative Mode kills all enemies in the area.
  • B - Pressing B while in Creative Mode will allow you to repair any items without a Workbench, along with free placements of any items.

All Valheim Cheats and Console Commands

Listed below are all of the current console commands and cheats that you can enable while playing Valheim.

To see the list of console commands in-game, type help. There are 5 pages of commands, so if you wish to navigate through them all, add the page number after help (e.g. help 1).

advertisem*nt

All Valheim Cheat Codes

Character
CommandVariablesEffect
addstatus54 variables possible, including:
Burning, Cold, CorpseRun, Encumbered, Freezing, Rested
Adds status effect
beard1-16Change beard
clearstatusClear all status effects
dieKills player
ghostBecome invisible to mobs
godInvincible mode
hair1-23Change hair
healHeal to full health and stamina
model0-1Change player model (0 masculine, 1 feminine)
nocostNo build cost
nomapDisables map for this character. If used as host, will disable for all joining players from now on.
pukeEmpties your stomach of food
raiseskill[skill] [amount]Raises your skill
resetcharacterReset character data
resetskill[skill]Resets your skill
setpowerGP_Eikthyr
GP_TheElder
GP_Bonemass
GP_Moder
GP_Yagluth
GP_Queen
GP_Fader
Sets your current guardian power and resets cooldown
Map
CommandVariablesEffect
exploremapExplore entire map
find[text] [pingmax]Searches loaded objects and location list matching name and pings them on the map. Pingmax defaults to 1, if more will place pins on map instead
genlocRegenerate all locations
goto[x,z]Teleport to given coordinates
location
[location] (148 variables)
[SAVE]
Spawn a particular location - Warning: Saving permanently disabled, unless you specify SAVE
nextseedForces the next dungeon to a seed - Warning: Saving permanently disabled
nomapDisables map for this character. If used as host, will disable for all joining players from now on
optterrainOptimize old terrain modifications
posPrint current player position
printlocationsShows counts of loaded locations
printseedsPrint seeds of loaded dungeons
recall[name]Recalls all players to you, or matching name if specified
resetmapReset map exploration
resetsharedmapRemoves any shared map data from cartography table
resetspawnResets spawn location
Items
CommandVariablesEffect
forcedelete[radius] [*name]Force remove all objects within given radius. If name is entered, only deletes items with matching names. Radius default 5, max 50. Use at your own risk, create backups first
itemset[name] [keep]
Meadows
BlackForest
Swamps
Mountains
Plains
PlainsBoss
Mistlands
MistlandsGear
MistlandsMage
MistlandsWarrior
Fisherman
Ashlands
AshlandsFood
AshlandsMage
AshlandsMedium
AshlandsWarrior
AshlandsWeapons
Spawn a premade named set, add 'keep' to not drop current items
removedropsRemove all item drops in area
spawn[amount] [level] [p/e/i]Spawn something. End word with a star * to create each object containing that word. Add a 'p' after to try to pick up the spawned items, 'e' to try to use/equip, 'i' to only spawn and pickup if you don't have one in your inventory
Mobs
CommandEffect
aggravateAggravate all nearby neutrals
killallKill nearby creatures
killenemiesKill nearby enemies
killtameKill nearby tame creatures
printcreaturesShows counts and levels of active creatures
removebirdsRemove all birds
removefishRemove all fish
tameTame all nearby tameable creatures
World
CommandVariablesEffect
envClear
Twilight_Clear
Twilight_Snowstorm
Misty DeepForest
Darklands_dark
Heath clear
DeepForest
Mist
GDKing
Rain
LightRain
ThunderStorm
SnowStorm
SwampRain
AshRain
Bonemass
Eikthyr
Moder
Queen
GoblinKing
Crypt
SunkenCrypt
Caves
Mistlands_clear
Mistlands_rain
Mistlands_thunder
InfectedMine
nofogts
Ashlands_Ashrain
Ashlands_Ashrain_Clear
Ashlands_Storm
Ashlands_Meteorshower
Ashlands_Cinderrain
Ashlands_Misty
Ashlands_Seastorm
Override environment (weather).
eventarmy_eikthyr
army_goblin
army_theelder
army_bonemass
army_moder
army_gjall
army_seekers
army_charred
army_charredspawners
boss_eikthyr
boss_bonemass
boss_moder
boss_gdking
boss_goblinking
boss_queen
boss_fader
wolves
skeletons
blobs
foresttrolls
surtlings
bats
Start event
noportalsDisables portals for server
players[number]Force difficulty scale. 0 = reset
eventStart a random event
resetenvDisables environment override
resetwindResets wind
saveForce saving of world and reset world save interval
skiptime[gameseconds]Skips ahead in seconds
sleepSkips to next morning
stopeventStops current event
timeShows current time in-game
timescale[target]
[fadetime, default:1, max:3]
Sets timescale
tod-1, 0, 1Sets time of day
Server Admin
CommandVariablesEffect
ban[name/ip/userID]Ban user
bannedList banned users
kick[name/ip/userID]Kick user
pingShow ping
restartpartyRestart playfab party network
unban[ip/userID]Unban user
lodbiasSet draw distance for server
Misc
CommandVariablesEffect
bind[keycode] [command and parameters]Bind a key to a console command. May cause conflicts with game controls.
clearClear the console window.
debugmodeFly mode.
dpsdebugToggle dps debug print
exclusivefullscreenChanges window to exclusive fullscreen or back to borderless
gcShows garbage collector information
help1-5Shows list of console commands
infoPrint system info
listkeys
maxfps[FPS]Sets FPS limit
printbindsPrints current binds
removekey
resetbindsReset all custom binds to default
resetkeysClear global keys
setkey[name]Sets global key
tutorialresetReset tutorial data
tutorialtoggleToggles hugin hints
Camera
CommandVariablesEffect
flyToggles fly
freeflyToggles free camera
ffsmooth1 or 0Adds/removes free camera smooth movement
fov[number]Changes field of view

All Valheim Emotes

Emotes
blowkissheadbang
bowkneel
comeherelaugh
cowernonono
challengepoint
cheerroar
cryshrug
dancesit
despairthumbsup
flexwave
Emotes can also be activated in chat by adding / before the emote name.

Looking for more Valheim Guides? Why not check out our 15 Essential Tips and Tricks for Getting Started or even our How-To Guides hub to learn even more about the World of Valheim.

Up Next: 20 Essential Tips and Tricks for Getting Started in Valheim

PreviousValheim GuideNext20 Essential Tips and Tricks for Getting Started in Valheim

Top Guide Sections

  • Cheats and Codes List (Console Commands)
  • 20 Essential Tips and Tricks for Getting Started in Valheim
  • Adventurer's Guide: How to Prepare for a Valheim Adventure
  • Progression Guide

Was this guide helpful?

In This Guide

Cheats and Codes List (Console Commands) - Valheim Guide - IGN (1)

Valheim

Iron Gate AB

Xbox Series X|SXbox OnePC

Related Guides

OverviewCheats and Codes List (Console Commands)20 Essential Tips and Tricks for Getting Started in ValheimAdventurer's Guide: How to Prepare for a Valheim Adventure

Cheats and Codes List (Console Commands) - Valheim Guide - IGN (2024)
Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 6160

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.