Free tool
Valheim world modifiers and server launch command
Checked against Iron Gate's dedicated server guide and our own live tests of -preset, -modifier and -setkey on Steam build 25527701 on . Sources: Iron Gate: a guide to dedicated servers.
Server
The name players see in the server list.
The password players type to join: at least 5 characters. While the server is listed, keep it out of the world name.
No password, so anyone who finds the server can join.
The server loads the world with this name, or makes a new world with it.
2456 by default. Valheim also uses the port after it, so forward both.
Off hides the server: players join with its address instead.
Runs the server on the crossplay backend, so players on every platform can join. Without it, only Steam players can see and join it.
World settings
On: the command passes no preset, modifiers or keys, so the world keeps the settings saved in it, such as a world you made in single player. Off: the settings below are applied at every start.
Saves and Valheim backups
1800 by default: every 30 minutes.
4 by default: one short-term copy and three long-term ones, on the server's own disk.
7200 by default: two hours.
43200 by default: twelve hours.
Reference
Every preset, modifier and key
What each argument does, in the game's own words where it has them.
World presets: -preset
| Argument | Preset | What it does |
|---|---|---|
-preset normal | PresetNormal | What it doesThe game's standard balance. |
-preset casual | PresetCasual | What it doesEnemies leave you alone until provoked, there are no raids, resources drop at 150%, you keep your gear when you die, and anything goes through portals. |
-preset easy | PresetEasy | What it doesFights are easier: you deal 110% damage and enemies deal 75%. |
-preset hard | PresetHard | What it doesFights are harder: you deal 85% damage, and enemies deal 150% and grow stronger more often. |
-preset hardcore | PresetHardcore | What it doesEnemies deal double damage, dying destroys what you carry and resets your skills, there's no map, and no portals while a boss is active. |
-preset immersive | PresetImmersive | What it doesNo map, no portals, and the game's fire hazards turned on. |
-preset hammer | PresetHammer | What it doesBuilding costs no materials, enemies leave you alone until provoked, and there are no raids. |
Modifiers: -modifier
| Argument | Level | What it does |
|---|---|---|
-modifier combat veryeasy | LevelCombat: Very easy | What it doesYou deal 125% damage and enemies deal only 50%. |
-modifier combat easy | LevelCombat: Easy | What it doesYou deal 110% damage and enemies deal 75%. |
-modifier combat hard | LevelCombat: Hard | What it doesYou deal 85% damage, enemies deal 150%, and tougher enemies appear more often. |
-modifier combat veryhard | LevelCombat: Very hard | What it doesYou deal 70% damage, enemies deal 200%, and tougher enemies appear more often. |
-modifier deathPenalty casual | LevelDeath penalty: Casual | What it doesYou keep what you wear, the rest drops where you died, and you lose 1% of your skills. |
-modifier deathPenalty veryeasy | LevelDeath penalty: Very easy | What it doesEverything you carry drops where you died and you lose 1% of your skills. |
-modifier deathPenalty easy | LevelDeath penalty: Easy | What it doesEverything you carry drops where you died and you lose 2.5% of your skills. |
-modifier deathPenalty hard | LevelDeath penalty: Hard | What it doesWhat you wear drops where you died, everything else you carry is destroyed, and you lose 7.5% of your skills. |
-modifier deathPenalty hardcore | LevelDeath penalty: Hardcore | What it doesEverything you carry is destroyed and you lose all of your skills. |
-modifier resources muchless | LevelResources: Much less | What it doesResources drop at about half the normal rate. |
-modifier resources less | LevelResources: Less | What it doesResources drop less than normal. |
-modifier resources more | LevelResources: More | What it doesResources drop more than normal. |
-modifier resources muchmore | LevelResources: Much more | What it doesResources drop much more than normal. |
-modifier resources most | LevelResources: Most | What it doesResources drop at up to three times the normal rate. |
-modifier raids none | LevelRaids: None | What it doesRegular raids stop, though some night attacks can still happen. |
-modifier raids muchless | LevelRaids: Much less | What it doesRaids come much less often. |
-modifier raids less | LevelRaids: Less | What it doesRaids come less often. |
-modifier raids more | LevelRaids: More | What it doesRaids come more often. |
-modifier raids muchmore | LevelRaids: Much more | What it doesRaids come much more often. |
-modifier portals casual | LevelPortals: Casual | What it doesEvery item can go through portals, even ones that are normally blocked. |
-modifier portals hard | LevelPortals: Hard | What it doesPortals can't be used while a boss is active. |
-modifier portals veryhard | LevelPortals: Very hard | What it doesPortals are turned off completely. |
Keys: -setkey
| Argument | Key | What it does |
|---|---|---|
-setkey nobuildcost | KeyNo build cost | What it doesBuilding pieces need no materials, though you still have to discover each recipe. Off means the world preset decides. |
-setkey passivemobs | KeyPassive enemies | What it doesEnemies don't attack until you provoke them. Off means the world preset decides. |
-setkey nomap | KeyNo map | What it doesNobody can open the map or the minimap, which makes the game harder. Off means the world preset decides. |
-setkey playerevents | KeyPlayer-based raids | What it doesRaids follow each player's own boss progress instead of the bosses the whole server has beaten. Off means the world preset decides. |
Questions
Questions and answers.
- What order do the world arguments go in?
- -preset first, then each -modifier, then each -setkey. In our tests -preset cleared every modifier and key the world already had, so anything written before it was lost.
- Do modifiers change a world that already exists?
- Yes. In our tests the server applied -preset, -modifier and -setkey to the world at every start, an existing world as well as a new one. To keep a world's own settings, leave all three out: turn on Keep this world's own settings.
- Which ports does a Valheim server use?
- 2456 by default, and Iron Gate's guide says Valheim also uses the port after it, so forward 2456 and 2457. With -crossplay, the guide says no port forwarding is needed.
- Are the arguments case-sensitive?
- No. In our tests the server accepted -preset Hard, -modifier Combat VeryHard and -setkey NoMap the same as the lower-case spellings.
Next steps