How to change world modifiers on your Valheim dedicated server: pick a preset or customise combat, death penalty, resources, raids and portals in the game panel, or use admin commands.
On this page
Change world modifiers on your Valheim dedicated server in the game panel
You can change the world modifiers in two ways: directly in the game panel, or with admin commands in game. Both are covered below.
- Press STOP on your server.
- Press Configuration Files and open
Start.batwith the Config Editor. - In the Load world dropdown, choose the world to load on server start. The modifiers apply to this world.
- In the World modifiers dropdown, choose Presets or Customize and adjust the settings the way you want.
- Save and press START.
Choosing a preset under Presets overwrites any custom settings you made under Customize.
Presets and modifiers explained
These are Valheim's official world modifiers, the same ones you see when you create a world in game.
| Setting | Options |
| Preset | Normal, Casual, Easy, Hard, Hardcore, Immersive, Hammer |
| Combat | Very easy, Easy, Normal, Hard, Very hard |
| Death penalty | Casual, Very easy, Easy, Normal, Hard, Hardcore |
| Resources | Much less, Less, Normal, More, Much more, Most |
| Raids | None, Much less, Less, Normal, More, Much more |
| Portals | Casual, Normal, Hard, Very hard |
On top of these you can switch on four extra options: No build cost (nobuildcost), Player-based raids (playerevents), Passive enemies (passivemobs) and No map (nomap).
Hammer is the building preset, made for a creative server where you build without gathering. Hardcore is the toughest preset, with the harshest death penalty.
Change the world modifiers with admin commands
As an admin you can change modifiers while the server runs, with no restart.
- Add yourself as an admin: see How to use admin commands on your Valheim server.
- Join the server and open the console with F5.
- Type
devcommandsto give you access to all commands. - Then type the command you need. For example,
setkey PlayerDamage 100sets the player damage value to 100 andsetkey NoMapdisables the map. To change a whole modifier, usesetworldmodifier, for examplesetworldmodifier combat hard.
▶ Watch the video: Changing world modifiers with admin commands in the Valheim console
| Command | What it does |
setworldpreset hard | Applies a preset to the world |
setworldmodifier raids less | Changes one modifier |
setkey nomap | Switches on an option, here: no map |
setkey PlayerDamage 100 | Sets a world key with a value, here: player damage |
removekey nomap | Switches an option off again |
listkeys | Shows the keys that are active on the world |
resetworldkeys | Resets the world modifiers to default |
The console suggests and completes commands as you type. For the full list of modifiers, see the Valheim Wiki: World Modifiers.
The settings in Start.bat are applied every time the server starts. If a modifier you changed in game resets after a restart, change it in the game panel too.
World modifier questions
Can you change world modifiers mid game in Valheim?
Yes. On a dedicated server you can change world modifiers mid game: live with admin commands such as setworldmodifier, or in the game panel with a server restart. Modifiers are saved with the world. Your buildings, items and boss progress stay as they are. Back up your world first if you're trying something drastic.
My custom settings disappeared. Why?
You probably picked a preset afterwards. A preset overwrites every custom setting. Choose Customize again, set your options and restart the server.
Do my players need to change anything?
No. World modifiers are set by the server and apply to everyone who joins. Players don't need mods or any extra settings.
Related guides
Need a hand? Open a support ticket. Our team is here 24/7.
