Valheim Server Guide
Launch your Valheim dedicated server, avoid the password-in-name pitfall, enable PlayFab Crossplay or world modifiers, upload local worlds, and manage admins on Rogue Wave Hosting.
On this page 5
Your Valheim server on Rogue Wave Hosting runs the native Linux dedicated server (Steam App 896660) for 1–10 Vikings, with built-in support for PlayFab crossplay (Xbox / PC Game Pass / Steam), world modifier presets, and automatic world backup rotation.
Overview & Quick Specs
| Spec | Panel Default / Behavior |
|---|---|
| Server Software | Valheim Native Linux Dedicated Server (Steam App 896660) |
| Primary Port | Auto-assigned UDP port in 25000–25999 (check Network or the dashboard header) |
| Additional Port | 1 automatic port (primary + 1) allocated automatically for Steam query |
| Crossplay | Optional PlayFab relay (CROSSPLAY=1) enabling Join Codes and Xbox/PC crossplay |
| Updates | Automatic via SteamCMD on every start while Auto Update is 1 |
First-Time Setup & Connecting
-
Change the default Server Password before inviting players
Open your server in the Game Panel and click Startup. Set Server Name, choose your World Name, and replace the default Server Password (
ChangeMe123) with a strong password that is at least 5 characters long and does not appear inside your Server Name. -
Choose Steam Direct or PlayFab Crossplay
Leave Crossplay (
CROSSPLAY) at0for lowest-latency direct Steam connections, or set it to1if players are joining from Xbox, Microsoft Store/PC Game Pass, or want to join via a Join Code. -
Start the server
Open Console and click Start. Wait until the log prints
Game server connected(and if Crossplay is enabled, copy the Join Code printed in the console). -
Connect in Valheim
In Valheim, select your Viking, open Join Game:
- Direct IP (Steam) — Click Add Server, enter your primary
IP:Portfrom Network (for example203.0.113.10:25000), click Connect, and enter your Server Password. - Community Browser — Search for your Server Name (when Public is
1). - Crossplay Join Code — When
CROSSPLAY=1, click Join Code and enter the code shown in the panel Console.
- Direct IP (Steam) — Click Add Server, enter your primary
Key Startup Settings
| Panel Setting | Variable | Default | What it controls |
|---|---|---|---|
| Server Name | SERVER_NAME |
A Valheim Server |
Name shown in the community server browser. |
| Server Password | SERVER_PASSWORD |
ChangeMe123 |
Required join password (min 5 chars; cannot be a substring of SERVER_NAME). Change before inviting players. |
| World Name | WORLD_NAME |
Dedicated |
World file name (created on first boot). Letters, digits, _, -, and single spaces. |
| Public | PUBLIC |
1 |
1 lists in the community browser; 0 is direct IP / Join Code only. |
| Crossplay | CROSSPLAY |
0 |
1 enables PlayFab crossplay & Join Codes (routed via PlayFab relay); 0 uses direct Steam UDP. |
| Save Interval | SAVE_INTERVAL |
1800 |
Seconds between automatic world saves (1800 = 30 minutes). |
| Backups | BACKUPS |
4 |
Built-in rotating world backups kept by Valheim (first after 2 hours, then every 12 hours). |
| Extra Arguments | EXTRA_ARGS |
(empty) | World modifiers and extra flags (e.g. -preset hard -modifier raids none -setkey nomap). |
| Auto Update | AUTO_UPDATE |
1 |
1 updates via SteamCMD on every start; 0 disables automatic updates. |
| Beta Branch | SRCDS_BETAID |
(empty) | Optional Steam beta branch (e.g. public-test). Reinstall after changing. |
World Modifiers, Admins & World Transfers
- Customizing World Modifiers (
Extra Arguments) — Valheim supports official difficulty presets and modifiers right in Extra Arguments (EXTRA_ARGS). Common examples:-preset casual,-preset easy,-preset hard,-preset hardcore, or-preset hammer-modifier combat veryeasy|easy|hard|veryhard-modifier resources muchless|less|more|muchmore|most(e.g.2xor3xresource drops)-modifier portals casual(allow metals/ores through portals!)-modifier raids none|muchless|less|more|muchmore-modifier deathpenalty casual|veryeasy|easy|hard|hardcore
- Adding Admins & Whitelists — Open Files →
.config/unity3d/IronGate/Valheim/and add one player ID per line toadminlist.txt(orpermittedlist.txtfor a strict whitelist, orbannedlist.txtfor bans). Use SteamID64 for Steam players (76561198000000000) orXbox_<ID>/PlayFab_<ID>when Crossplay is active. - Uploading an Existing Local World — Stop the server, locate both
<WorldName>.dband<WorldName>.fwlon your PC, upload both files into.config/unity3d/IronGate/Valheim/worlds_local/via Files or SFTP, set World Name (WORLD_NAME) in Startup to<WorldName>, and start the server.
Common Tips & Troubleshooting
- Server exits right after starting — Double-check that
SERVER_PASSWORDis at least 5 characters and not contained insideSERVER_NAME. - Crossplay Join Code changes on restart — PlayFab generates a fresh Join Code each time the server restarts. Check Console after a restart or join by finding your Server Name in the Community tab (
PUBLIC=1). - “Incompatible Version” after a Valheim patch — Confirm Auto Update is
1(and Beta Branch matches whether your client is on stable orpublic-test) and restart your server.