Console Commands, Cheats and Mods
Valheim's developer console as a reference: how to open it on PC, PS5 and Xbox, devcommands and debug mode, the commands people actually use with Jade PG's 1.0 notes on spawn ids and inventorysize, the commands 1.0 added, how cheating flags a save against achievements and the devcommand that undoes it, plus BepInEx, Thunderstore and Iron Gate's stance on mods.
Turn the console on in the gameplay settings, open it with F5 (or the controller combination in the table below), and type devcommands: that is the whole of cheating in Valheim 1.0, and since Sep 9, 2026 it costs a character and world their achievements until the opt-in devcommand of patch 1.0.12 is used. The developer console is the game's built-in command line, used for server administration, for debugging and, once devcommands is entered, for flying, spawning items and creatures, changing the weather, teleporting and building without materials. It exists on every platform, and since patch 0.221.4 of September 2025 it is switched on from a gameplay setting rather than a launch argument (Iron Gate). Mods are a separate thing: unofficial, PC-only, and loaded by a community tool rather than by the game.
Quick facts
| Enable the console | Settings, gameplay tab; the -console launch argument overrides it |
| Open the console | F5 on PC; L1 + L2 + Options on PS5; LB + LT + RB + RT + Menu on Xbox |
| Enable cheats | devcommands, then confirm; the same command turns them off |
| Works on | Single-player and in-game hosted worlds; on a server only admin commands work reliably |
| Achievements | Most commands permanently flag the character and world; freefly is an exception |
| Undo the flag | The 1.0.12 devcommand yesiuseddevcommandsbutiwantmyachievementsanyway |
| Official mod support | None, on any platform, and no Steam Workshop |
| Mod loader | BepInEx, from Thunderstore and Nexus Mods |
Sources: Iron Gate 1.0 FAQ; Hotfix 1.0.10 & 1.0.12; Jade PG for the controller combinations and server behavior.
devcommands and debugmode
With the console open, devcommands turns cheats on and answers with the new state, devcommands true. Since 1.0 a confirmation is required (the console asks for confirmcheats) so that nobody marks a save as cheated by accident. The command has carried that name since patch 0.148.6 of March 2021, when it replaced imacheater (Iron Gate).
debugmode adds keyboard shortcuts: K kills every creature nearby, tames included, B is free building and crafting, L clears item drops, and Z flies with space and control for height. Console players type the same things by name: nocost, removedrops, fly, and killenemies to spare the tames. With debug mode on, Ctrl and a middle click on the map teleports on PC; on Xbox it is LT with X, on PlayStation LT with square.
The commands people use
The commands Jade PG walks through in his Sep 10, 2026 guide for 1.0:
| Command | What it does |
|---|---|
god / ghost |
Invulnerability / creatures ignore you |
fly |
Free flight, unseen by enemies until you land |
nocost |
Build and craft without materials |
spawn [id] [amount] [level] |
Spawns an item or creature |
tame |
Tames every tameable creature nearby |
killall / killenemies |
Kills everything nearby, or enemies only |
raiseskill [skill] [n] / resetskill |
Raises a skill (capped at 100), or all of them; or lowers one |
itemset [name] |
A ready-made kit of gear for one biome; resets skills to suit it |
event [name] / stopevent / randomevent |
Starts or stops a raid |
env [name] / wind [angle] [strength] |
Forces weather and wind |
tod [0-1] / skiptime [seconds] / timescale [n] |
Sets, skips, slows or speeds up time |
exploremap / resetsharedmap / pos |
Reveals the map, clears shared map data, prints coordinates |
find [text] / findtp [text] |
Pings matches, or teleports to the nearest |
forcedelete [radius] |
Deletes objects around the player |
recall / setpower [name] |
Pulls every player to you; sets a Forsaken power |
puke / clearstatus |
Clears food, or status effects |
spawn is the one people come for, and the one that catches them out: an internal name is often not the name on the item, so Bloodstone is GemstoneRed while black metal is simply BlackMetal, and a command with no number at the end spawns one. The console autocompletes with Tab, which is the only practical way to find an id; for armor and weapons Jade PG uses nocost instead and crafts the piece.
forcedelete is the dangerous one. It removes everything in a radius (trees, ore and any build pieces standing there) and a careless radius can take a base with it. It is also one of the few ways to clear the mist of the Mistlands from one spot, because that mist is an object rather than weather.
The commands 1.0 added
The Valheim 1.0 Release came with a batch of new commands, listed in the patch notes as confirmcheats, achievements, getstat, haslocation, snow, updatecover, cinematic, cinematicsleep, inventorysize, inventoryclean, clearpopups, height, pevents, repairall, resetbuildui, biomeinfo, altbiomes, findbiome and findbiometp, their descriptions in the console's own help output (1.0 patch notes).
In Jade PG's Sep 10, 2026 guide () inventorysize 1 left his Viking the hotbar alone, inventorysize 5 or 6 added one or two rows, and 7, 8 or 9 went further still: the same rows Haldor now sells as Deeper and Wider Pockets after Moder and the Queen, without the belt, and the command works downwards to make a harder game. findbiome and findbiometp search for a biome by name, which is how players hunt the alternate edge biomes 1.0 added.
On a dedicated server
A dedicated server is different. Patch 0.217.22 opened a set of admin commands there, among them setworldmodifier, setkey, listkeys, sleep and skiptime, along with kicking and banning (Iron Gate). Cheats are unreliable: in Jade PG's experience some work for an admin until they log out or the server restarts, fire spreading among them, and others need the server's config files or a mod, which in turn shuts console players out. Cheating is for single-player or a world hosted from inside the game.
The achievement lock and the opt-in command
Valheim gained achievements at 1.0 (53 on Steam) and a lock to go with them. Tracking starts the moment 1.0 is installed, so old deeds do not count, and most commands, spawn among them, flag the current character and world as permanently locked out of achievements. Characters that cheated before 1.0 are marked the same way; camera-only commands such as freefly are exceptions (Iron Gate 1.0 FAQ).
Spawned items carry the flag. They are labeled "cheated item" in the inventory, and a clean character that picks one up enters a temporary cheat state, recovering eligibility by throwing every cheated item away (allthings.how). The Hammer preset of the World Modifiers, which makes every build piece free, is treated the same way: a temporary cheat that ends when the preset is switched off, though nothing built under it counts.
Two days after launch the studio relented. Patch 1.0.12 added a devcommand that re-enables achievements for a character that has used commands or mods, spelled out as yesiuseddevcommandsbutiwantmyachievementsanyway, with a note: "We will leave it to your own judgement whether or not to activate this function – Oden will surely know if you use it dishonourably" (Hotfix 1.0.10 & 1.0.12; PC Gamer).
The flag kept misfiring, and the next patches went after it. Patch 1.0.14 of Sep 17, 2026 fixed characters being wrongly marked as temporary cheaters, which had made the loot of the monsters they killed count as cheated, stopped cheated items stacking with clean ones (which had turned whole stacks cheated), and put the pevents command behind devcommands. Patch 1.0.15 a day later stopped marking items affected by dev commands for characters that have enabled what its notes call "the dev bypass command", renamed such items, and let them stack together again. For items still wrongly marked as cheated, Iron Gate promised a fix that has to ship on every platform at once so as not to break cross-play, and told players they could keep using such items normally until then; the notes of patches 1.0.16 and 1.0.17 do not mention it (Iron Gate, Patch 1.0.14; Iron Gate, Patch 1.0.15; Patches Since 1.0). Which of the 53 achievements a flagged save loses, and which need a character made after 1.0, is worked through on Achievements.
BepInEx, r2modman and Thunderstore
Valheim has no official modding interface and no Steam Workshop, so the community built one. Nearly every mod and modpack, client or server, loads through BepInEx, a few libraries dropped into the game folder that hook the game at startup and open a second window showing which plugins loaded and which failed.
Installing it by hand means closing the game, extracting the BepInEx pack into the folder behind Steam's Browse local files, and starting again; mods are zip files whose contents go into BepInEx/plugins, each writing its own file in BepInEx/config. Linux players launch start_game_bepinex.sh instead of the executable.
Most players use a manager. r2modman installs BepInEx and any mod with its dependencies, keeps profiles and edits configs in place, and Thunderstore's pages install into it in one click. Thunderstore's Valheim community opened on Feb 14, 2021, twelve days after the early-access launch, and by September 2026 held 11,522 packages with over 163 million downloads (Thunderstore). Nexus Mods hosts a large Valheim section too.
A dedicated server is modded the same way: the same files go into the server folder, plugins into its plugins folder, and the start script reports them as it boots. Whether a mod belongs on the client, the server or both is up to its author, and one put in the wrong place does nothing.
Mods, consoles and the 1.0 break
Console players are shut out. Iron Gate's 1.0 FAQ is explicit: "since we have no mod support on PC, there will also be no mod support for consoles for 1.0, and there will be no Steam Workshop featured". The rule of thumb for mixed groups is that server-side mods usually still admit console players, while client-side mods that add assets or interface elements lock them out (Cross-Play).
Every large patch breaks mods, and 1.0 broke almost all of them at once: it upgraded the Unity engine, and with no public test branch, no author had a build to test against before release day, so a mod works in 1.0 only once its author has rebuilt it. The BepInEx pack itself was ready (version 5.4.2350 went up at 12:30 UTC on Sep 9, 2026, minutes before the game went live (Thunderstore)) but plugins trickled in over the following days. The advice on patch day is to play the first session unmodded and add mods back one at a time.
The mods most often recommended are quality-of-life rather than cheats: crafting from nearby containers, a clock, a compass, extra inventory slots, an adjustable hoe radius and smoother ladders.
What Iron Gate says about mods
Iron Gate has never supported mods officially, and said so again for 1.0: "Since we don't have any official mod support, we cannot guarantee that any mods will be functional when 1.0 releases" (1.0 FAQ). Its one statement of policy, "Regarding Mods" of May 2023, is friendly but firm: modding is "done at your own risk"; the studio "does not condone locking modded content behind a paywall"; and it asks that mods identify themselves as unofficial, using the pop-up the game provides, because joining a modded server can pull a mod down automatically (Iron Gate).
Sources
- Valheim 1.0 FAQ and Frequently Asked Questions, Iron Gate Studio
- Valheim 1.0 Has Arrived!, Hotfix 1.0.10 & 1.0.12, Regarding Mods, Patch 0.221.4, Patch 0.217.22 and Patch 0.148.6, Iron Gate Studio on Steam
- Valheim on Thunderstore and BepInExPack Valheim, Thunderstore
- A new devcommand lets cheaters have their achievements anyway, PC Gamer
- Valheim 1.0 achievement lockout, allthings.how
- Patch 1.0.14 and Patch 1.0.15, Iron Gate Studio, Sep 17 and 18, 2026
- VALHEIM 1.0 How To Use Console Commands, Jade PG, Sep 10, 2026 (video)
- UPDATED Mod Valheim with BepInEx (Client & Server), TroubleChute, Sep 9, 2026 (video)
- Do THIS First in Valheim 1.0, Spopes, and Valheim 1.0 Complete Beginners Guide, Annarf (videos)
Moments
VALHEIM 1.0 How To Use Console Commands - New & Best Cheats To Use 2026
Jade PG
- Turn the console on in the gameplay settings, open it with F5 (or the controller combination in the table below), and…
- With the console open, devcommands turns cheats on and answers with the new state, devcommands true. Since 1.0 a…
- debugmode adds keyboard shortcuts: K kills every creature nearby, tames included, B is free building and crafting, L…
- spawn is the one people come for, and the one that catches them out: an internal name is often not the name on the…
- forcedelete is the dangerous one. It removes everything in a radius (trees, ore and any build pieces standing there)…
- ) inventorysize 1 left his Viking the hotbar alone, inventorysize 5 or 6 added one or two rows, and 7, 8 or 9 went…
- A dedicated server is different. Patch 0.217.22 opened a set of admin commands there, among them setworldmodifier…
Do THIS First in Valheim 1.0
Spopes
- Valheim gained achievements at 1.0 (53 on Steam) and a lock to go with them. Tracking starts the moment 1.0 is…
- Console players are shut out. Iron Gate's 1.0 FAQ is explicit: "since we have no mod support on PC, there will also be…
- Every large patch breaks mods, and 1.0 broke almost all of them at once: it upgraded the Unity engine, and with no…
UPDATED Mod Valheim with BepInEx (Client & Server) | Valheim 1.0 Complete Guide
TroubleChute
- Valheim has no official modding interface and no Steam Workshop, so the community built one. Nearly every mod and…
- Installing it by hand means closing the game, extracting the BepInEx pack into the folder behind Steam's Browse local…
- Most players use a manager. r2modman installs BepInEx and any mod with its dependencies, keeps profiles and edits…
- A dedicated server is modded the same way: the same files go into the server folder, plugins into its plugins folder…
Valheim 1.0 COMPLETE BEGINNERS GUIDE in under 10 minutes!
Annarf
See also
-
ValheimValheim is an open-world survival game for one to ten players, developed by Iron Gate Studio and published by Coffee Stain Publishing. It entered Steam early access in February 2021, reached its full 1.0 release on Sep 9, 2026, and its newest patch is 1.0.21 of Oct 28, 2026. -
Creature Spawn CodesThe exact console line to spawn any Valheim creature is spawn, its code, how many and its level, as in spawn TrollFrost 1 3 for one two-star Gammeltroll. Every creature's spawn code biome by biome, from Boar and Seagal to Seal_Pup, the codes that differ from the creature's name (Hatchling for the Drake, GoblinBrute for the Fuling Berserker), what the level number means in stars, and what spawning costs a save.
-
MistlandsThe sixth biome of Valheim and the update that filled it, patch 0.212.7 of Dec 6, 2022: the mist and the Wisplight, Seekers, Gjall and Ticks, the neutral Dvergr, the Infested Mines, black marble and Yggdrasil wood, Eitr magic, the boss The Queen, and how the update was built, tested, rebalanced and changed again at 1.0. -
Valheim 1.0 ReleaseValheim left early access on Sep 9, 2026 with the Deep North update (version 1.0): the ninth biome, a final boss and an ending, 40+ weapons, four armor sets, 80+ build pieces, bigger pockets, achievements, the Forge of Potential and chunked saves, plus a price rise to $29.99, PS5 and Switch 2 launches with full cross-play, a 308,477 Steam peak, a Metacritic 89 and eight fix patches since. -
HaldorThe Dvergr trader of the Black Forest, who sells the Megingjord, Ymir flesh, fishing gear and eggs for coins, buys valuables, and since Valheim 1.0 sells the Wider Pockets and Deeper Pockets inventory upgrades. -
Dedicated ServersHow a Valheim dedicated server works: the free Steam server tool and SteamCMD, the start_headless_server script and its arguments, ports and the crossplay relay, join codes, admin and ban lists, moving a world across, renting a host, and what 1.0 changed.