Valheim server guide
Valheim runs a persistent world for up to 10 players, and most of what you will want to change — name, password, world — is a field on the Startup tab rather than a file. This page covers all three Valheim server types we offer, admin rights, moving an existing world across, and what the modded variants can and cannot do.
Which Valheim server you have
Section titled “Which Valheim server you have”Valheim is vanilla, with no mod loader. Valheim (BepInEx) adds the BepInEx loader, and Valheim Plus is BepInEx with the Valheim Plus mod installed. The settings below are identical on all three. Moving between them is a game switch, not a setting — see Switching games.
Change server settings
Section titled “Change server settings”- Open your server in the panel and go to Startup.
- Change the fields you need, then save.
- Restart the server from Console so the new values are used.
| Field | What it does |
|---|---|
| Server Name | The name shown in the server list (up to 60 characters). |
| Server Password | The join password, between 5 and 20 characters. Each server is created with its own random one. |
| World Name | The world the server loads. If no world with that name exists, the server creates a new one. |
| Public Server | Set to false to keep the server out of the public list so it can only be joined by address. |
| Enable Crossplay | Lets console and PC players join with a join code instead of an address. On by default on vanilla Valheim, off by default on the two modded types. |
| Auto Update | Updates the server files when it starts. |
| Backup Interval | How often, in seconds, the server saves the world. Default 1800 (30 minutes). |
| Backup Count, Backup Shorttime, Backup Longtime | How many of the game’s own rolling world backups are kept, and how far apart. |
World Name must match the world you want to load, or the server quietly generates a new empty one. The backup fields keep the game’s own copies of the world next to it — not the panel’s Backups, which stores copies off the node (see Backups and restores).
Make yourself an admin
Section titled “Make yourself an admin”Valheim decides who is an admin from a text file in the world’s save folder, so this is a file edit, not a toggle.
- Join once and note your player ID from the server log or the in-game F2 panel. The format is
[Platform]_[User ID], case sensitive; for a Steam player it isSteam_followed by the 17-digit SteamID64. - Stop the server, open Files (or SFTP) and find
adminlist.txtin the save folder — the same folder that holdsworlds_local, at.config/unity3d/IronGate/Valheim/adminlist.txtfrom the server root. - Add one ID per line, save, and start the server again.
- In game, press F5 and run
kick,banorunbanto check it worked;bannedlists everyone banned.
The same folder holds bannedlist.txt and permittedlist.txt. Do not add anyone to permittedlist.txt unless you
mean it: once that file lists one player, everyone not on it is locked out.
Where your files are
Section titled “Where your files are”Everything Valheim writes lives in the save folder, .config/unity3d/IronGate/Valheim/: worlds_local/ holds your
worlds, and adminlist.txt, bannedlist.txt and permittedlist.txt sit beside it. The .config folder is at the
top of Files; if your SFTP client hides folders whose name starts with a dot, turn on its show-hidden-files option and navigate to it
directly. The server binary, and BepInEx on the modded types, sit in the server root.
Upload an existing world
Section titled “Upload an existing world”- Take a backup in Backups first — a world upload replaces what is there.
- Stop the server.
- On your PC, open
%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\worlds_localand copy the folder named after the world. On current versions a world is a folder named after it, holding_mainfiles (_main.1.db2,_main.1.fwl2and so on). Older worlds are a<world>.fwland<world>.dbpair, which go straight intoworlds_localrather than into a folder. - Upload it into
worlds_localin the server’s save folder. A large world is faster over SFTP. - On Startup, set World Name to exactly the name of the world you uploaded.
- Start the server and watch Console for the world to load rather than generate. If the name does not match, you get a fresh spawn instead of an error.
World modifiers
Section titled “World modifiers”Combat difficulty, death penalty, resource rate, raid rate and portal rules are world modifiers. On a dedicated server
they come from launch arguments (-preset, -modifier) at startup, and the Startup tab has no field for them, so
a Hostboi Valheim server runs the default rules. Modifiers chosen when a world was created in the game are part of the
world data, so a world made with the modifiers you want should keep them once uploaded — test that on a copy first.
Valheim (BepInEx): the loader is installed and ready.
- One mod or a small set: upload the mod’s folder into
BepInEx/pluginswith the file manager or SFTP, then restart. - A Thunderstore modpack: put the pack’s dependency string (the
Author-PackName-1.2.3form on its Thunderstore page) in ModPack on Startup. The install script reads it and downloads the pack and its dependencies intoBepInEx/plugins; because it runs at install time, a change takes effect only on the next reinstall, which replaces server files — so take a backup first. - Most Valheim mods are client-side as well. If a mod changes gameplay, every player needs the same mod and version on their own PC, or they are rejected or desynced.
Valheim Plus: installed already, from the maintained community build.
- Its settings are in
BepInEx/config/valheim_plus.cfg, which the mod writes the first time the server starts — if the file is not there, start and stop the server once. Stop the server, edit the file in the file manager or over SFTP, then start it. Editing it while the server runs risks the change being overwritten when the world saves. - Every player needs Valheim Plus installed too, in the same version as the server. This is the most common reason a Valheim Plus server looks empty or refuses connections.
- Other BepInEx mods go in
BepInEx/pluginsalongside it. After a Valheim patch, Valheim Plus usually needs its own update first; this setup installs the latest release at install time, so moving to a newer build means a reinstall — download a copy ofvalheim_plus.cfgbefore you do.
Useful console commands
Section titled “Useful console commands”Valheim’s server does not take commands typed into the panel Console; that tab is for reading what the server says, including the join code. Admin commands are run in game. As an admin, press F5 and use:
kick <name>— disconnect a player.ban <name>/unban <name>— ban or unban a player;bannedlists them.save— save the world now and reset the save timer.
Common problems
Section titled “Common problems”- Not in the server list. Check Public Server is on. With Enable Crossplay on, the server does not appear in Steam’s browser or on third-party query sites even when it runs — join by address or with the join code.
- Server will not start after a password change. A public server needs a password of at least five characters that is not part of the world name or seed.
- Empty world after an upload. World Name does not match the uploaded world.
- Nobody can connect after a Valheim update. Clients on a newer build fail at the handshake. Restart with Auto Update on, and update Valheim Plus or your BepInEx mods if you use them.
