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 us 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 to use these commands. If you have not set this up yet, start with the guides in Related Guides below.

How To Open The Console (PC vs Xbox)

Depending on what platform you are playing on, accessing the command input box is a slightly different process:

For PC (Steam): Press the F5 key on your keyboard. Note that you must have the console enabled in your Steam Launch Options first (by typing -console in the game's properties).
For Xbox: Hold down the Left Bumper (LB), Right Bumper (RB), Left Trigger (LT), and Right Trigger (RT) all at the same time, and then press the Menu button (the button with three horizontal lines). The console is enabled by default on Xbox, so you do not need to configure any launch settings! Press A to bring up the on-screen keyboard to start typing.

Changing Your World Preset

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

setworldpreset Normal
setworldpreset Casual
setworldpreset Easy
setworldpreset Hard
setworldpreset Hardcore
setworldpreset Immersive
setworldpreset Hammer
setworldpreset default
Start Your Valheim ServerUnlimited RAM · Unlimited slots · From $9.99/monthStart My Server

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

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 do not lose your changes! Just type:

Server Console
save

Related Guides

How To Add Admins In Valheim
Add yourself to adminlist.txt so the modifier commands work for you.
How To Enable And Use The Console In Valheim
Turn on the console with the -console launch option before typing commands.

🛠️ Troubleshooting Modifiers

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.

Still stuck?

Our team is happy to help. Open a ticket through the live chat button in the bottom-right corner of our website.

Was this article helpful?

Valheim Server Hosting

Start Your Own Valheim Server

A Brutal Exploration and Survival Game 24/7 Expert Support Swap between 60 games at any time
Start My Valheim Server From $9.99/month  ·  24-hour money-back guarantee