Knowledgebase Valheim How To Change Valheim World Modifiers In...

How To Change Valheim World Modifiers In-Game

Valheim's world modifiers update gave us the power to customize our Viking journey exactly how we want. While some guides recommend downloading your world files to edit them locally, the absolute easiest and fastest way to tweak these settings is directly in-game using admin commands.

Let's dive into the console commands you need to change your server's difficulty, resource rates, and death penalties on the fly.

Important Note: You must be added as an admin on your server and have the console enabled to use these commands. If you haven't set this up yet, check out our guide on How to Enable and Use the Console in Valheim.

Changing Your World Preset

If you want to apply a sweeping change to all settings at once, open your console by pressing F5 and use one of these preset commands:

  • setworldpreset Normal
  • setworldpreset Casual
  • setworldpreset Easy
  • setworldpreset Hard
  • setworldpreset Hardcore
  • setworldpreset Immersive
  • setworldpreset Hammer
  • setworldpreset default

Customizing Individual Modifiers

If you prefer a custom experience, you can mix and match the modifiers below to get things just right.

Combat Difficulty

  • setworldmodifier Combat veryeasy
  • setworldmodifier Combat easy
  • setworldmodifier Combat hard
  • setworldmodifier Combat veryhard

Death Penalty

  • setworldmodifier DeathPenalty casual
  • setworldmodifier DeathPenalty veryeasy
  • setworldmodifier DeathPenalty easy
  • setworldmodifier DeathPenalty hard
  • setworldmodifier DeathPenalty hardcore
🚀 Launch Your Unlimited RAM Game Server — Just $9.99/mo!

Resource Drop Rates

  • setworldmodifier Resources muchless
  • setworldmodifier Resources less
  • setworldmodifier Resources more
  • setworldmodifier Resources muchmore
  • setworldmodifier Resources most

Base Raids

  • setworldmodifier Raids none
  • setworldmodifier Raids muchless
  • setworldmodifier Raids less
  • setworldmodifier Raids more
  • setworldmodifier Raids muchmore

Portal Restrictions

  • setworldmodifier Portals casual
  • setworldmodifier Portals hard
  • setworldmodifier Portals veryhard

Toggles and Numeric Values

You can turn specific mechanics on or off using the setkey and removekey commands:

  • setkey nobuildcost / removekey nobuildcost
  • setkey playerevents / removekey playerevents
  • setkey passivemobs / removekey passivemobs
  • setkey nomap / removekey nomap
  • setkey noportals / removekey noportals

You can also adjust numeric values for finer control. Keep in mind that 100 is the default vanilla value:

  • setkey PlayerDamage 150
  • setkey EnemyDamage 75
  • setkey EnemyLevelUpRate 200
  • setkey EventRate 50

Saving Your Changes

After you have set all your desired modifiers, do not forget to force a server save so you don't lose your changes! Just type:

save

Once saved, your new modifiers will be locked in for your world. If anything feels off, you can always open the console and tweak it again.

Was this article helpful?

The Last Minecraft Hosting You Will Ever Need!

Unlimited Slots, Unlimited RAM, One-Click Mods & Plugins