Vanilla Valheim devcommands runs in the client and is blocked on a dedicated server, so most “Valheim cheats” guides you’ll find online don’t work when you run them while connected to a WinterNode server. There are two paths that do work:
- Built-in admin commands for world-level changes (skip time, reset wind, trigger or cancel raid events, reset boss progression, change world modifiers). These need adminlist membership but no mods.
- Server_devcommands BepInEx mod to unlock the full devcommands set (spawn, god, fly, heal, etc.) over the network on a dedicated server.
The sections below cover both paths, plus the vanilla flow for singleplayer or a listen server.
Built-in Server Admin Commands
These run from the in-game F5 console while you are on the server admin list. They are not part of devcommands and they work on a vanilla dedicated server with no extra setup.
| Command | What it does |
|---|---|
/setworldmodifier <modifier> <value> | Change a world modifier (combat, raids, resources, etc.) from the console instead of the in-game menu. |
resetwind | Reset the wind direction. |
event <name> | Force-start a named world event (for example, a specific raid). |
randomevent | Trigger a random world event appropriate for your current biome and progression. |
stopevent | Cancel the currently running event. |
resetkeys | Wipe global keys (boss-defeat flags and other progression markers). Useful for “un-defeating” bosses to change raid escalation. |
skiptime <seconds> | Advance world time by the given number of seconds. |
sleep | Shortcut for skipping to morning. |
You need to be on the adminlist for these to run. The standard admin moderation commands (/kick, /ban, /unban, /banned) are documented in the Become an Admin guide.
Enable Full Cheats with Server_devcommands
To use the full devcommands set (item spawning, god mode, fly, heal, and the rest) on a dedicated server, install the Server_devcommands BepInEx mod.
- Install BepInEx on your Valheim server if it isn’t already running
- Download Server_devcommands from Thunderstore
- Drop the mod’s
.dllintoBepInEx/plugins/on the server via SFTP or the File Manager - Restart the server so BepInEx loads the plugin
Once the mod is active, devcommands sent from a connected client are accepted by the server, so the full cheat set behaves the way it does in singleplayer. You still need the F5 console enabled on your own client (see the next section).
Enable the F5 Console on Your Client
The in-game console is disabled by default. Add a Steam launch parameter so it opens when you press F5.
- Open Steam and go to your Library
- Right-click Valheim and choose Properties
- Under General, find the Launch Options field
- Enter
-console(with the hyphen) - Close the Properties window
- Start Valheim
In-game, press F5 to open the console. If nothing happens, double-check the launch parameter and restart Valheim through Steam.
Cheats in Singleplayer or on a Listen Server
If you are playing singleplayer or hosting a listen server from your own Steam client, the vanilla cheat flow works:
- Press
F5to open the console - Type
devcommandsand press Enter - The console replies with “Dev commands: True”
This unlocks the commands below for the current session. None of them work on a dedicated server without Server_devcommands.
| Command | What it does |
|---|---|
spawn <item> [amount] [level] | Spawn an item, creature, or prefab. Example: spawn SwordIron 1 4 |
god | Toggle invulnerability and infinite stamina |
fly | Toggle no-clip flight (move with W/A/S/D and space/ctrl) |
freefly | Detach the camera from your character for screenshots |
heal | Restore your health to full |
tame | Tame the closest creature within range |
killall | Kill all creatures within ~20 meters |
puke | Clear your food buffs |
pos | Print your current world coordinates |
goto <x> <z> | Teleport to coordinates |
location <name> | Teleport to a named location (e.g. location StartTemple) |
resetcharacter | Reset your skills and learned recipes |
raiseskill <skill> <amount> | Raise a specific skill by a number of levels |
Item names use Valheim’s internal prefab IDs, not the in-game display name. For example, iron sword is SwordIron, not “Iron Sword”. The Valheim wiki item code list has a full reference.
To turn the toggle back off without restarting, run devcommands again. The console replies with “Dev commands: False”.
Still Not Working?
If the F5 console doesn’t open, the admin commands aren’t accepted, or Server_devcommands doesn’t behave after install, contact our support team with:
- Your Server UUID
- Whether you’re trying to cheat as a client connected to a WinterNode dedicated server, or in singleplayer / a listen server
- A description of what command you ran and what happened (or didn’t)
- Whether F5 opens the console at all, or whether the command itself is what fails
Frequently Asked Questions
Not by default. Devcommands runs in the client and is blocked on a dedicated server, so spawn, god, fly, heal and the rest of the cheat set will not do anything when you run them while connected to one. To enable the full cheat set on a dedicated server, install the Server_devcommands BepInEx mod. A handful of built-in admin commands (setworldmodifier, resetwind, event, randomevent, stopevent, resetkeys, skiptime, sleep) do work on a vanilla dedicated server.
No. setworldmodifier, resetwind, event, randomevent, stopevent, resetkeys, skiptime, and sleep are server-side admin commands and run on a vanilla dedicated server as long as you are on the adminlist. Item spawning, god mode, fly, heal, and the rest of devcommands require the Server_devcommands BepInEx mod.
Yes. Add -console to Valheim's Steam launch options, press F5 in-game, and run devcommands. That unlocks the full cheat set for the current session. This vanilla flow only works in singleplayer or on a locally-hosted (listen) server, not on a dedicated server.






Valheim