Menu
 

World Modifiers

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

Enable the console by adding -console to your Steam Launch Options and press F5. You do not need devcommands: setworldmodifier and setworldpreset are not cheats. In your own world they run straight away; on a dedicated server they run on the server, for players on its admin list.

Modifier Presets

Use setworldpreset [Name] to apply groups of settings instantly. What each one sets, read from the 1.0.17 game files:

  • Casual: you deal 125% damage and enemies 50%, resources x1.5, no raids, passive enemies, death keeps your equipped gear and costs 0.75% of each skill, all items go through portals.
  • Easy: you deal 110% and enemies 75%, raids less often.
  • Hard: you deal 85% and enemies 150%, raids more often, more starred enemies.
  • Hardcore: you deal 70% and enemies 200%, raids more often, every death deletes your items and resets every skill, no map, no boss portals.
  • Immersive: Normal difficulty but with No Map, No Portals and Fire Hazards.
  • 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 Damage you deal and take, enemy speed and size, and how often enemies get stars: Very Easy is 125% / 50% / 90%, Hard 85% / 150% / 110% with 120% stars, Very Hard 70% / 200% / 120% with 140% stars.
DeathPenalty casual, veryeasy, easy, hard, hardcore Skill loss and item drops on death: 0.75% of each skill on Casual and Very Easy, 2.5% on Easy, 5% on Normal, 7.5% on Hard; Hardcore resets every skill. See no skill drain.
Resources muchless, less, more, muchmore, most Scales drops: 0.5x, 0.75x, 1.5x, 2x and 3x.
Raids none, muchless, less, more, muchmore How often raids come; none turns them off.
Portals casual, hard, veryhard casual lets all items through; hard blocks boss portals; 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.
  • setkey fire: Fire Hazards, the menu's fire toggle; setkey noportals and setkey teleportall are the portal toggles.

Use the value names, not numbers: the game reads a number as the option's position in its internal list, so -modifier resources 2 sets Less (0.75x), not double.

Dedicated Server Setup (modern method, 2026)

The older "load in single-player, then upload the .db" workflow is obsolete. Modern Valheim dedicated servers accept world modifier flags directly as command-line arguments in start_server.sh (or your hosting panel's startup arguments).

./valheim_server.x86_64 -nographics -batchmode \
    -name "MyServer" \
    -port 2456 \
    -world "MyWorld" \
    -password "secret" \
    -modifier combat hard \
    -modifier deathpenalty hard \
    -modifier resources more \
    -modifier raids more \
    -modifier portals casual \
    -setkey nomap \
    -setkey noportals

Two flag forms: -modifier <category> <value> for graduated modifiers (combat, deathpenalty, resources, raids, portals) and -setkey <name> for binary toggles (nomap, noportals, nobossportals, nobuildcost, playerevents, passivemobs, fire, teleportall).

Modifiers and achievements (1.0.17). Every value the World Modifiers menu offers is safe for achievements, including Raids: None (eventrate 0). -modifier and -preset go through the menu's own sliders, so they can only write safe values. -setkey writes whatever you type: a key or number the menu cannot produce, such as NoCraftCost, NoWorkbench or resourcerate 250, shows every player "Achievement progress is permanently disabled for this world due to using dev command world modifiers." Starting the server once with -resetmodifiers placed before your -modifier flags clears the stored keys and fixes it. Full detail in Valheim achievements and the cheat flag.

The host opening the world is the source of truth. For a dedicated server that is the server process. Client-side modifier panels you see in single-player do NOT apply when joining a dedicated server. See the No Skill Drain article for the most common confusion this causes.

Changing World Modifiers On An Existing Save

You started on Normal and want to crank the difficulty mid-campaign, or vice versa. Two methods:

Method 1: Edit startup arguments (clean restart)

  1. Stop the dedicated server.
  2. Edit start_server.sh, add or change the -modifier / -setkey flags.
  3. Start the server. New modifiers apply to all future gameplay.

Method 2: Admin console while server is running (no restart)

  1. Add your platform ID to adminlist.txt on the server; the server rereads it within about 10 seconds (on Supercraft, use the panel's Admin List and restart).
  2. Join as a client, press F5 to open the console.
  3. Run setworldmodifier combat veryhard or setkey nomap as needed. The syntax is setworldmodifier [name] [value], and setworldpreset [name] applies a whole preset.

Changes via Method 2 are written into the world's metadata file (.fwl, or _main.<n>.fwl2 inside the world folder since 1.0) and persist across restarts. No need to take the server down.

What persists vs resets when modifiers change mid-campaign

Setting changedEffect on existing state
Combat difficultyApplies to next encounter. Existing enemies inherit new values.
Death penaltyApplies on next death only. Past deaths don't retroactively lose more.
Resource rateApplies to new drops only. Already-harvested stacks keep their quantity.
Raid frequencyApplies to next raid roll. Already-rolled event finishes on old rules.
No MapApplies on next login. Server preserves discovered map data behind the scenes; turning it back off later restores the map.
No PortalsApplies immediately. Existing portals stop teleporting but stay as decoration.

Avoid jumping from Normal directly to Very Hard + Hardcore death penalty in a single change. The compounded loss is what makes long-running groups dissolve. Ramp resources first, then combat, then death penalty across separate sessions to give players time to adapt.

Looking for managed Valheim server hosting? Supercraft runs Valheim dedicated servers with daily backups, instant setup, and 4 region options.

Launch a Valheim server with this setup

Pick a preset and your new server boots preconfigured - rates, rules and mods already dialed in. Change anything later in the panel.

Browse all Valheim recipes →

Valheim Crossplay: Passive Mobs

Crossplay preset with the passive-mobs world modifier: creatures do not aggro unprovoked. Great for mixed-ski…

Valheim Crossplay: Scheduled Restarts

Crossplay-enabled server (Steam + Xbox/PC Game Pass) with a nightly restart window for stability. Use when yo…

Tired of fighting this issue every patch?

Run a managed Valheim server with us. We handle the patches, mod-version pinning, save backups, and DDoS protection. Set up in minutes, multiple datacenter regions, no contract.

See Valheim hosting plans →
Top