Home / Docs / Gameserver / Valheim / Server Einstellungen

Valheim Server Settings Explained

Valheim server settings explained: launch parameters like -name, -world, -password, -crossplay, presets and modifiers for difficulty and save intervals.

Quick answer: Valheim has no settings file – the dedicated server is configured via launch parameters such as -name, -world, -password, -public and -crossplay. Difficulty is set with -preset and -modifier, saving with -saveinterval and -backups.

Unlike many other games, a Valheim server doesn't store its settings in a config file. Everything is passed as a parameter at startup. At NexoraHost you set these values in the gameserver panel under the startup parameters / startup variables. This guide explains all officially documented parameters.

Version: Valheim 1.0.21 (full release since 9 September 2026).

Basic settings

  • -name "My Server" – name in the server list
  • -world "Midgard" – world name. If the world doesn't exist yet, it is created.
  • -password "Secret123" – password to join. Use at least 5 characters and no word that appears in the server name – otherwise the server may fail to start.
  • -port 2456 – server port. Valheim also uses the next port (2456–2457 UDP). At NexoraHost the panel assigns the port – don't change it.
  • -public 1 – 1 lists the server in the server list, 0 hides it (join by IP only)

Crossplay

  • -crossplay – enables crossplay via the PlayFab backend so players on Xbox, PlayStation etc. can join. Without this parameter only Steam players can join.

Note: console players can't use mods. If your server requires mods that also have to be installed on the client, they can't play – see Install Valheim server mods.

Difficulty: presets and modifiers

-preset selects a world preset:

Normal, Casual, Easy, Hard, Hardcore, Immersive, Hammer

-modifier <name> <value> adjusts individual areas:

  • combat – combat difficulty: veryeasy, easy, hard, veryhard
  • deathpenalty – death penalty: casual, veryeasy, easy, hard, hardcore
  • resources – resource amount: muchless, less, more, muchmore, most
  • raids – raid frequency: none, muchless, less, more, muchmore
  • portals – portal rules: casual, hard, veryhard

-setkey <key> enables additional world options:

  • nobuildcost – build without material costs
  • playerevents – raids are based on each player's progress
  • passivemobs – enemies don't attack on their own
  • nomap – no map

Important: a -preset overwrites modifiers set before it. Always put -preset before the -modifier parameters.

Example – relaxed game with more resources:

-preset casual -modifier resources more -modifier raids less

Saving & backups

  • -saveinterval 1800 – seconds between automatic saves (default 1800 = 30 minutes)
  • -backups 4 – number of automatic backups (default 4)
  • -backupshort 7200 – interval of the first backup in seconds (default 2 hours)
  • -backuplong 43200 – interval of the later backups in seconds (default 12 hours)

Since version 1.0 Valheim saves worlds in a new format: each world lives in its own folder and is split into several files. Always back up or copy the entire world folder, never single files. Old worlds are converted automatically the first time they load, and the game creates a backup first.

Other parameters

  • -savedir <path> – different location for worlds and permission files. Linux default: .config/unity3d/IronGate/Valheim/ in the server's home directory.
  • -logFile <path> – path of the log file
  • -instanceid <value> – only needed when several servers with the same port run on the same machine

Player limit

A Valheim server allows at most 10 players. This limit can't be raised without mods.

  • Server with friends: -public 0 or a password, -crossplay only if console players join
  • New players: -preset casual or -preset easy
  • Experienced group: -preset hard or individual modifiers such as -modifier combat hard
  • Safer saving: -saveinterval 900 plus regular backups in the panel

Common issues

Server won't start after changing the password

  • Password too short or contained in the server name? Choose a longer, different password.

A new world appears instead of the old one

  • The value of -world must match the name of the existing world exactly (case-sensitive).

Console players can't find the server

  • Is -crossplay set? Without it only Steam players can join.

More help: Valheim won't connect.

Conclusion

You configure a Valheim server entirely through launch parameters. Use -preset, -modifier and -setkey to tailor the world to your group, and -saveinterval and -backups to protect your progress.

Last checked: November 2026, Valheim 1.0.21. Source: Iron Gate's official dedicated server guide and Valheim patch notes.

Rent your own server: Valheim server at NexoraHost

Need a server?

Order Gameserver, VPS or Root in Frankfurt.

To shop