Valheim World Modifiers & Console Commands
Introduced in the Hildir's Request update, World Modifiers allow you to drastically change the Valheim experience. You can make the game a brutal hardcore survival simulator or a relaxed creative builder without needing external mods.
How to Apply Modifiers
Method 1: The World Menu (Easiest)
When selecting your world in the main menu, click World Modifiers at the bottom. You can adjust the sliders and checkboxes here before starting the world or uploading it to a server.
Method 2: Console Commands (Devcommands)
To use these in-game, you must enable the console by adding -console to your Steam Launch Options, then press F5 and type devcommands.
Modifier Presets
Use setworldpreset [Name] to apply groups of settings instantly:
- Casual: Easier combat, resources x2, no raids, death doesn't drop equipped gear, metals go through portals.
- Hard: Combat +50% damage, more frequent raids.
- Hardcore: Combat +100% damage, death deletes all items/skills, no map, no portals.
- Immersive: Normal difficulty but with No Map and No Portals.
- Hammer: Free building, no raids, passive mobs.
Individual Modifier Commands
Use setworldmodifier [Category] [Value] for fine-tuning.
| Category | Values | Effect |
|---|---|---|
| Combat | veryeasy, easy, hard, veryhard |
Adjusts enemy HP and damage. |
| DeathPenalty | casual, veryeasy, hard, hardcore |
Determines skill loss and item drops on death. |
| Resources | muchless, less, more, muchmore |
Scales drops from 0.5x to 3x. |
| Raids | none, less, more, muchmore |
Frequency of base attacks. |
| Portals | casual, hard, veryhard |
casual allows all items; veryhard disables portals. |
Toggle Keys (setkey)
These are binary toggles for specific game rules:
setkey nomap: Disables the map and minimap for all players.setkey passivemobs: Enemies will only attack if you strike them first.setkey nobuildcost: Build anything for free (requires the recipe to be discovered).setkey playerevents: Raids are based on individual player progress rather than world progress.
Dedicated Server Setup
On a dedicated server, you cannot usually type these commands in chat. You must:
- Load your world in Single Player.
- Apply the modifiers using the console.
- Save and exit.
- Upload the
.dband.fwlfiles to your server'sworlds_localfolder.