VALHEIM.TOOLS
CheatNeeds devcommands

debugmode command

Syntax
What it does

Toggles Valheim's creative mode and unlocks three hotkeys: Z toggles flight, B toggles free placement with no build cost, and K kills the enemies around you. It's the command to use when you want to build freely rather than issue cheats one at a time. Needs devcommands enabled first; run debugmode again to turn it off.

Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.

Examples

Enables creative mode; press Z to fly, B for free building, K to kill nearby enemies

Good to know

The hotkeys stay active until you toggle debugmode off, which is easy to forget after a build session.

Related commands