Guides Valheim

Valheim server with mods (BepInEx and ValheimPlus)

Run a modded Valheim dedicated server: BepInEx on the server and the clients, where plugins and configs go, ValheimPlus settings, worlds, and what to do after a game update.

Updated . About 3 minutes to read.

How Valheim mods work

Valheim has no built-in mod support. Almost every mod is a plugin for BepInEx, a mod loader the community packages for Valheim. Mods are shared on Thunderstore.

  • Some mods run on the server only. Most must be installed on the server and on every player’s PC, in the same version.
  • Players on Xbox consoles cannot install mods, so a server whose mods players need is a PC-only server.
  • A Valheim update can break mods until their authors update them. Plan for that (see the last section).

BepInEx on the server

  1. Stop the server and take a backup of your world.
  2. Download BepInExPack Valheim from Thunderstore.
  3. Unpack it and copy the contents of its BepInExPack_Valheim folder into the server’s main folder (the one with valheim_server in it). You get a BepInEx folder next to the server files, plus the loader files.
  4. On Linux, start the server with the BepInEx start script from the pack instead of the normal one, and put your server name, world and password in it; the “Configuration (Linux)” section of the BepInExPack page has the steps. On Windows the loader starts with valheim_server.exe on its own.
  5. Start the server once. Check BepInEx/LogOutput.log: if it exists and lists the loaded plugins, BepInEx is working.

Add plugins

  1. Stop the server.
  2. Put each mod’s .dll (or its folder, if it comes with one) in BepInEx/plugins. Install the mods it depends on too; Thunderstore lists them.
  3. Start the server. On first start each mod writes its settings file to BepInEx/config.
  4. To change a mod’s settings, stop the server, edit its file in BepInEx/config, and start again.

Add a few mods at a time and test. If the server stops starting, the last mods you added are the first suspects, and the end of LogOutput.log usually names the one that failed.

ValheimPlus

ValheimPlus is one large mod that changes many things at once: carry weight, stamina, building, crafting from chests, map sharing and more. The original project stopped updating, and a community-maintained version continues it; use the one that supports your Valheim version.

  • Its settings file is BepInEx/config/org.bepinex.plugins.valheim_plus.cfg (versions 0.9.x and older used valheim_plus.cfg).
  • The file is split into sections such as [Player] or [Building]. Most sections start switched off: set enabled = true in a section, then change its values.
  • The [Server] section is on by default. Its enforceMod and serverSyncsConfig settings make players have ValheimPlus to join and send them the server’s settings, so everyone plays with the same rules. Leave both on.

Set up your players

Every player needs BepInEx and the same client mods, in the same versions, as the server. The easiest way is a Thunderstore mod manager such as r2modman:

  1. Set up a profile with exactly the server’s mods.
  2. Export the profile as a code from the mod manager and share the code with your players.
  3. Players import the code into their own mod manager and start Valheim from it.

Bring your world

  1. Find your world on your PC. On Windows it is in %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\worlds_local. If it is saved in Steam Cloud, switch it to a local save in the game’s world list first.
  2. Copy both files of the world: WorldName.db and WorldName.fwl.
  3. Stop the server and upload both to the server’s worlds_local folder.
  4. Set the server’s world name to exactly WorldName (no file extension) and start it.

On AP Gaming, upload with SFTP or the file manager and set the world name in Quick settings.

After a Valheim update

  • Back up the world before every update.
  • Wait for your mods to be updated before updating the server, especially ValheimPlus and anything that changes game data.
  • Server and players must run the same Valheim version and the same mod versions. Update the server and the shared mod profile together.
  • If the server will not start after an update, move plugins out of BepInEx/plugins a few at a time until it does, and check LogOutput.log.

Run it on AP Gaming

Valheim Server - Plus Modded (PC) - Up to 10 Players: $26.99/month, set up automatically, usually within minutes of checkout, in New York (US East). Or try it first: the free trial runs 48 hours, no card needed.

72-hour money-back guarantee on the first payment for a new game server, once per customer

More guides