Valheim 1.0 — Deep North

Valheim dedicated server setup guide

How to run a 24/7 Valheim 1.0.32 world for your co-op group: installing the free dedicated server via SteamCMD (App ID 896660), forwarding UDP ports 2456–2457, applying world modifier flags, adding admins, and deciding when renting beats self-hosting.

  • App ID 896660 anonymous SteamCMD login
  • UDP 2456–2457 default game & query ports
  • 7 presets 5 sliders · 5 toggles
  • Valheim 1.0.32 crossplay & Steam ready

Self-host or rent a Valheim server?

  • When self-hosting makes senseYou have an always-on spare PC or Linux box with 4+ GB of free RAM, comfortable forwarding UDP ports 2456–2457 on your router, and don’t mind running SteamCMD updates whenever Iron Gate pushes a patch.

  • When renting saves headachesFriends play across different schedules or time zones, you want automatic Steam updates and scheduled world backups, or you plan to install BepInEx mods without leaving a home computer running 24/7. Compare 15 verified Valheim hosts →

Installing the dedicated server with SteamCMD

You do not need a second Steam account or extra copy of Valheim to host a dedicated server.

Install SteamCMD on Windows or Linux, then download App ID 896660 using anonymous login:

steamcmd +force_install_dir ./valheim-server +login anonymous +app_update 896660 validate +quit

Make a copy of start_headless_server.bat (Windows, calling valheim_server.exe) or start_headless_server.sh (Linux, calling ./valheim_server.x86_64) before editing it so future SteamCMD updates do not overwrite your server name, world name, or password:

./valheim_server.x86_64 -nographics -batchmode -name "My Valheim World" -port 2456 -world "Midgard" -password "secretpass" -public 1 -crossplay

When -public 1 is set, Valheim requires a password of at least 5 characters that is not contained in your -world name or world seed. Use -public 0 to hide the server from the community browser so players join by IP or PlayFab join code only.

Ports, firewall & crossplay

  • UDP 2456–2457Forward UDP ports 2456 and 2457 (or your chosen -port and port + 1) on your router and allow valheim_server through your OS firewall.

  • Crossplay (-crossplay)Add -crossplay so Xbox, Microsoft Store, and Steam players can join together through PlayFab using a join code. Remove -crossplay for Steam-only PC groups if you want direct Steam networking and lower latency.

  • Patch-day version matchingClients on a newer Valheim build cannot join an outdated server. Re-run +app_update 896660 validate after every update. Track every build change in our unlisted patch changes tracker.

World modifiers & server admins

Pass world difficulty presets or individual sliders directly on the server launch command line.

Use -preset <name> to apply any of Valheim 1.0.32’s 7 built-in presets, or combine -modifier <key> <value> and -setkey <key> flags:

PresetServer flagWhat it sets
Casual -preset casual In casual mode combat is a lot easier, enemies will not attack you until provoked, and there are no raids on your base. Resources are more plentiful, and you will not drop items or lose skills on death.
Easy -preset easy Combat is easier and there are fewer raids on your base.
Normal -preset default The way Valheim is meant to be played, with the intended difficulty balance. Highly recommended for your first playthrough for the best experience.
Hard -preset hard Combat is harder and monsters will raid your base more often.
Hardcore -preset hardcore Combat is a lot harder and enemies will raid your base more often. When you die, all your skills and all the items you are carrying will be lost forever. You have no map and you may not use portals or exit boss dungeons while a boss is alive.
Immersive -preset immersive In immersive mode you have no map, and you may not use portals. You will need to use your own wits to keep track of where you are in the world! Other difficulty settings are normal.
Hammer Mode -preset hammer In hammer mode you can build all build pieces for free once you have discovered the recipe. There are no raids on your base, and enemies will not attack you until provoked. Other difficulty settings are normal.
  • Custom modifiersFor example, add -modifier resources more -modifier portals casual to boost resource drops and allow ores through portals. See every exact slider and effect in our world modifiers reference →.

  • Adding admins (adminlist.txt)Put each admin’s platform user ID (such as a 64-bit Steam ID, Steam_<id>, or Xbox_<id> on crossplay) one per line in adminlist.txt inside the server save directory so they can kick, ban, force saves, or run server commands. See server & admin console commands →.

World saves, transfers & backups

  • Save files (.fwl + .db)Every Valheim world consists of two files: <world>.fwl (metadata) and <world>.db (terrain, buildings, and chests). Always copy both together when moving a local world to or from a dedicated server.

  • Clean shutdowns & intervalsStop the server cleanly with Ctrl+C (never force-kill the process) so the final world save finishes writing. You can tune automatic backups with -saveinterval, -backups, -backupshort, and -backuplong.

Questions

What is the SteamCMD App ID for Valheim Dedicated Server?

Steam App ID 896660. Anonymous SteamCMD login works with no extra copy of Valheim required.

Which ports do I need to forward for a Valheim server?

Forward UDP ports 2456–2457 (your configured -port and -port + 1). If you use -crossplay, PlayFab relays connections so port forwarding is often unnecessary, though keeping UDP 2456–2457 open avoids fallback issues.

Can I move my existing single-player world to a dedicated server?

Yes. Copy both the .fwl and .db files from your local worlds_local folder into the server’s worlds_local folder, then pass the exact filename (without extension) to -world.

Do world modifiers disable Steam achievements on a dedicated server?

Standard world modifier presets and sliders from the game’s world modifiers menu keep Steam achievements enabled. Custom -setkey values from outside that menu, cheat console commands (devcommands), or modded flags pause achievements for that world.

World modifier presets, sliders, and server command behaviour are read from Valheim 1.0.32 game files. SteamCMD App ID and launch flags reflect Iron Gate’s official Valheim Dedicated Server tool.

Sources & credits · Game data 1.0.32 · Updated

Report an issue with this page

This page, its data release and version are included automatically. No account needed.