← Blog

How to set up a dedicated Valheim server?

Par Benjamin D. · PDG

· Lecture 7 min

Contents

A dedicated Valheim server is mainly configured through its launch arguments and the start_server.bat file (or its equivalent in your host's panel). Here are the settings that really matter, and our recommended values.

The essential parameters

  • -name: the server's public name, the one that shows up in the community list.
  • -world: the name of the world loaded (creates a new world if it doesn't exist).
  • -password: the password (required, minimum 5 characters, different from the server name).
  • -port: the listening port, 2456 by default (the game also uses 2457).
  • -public 1 or 0: server listed publicly, or visible only via direct connection / crossplay.
  • -crossplay: enables PC/Xbox crossplay so everyone can join, regardless of platform.

The world modifiers

Valheim lets you adjust difficulty and comfort of play through modifiers (combat, resources, portals, death…). You can set them at launch with -modifier, for example for a more relaxed server or, on the contrary, a hardcore one. Ideal for matching your group's style.

Backups and security

  • Enable regular automatic backups: Valheim generates them by default, but an external copy avoids nasty surprises.
  • Keep a strong password and only share it with your community.
  • Make sure your hosting includes Anti-DDoS protection, especially if the server is public.
After each change to the launch arguments, restart the server to apply the changes.

Doing it in 2 clicks

On a Fly-Serv Valheim server, the FlyPanel dashboard edits all these parameters from a clear interface (name, password, crossplay, world modifiers) without touching files by hand, and restarts in one click. Don't have a server yet? Start by creating your Valheim server, then come back to adjust the configuration here.