Posted on May 25, 2024 · Updated on November 18, 2026
Valheim Console Commands and Spawn Codes (1.0 Full List)
by Clay B.
Valheim console commands let you spawn items, skip time, fly around your world, and run your server. This guide covers every command that works in Valheim 1.0 (Deep North, released September 9, 2026), how to open the console on each platform, what cheats now do to your achievements, and the Valheim spawn codes you need to spawn items and creatures, including the new Deep North boss, materials, weapons and armour.
Last checked: November 18, 2026, Valheim 1.0.21.
How to Open the Console in Valheim
On PC the console is turned off by default. Since patch 0.221.4 you can switch it on in the gameplay settings, or force it on with the -console launch option.
| Platform | How to enable the console |
|---|---|
| Steam | Right-click Valheim in your library, open Properties, and add -console to Launch Options. Press F5 in game. |
| PC Game Pass | Create a shortcut to C:\XboxGames\Valheim\Content\Valheim.exe, add -console to the end of the shortcut's Target field, then launch from that shortcut. Press F5 in game. |
| Xbox | The console is enabled by default on Xbox, so no setup is needed. Press LB + LT + Start to open it. |
On a controller, LB + LT + Start opens the console once it is enabled. Source: Iron Gate's How to enable developer mode guide.
Once the console is open:
- Type
devcommandsand press Enter to turn cheats on. Type it again to turn them off. - Type a command and press Enter.
- Type
helpto list every command your game version supports, with descriptions.
Cheats and Achievements in Valheim 1.0
Valheim 1.0 added achievements, and cheats now affect them:
- Most cheat commands, such as
spawn, flag your character and world so they can no longer earn achievements. A few, such asfreefly, do not. - Hammer mode counts as a temporary cheat.
- Items created with cheat commands are marked as cheated item in your inventory. A clean character that picks one up enters a temporary cheat state.
- If you have already used dev commands and still want achievements, hotfix 1.0.12 added an opt-in command:
yesiuseddevcommandsbutiwantmyachievementsanyway. It is Steam only, and you type it in your own game's console, not on the server.
Source: Valheim 1.0 FAQ and the 1.0.10 and 1.0.12 hotfix notes.
Using Cheats on a Dedicated Server
Cheat commands only work in single player or in a world you host from your own game. They do not work on a dedicated server, and being on the server's admin list does not unlock them. To use cheats on a dedicated server, install BepInEx and the Server devcommands mod. On a Host Havoc server you can install BepInEx in one click. For more mods, see our guide on installing mods on your Valheim server.
Player Commands (No Cheats Needed)
| Command | What it does |
|---|---|
| help | Lists all available commands |
| info | Prints system information |
| ping | Shows your latency to the server |
| clear | Clears the console |
| fov [number] | Changes your field of view |
| lodbias [1-5] | Changes draw distance |
| nomap | Toggles the map on or off |
| noportals | Toggles portals on or off |
| printseeds | Shows the seeds of nearby dungeons |
| resetsharedmap | Clears map data shared through cartography tables |
| resetspawn | Resets your spawn point |
| respawn | Kills your character so you respawn |
| s [message] / say [message] | Shouts or says a message in chat |
| W [player] [message] | Whispers to a player |
| bind [keycode] [command] | Binds a command to a key |
| unbind [keycode] / printbinds / resetbinds | Removes, lists, or resets your key binds |
| tutorialreset / tutorialtoggle | Resets or toggles the tutorial hints |
Emote commands also work without cheats: challenge, cheer, nonono, point, sit, thumbsup, wave.
Admin Commands for Valheim Servers
These work on a dedicated server when your SteamID64 or crossplay player ID is listed in the server's adminlist.txt. Bans and whitelists live in bannedlist.txt and permittedlist.txt, and both accept the older Steam_ ID format and the newer V_ format.
| Command | What it does | Example |
|---|---|---|
| kick [name/ip/userID] | Kicks a player from the server | kick Player1 |
| ban [name/ip/userID] | Bans a player | ban Player1 |
| unban [name/ip/userID] | Removes a ban | unban Player1 |
| banned | Lists banned players | banned |
| save | Saves the world | save |
| setworldmodifier [name] [value] | Changes a world modifier | setworldmodifier raids none |
| setworldpreset [name] | Applies a world preset | setworldpreset hardcore |
| resetworldkeys | Resets the world's progression keys | resetworldkeys |
New to running a server? See our Valheim dedicated server setup guide.
Cheat Commands (devcommands Required)
Movement and Survival
| Command | What it does |
|---|---|
| god | Toggles god mode |
| ghost | Enemies ignore you |
| fly | Toggles fly mode |
| freefly | Free camera mode. Use ffsmooth 1 or ffsmooth 0 to smooth it |
| heal | Fully heals your character |
| puke | Clears your food buffs |
| nocost | Build and craft without materials |
| goto [x] [z] | Teleports you to coordinates |
| pos | Shows your current coordinates |
| find [text] / findtp [text] | Finds the nearest object matching the text, or teleports to it |
Debug Mode Keys
Type debugmode to toggle debug mode, then use these keys:
| Key | Effect |
|---|---|
| Z | Fly (Space to rise, Ctrl to descend) |
| B | Build without a workbench or materials |
| K | Kill nearby enemies |
| L | Remove item drops nearby |
| Ctrl + middle mouse (on the map) | Teleport to that spot |
Spawn Items and Creatures, Gear and Skills
| Command | What it does | Example |
|---|---|---|
| spawn [name] [amount] [level] | Spawns an item or creature. Names are not case sensitive | spawn Wood 50 |
| itemset [name] | Gives a preset gear set (Meadows through Ashlands, plus AshlandsMage, AshlandsWarrior, AshlandsFood, AshlandsWeapons, AshlandsMedium, Fisherman) | itemset Ashlands |
| raiseskill [skill] [amount] | Raises a skill. Use All for every skill | raiseskill Swords 20 |
| resetskill [skill] | Resets a skill. Use All for every skill | resetskill All |
| removedrops | Removes all dropped items nearby | removedrops |
| forcedelete [radius] [name] | Deletes objects in a radius | forcedelete 10 Beech1 |
| tame | Tames all tameable creatures nearby | tame |
| hair [#] / beard [#] / model [0-1] | Changes your appearance | hair 3 |
World, Time and Weather
| Command | What it does | Example |
|---|---|---|
| tod [0-1] | Sets time of day (0 is midnight, 0.5 is noon, -1 reverts) | tod 0.5 |
| skiptime [seconds] | Skips time forward (default 240 seconds) | skiptime 600 |
| sleep | Skips one day | sleep |
| env [name] / resetenv | Forces a weather environment, or resets it | env Clear |
| wind [angle] [intensity] / resetwind | Sets the wind, or resets it | wind 90 1 |
| exploremap / resetmap | Reveals the whole map, or hides it again | exploremap |
| location [name] [SAVE] | Spawns a location. Without SAVE, saving is disabled for that world permanently | location Vendor_BlackForest SAVE |
| setkey / removekey / resetkeys / listkeys | Manages global progression keys | listkeys |
| players [number] | Sets difficulty scaling as if that many players were online | players 3 |
Combat and Events
| Command | What it does | Example |
|---|---|---|
| killall | Kills every creature nearby, including tames | killall |
| killenemies | Kills nearby enemies only | killenemies |
| killtame | Kills nearby tamed creatures | killtame |
| event [name] | Starts a raid event | event army_eikthyr |
| stopevent | Stops the current event | stopevent |
| randomevent | Starts a random event | randomevent |
| addstatus [name] / clearstatus | Adds or clears status effects | clearstatus |
| setpower [name] | Sets your Forsaken power | setpower GP_Moder |
Event IDs: army_eikthyr, army_theelder, army_bonemass, army_moder, army_goblin, army_gjall, army_seekers, army_charred, army_charredspawners, foresttrolls, blobs, ghosts, skeletons, surtlings, wolves, bats, hildirboss1, hildirboss2, hildirboss3. Deep North added two new raids, but their event IDs have not been published yet.
New Dev Commands in Valheim 1.0
The 1.0 update added 19 dev commands. Iron Gate has not published descriptions outside the game, so type help in the console to read what each one does in your version:
confirmcheats, achievements, getstat, haslocation, snow, updatecover, cinematic, cinematicsleep, inventorysize, inventoryclean, clearpopups, height, pevents, repairall, resetbuildui, biomeinfo, altbiomes, findbiome, findbiometp
Since patch 1.0.14, pevents (persistent events) also requires devcommands. For everything else that changed in 1.0, read our Valheim 1.0 patch notes for server owners.
Valheim Spawn Codes: Item and Creature IDs
To spawn items in Valheim with console commands, open the console, type devcommands, then use spawn [ID] [amount] [level]. Spawn codes are not case sensitive.
Bosses
| Boss | Spawn ID |
|---|---|
| Eikthyr | Eikthyr |
| The Elder | gd_king |
| Bonemass | Bonemass |
| Moder | Dragon |
| Yagluth | GoblinKing |
| The Queen | SeekerQueen |
| Fader | Fader |
| Kall Fimbulbringer (Deep North) | FrozenKing |
The game files also contain FrozenKing_p2 and FrozenKing_p3, which are phase variants of the Deep North boss fight.
Common Materials
| Item | Spawn ID |
|---|---|
| Wood | Wood |
| Fine wood | FineWood |
| Core wood | RoundLog |
| Ancient bark | ElderBark |
| Stone | Stone |
| Flint | Flint |
| Resin | Resin |
| Copper | Copper |
| Tin | Tin |
| Bronze | Bronze |
| Iron | Iron |
| Silver | Silver |
| Black metal | BlackMetal |
| Obsidian | Obsidian |
| Crystal | Crystal |
| Linen thread | LinenThread |
| Eitr | Eitr |
| Surtling core | SurtlingCore |
| Troll hide | TrollHide |
| Coins | Coins |
Ashlands Creatures
| Creature | Spawn ID |
|---|---|
| Charred Warrior | Charred_Melee |
| Charred Marksman | Charred_Archer |
| Charred Warlock | Charred_Mage |
| Charred Twitcher | Charred_Twitcher |
| Lord Reto | Charred_Melee_Dyrnwyn |
| Morgen | Morgen |
| Asksvin | Asksvin |
| Volture | Volture |
| Fallen Valkyrie | FallenValkyrie |
| Bonemaw Serpent | BonemawSerpent |
| Lava Blob | BlobLava |
| Skugg | piece_Charred_Balista |
Ashlands Materials
| Item | Spawn ID |
|---|---|
| Flametal | FlametalNew |
| Flametal ore | FlametalOreNew |
| Ashwood | Blackwood |
| Grausten | Grausten |
| Charcoal resin | CharcoalResin |
| Ceramic plate | CeramicPlate |
| Asksvin hide | AskHide |
| Molten core | MoltenCore |
Deep North Creatures
| Creature | Spawn ID |
|---|---|
| Moose | Moose |
| Writhan | Writhan |
| Gammeltroll | TrollFrost |
| Barka | Barka |
| Elaking | Elaking |
| Seal | Seal |
Other Deep North creature IDs in the game files: JotunWarrior, JotunWitch, FrostWisp.
Deep North Materials
| Item | Spawn ID |
|---|---|
| Bloodgold | Gold |
| Petrified tissue | GoldOre |
| Timberwood | Frostwood |
| Nornathread | NornThread |
| Frostcore | FrostCore |
| Liquid frost | FrozenFuel |
Deep North Weapons
Each Bloodgold weapon comes in three versions: the base Nord weapon, Frostfire, and Thunderblood.
| Weapon | Nord | Frostfire | Thunderblood |
|---|---|---|---|
| Atgeir | AtgeirGold | AtgeirGold_FrostFire | AtgeirGold_BloodLightning |
| Axe | AxeGold | AxeGold_FrostFire | AxeGold_BloodLightning |
| Bow | BowGold | BowGold_FrostFire | BowGold_BloodLightning |
| Crossbow | CrossbowGold | CrossbowGold_FrostFire | CrossbowGold_BloodLightning |
| Dagger | KnifeGold | KnifeGold_FrostFire | KnifeGold_BloodLightning |
| Greataxe | BattleaxeGold | BattleaxeGold_FrostFire | BattleaxeGold_BloodLightning |
| Greatsword | THSwordGold | THSwordGold_FrostFire | THSwordGold_BloodLightning |
| Knucklechains | FistGold | FistGold_FrostFire | FistGold_BloodLightning |
| Mace | MaceGold | MaceGold_FrostFire | MaceGold_BloodLightning |
| Sledge | SledgeGold | SledgeGold_FrostFire | SledgeGold_BloodLightning |
| Spear | SpearGold | SpearGold_FrostFire | SpearGold_BloodLightning |
| Sword | SwordGold | SwordGold_FrostFire | SwordGold_BloodLightning |
Shields: Nord Shield ShieldGold, Nord Buckler ShieldGoldBuckler, Nord Greatshield ShieldGoldTower.
Deep North Armour
| Set | Helmet | Chest | Legs |
|---|---|---|---|
| Protector (heavy) | HelmetDNHeavy | ArmorDeepNorthHeavyChest | ArmorDeepNorthHeavylegs |
| Vanguard (medium) | HelmetDNMediumHood | ArmorDeepNorthMediumChest | ArmorDeepNorthMediumlegs |
| Caller (mage) | HelmetDNMage | ArmorDeepNorthMageChest | ArmorDeepNorthMagelegs |
Capes: Moose Hide Cape CapeDeepNorth, Cape of the Caller CapeDeepNorthMage.
Deep North spawn codes above are checked against the Jotunn item list, which is generated from the game files. To check an ID yourself, use find [text] with devcommands on, or see the full Valheim Item IDs list.
Frequently Asked Questions
Why does F5 not open the console?
The console is off by default. Turn it on in the gameplay settings or add -console to your launch options, then restart the game.
Do console commands disable achievements in Valheim?
Most cheat commands flag your character and world so they can't earn achievements, and cheated items are marked. On Steam, type yesiuseddevcommandsbutiwantmyachievementsanyway to opt back in. The command is not available on other platforms.
Can I use cheats on a dedicated server? Not by default. Admins can kick, ban, and save, but cheats need the Server devcommands mod on a dedicated server.
How do I spawn items in Valheim?
Open the console, type devcommands, then spawn [ID] [amount], for example spawn Iron 30.
What are the Valheim spawn codes for Deep North items?
Bloodgold is Gold, Petrified tissue is GoldOre, Timberwood is Frostwood, and Nornathread is NornThread. Weapons use the Gold suffix, such as SwordGold, SwordGold_FrostFire and SwordGold_BloodLightning. See the Deep North tables above for the full list.
How do I open the console on Xbox? The console is enabled by default on Xbox. Press LB + LT + Start on your controller.
Run Your Own Valheim Server
If you want a world that stays online for your group, with mods and admin tools ready to go, Host Havoc's Valheim server hosting has one-click BepInEx and 24/7 support, and every server comes with our 72-hour money-back guarantee.