Valheim Console Commands: How to Enable Them and What It Costs
How to open the Valheim console, which commands exist by category, the official achievement-lock rules, and how temporary cheat state is cleared.

On PC, open the console, type devcommands to gain debug access, and then use individual commands — they are case sensitive. Before you do, be clear about the cost: the official 1.0 FAQ states that using most commands, such as spawn, flags your character and world save and permanently locks achievements, with only a few exceptions such as freefly. To regain achievement eligibility you have to remove every cheated item you are carrying or have placed.
Enabling it and confirming it works
- Open the console in the PC version;
- Enter
devcommandsto enable debug commands; - Run a harmless command such as the help listing to confirm access;
- Toggle
devcommandsagain to switch it back off.
Note: Iron Gate has not said whether consoles offer a developer console, so this page gives no console steps.
Common commands by category
| Purpose | Commands | Notes |
|---|---|---|
| Chat and social | say, s, W [player name] | Public and private messages |
| World settings | setworldmodifier [name] [value], setworldpreset [name], resetworldkeys | Adjust or reset world modifiers |
| World toggles | nomap, noportals | Toggle map and portals; on a server these flip the matching global key |
| Character | die, respawn, resetspawn, resetplayerprefs | Suicide, respawn, reset spawn point and local settings |
| Display | fov, lodbias, maxfps, exclusivefullscreen | Field of view, draw distance, frame cap, fullscreen mode |
| Crafting helpers | filtercraft, sortcraft | Filter and sort the crafting list |
| Debug | info, ping, printseeds, cr, optterrain | System info, latency, dungeon seeds, asset unload, terrain conversion |
The cost: achievements and cheat flags
The official 1.0 FAQ rules reduce to three points:
- Most commands permanently lock achievements.
spawnflags your character and world save, after which achievements can no longer unlock. - A few commands are exceptions, such as
freefly. - Entering a cheated state now requires confirmation, added in 1.0 so you cannot flag a character by accident.
Separately, world modifiers such as hammer-mode also block certain achievements; Iron Gate counts that as temporary cheating.
Clearing temporary cheat state
- Items created with
spawnare visibly marked; - a non-cheated character who picks up a cheated item enters a temporary cheat state;
- while in that state achievements cannot unlock;
- drop every cheated item and the character becomes eligible again.
What happens on a multiplayer server
Some commands act globally when run on a server: nomap and noportals flip the matching global key, which means every player loses their map or portals. Confirm you have permission and that your group knows before you run them.
Unconfirmed items
- Console on consoles: Iron Gate has not said whether console versions expose a developer console, so no steps are given.
- Complete exception list: only
freeflyis given as an example, so do not assumespawnis the only command that locks achievements.
What the community says about it
The argument is not about whether commands work but about what you give up. Because 1.0 writes the cheat flag into the save, the advice that recurs in community threads is simple: if you care about achievements, do not run spawn on your main save.
Community “safe command” lists are also incomplete — Iron Gate only named freefly. Some Steam reviewers describe Valheim as “not for everyone” and suggest adjusting world settings instead, which is the same trade in a different form: experience in exchange for achievements and a sense of accomplishment.
Player quotes are from Steam reviews and community discussion sampled on 2026-09-11. Non-representative sample.
Version and limits
- This page targets Valheim 1.0 (released 2026-09-09).
- The command list comes from the community wiki and may not include every 1.0 addition.
- Iron Gate has not published a server permission model, so multiplayer behaviour may vary by host.
Sources and verification dates
- Valheim 1.0 FAQ (achievements, cheat flags, temporary cheat state, hammer-mode): https://www.valheim.com/support/valheim-1-0-faq/ — 2026-07-01
- Valheim Wiki community site (console command list and notes): https://valheim.weirdgloop.org/w/Console_commands — checked 2026-09-11
Related pages
- Community mods and official mod support: Valheim mods
- Boss and progression context: Valheim boss order and strategies