BepInEx is the mod framework for Valheim. Without BepInEx, your server does not load any mods.
On your Valheim server, you turn on BepInEx in the Config Editor. You don't need to upload BepInEx for this: while the setting is on, your server installs BepInEx itself or updates it to the version we provide on every start and starts with BepInEx. If you uploaded a newer version yourself, it keeps that one. The setting is off by default.
Turn On BepInEx
-
Open the Config Editor
Open your Valheim server's dashboard and click Config Editor in the left sidebar. -
Turn on the setting
Click the Mods category on the left under Settings and turn on BepInEx (mod loader).
-
Review and save
Click Review and save. If your server is running, choose Restart under When saving in the Save changes dialog and confirm with Stop, save and start. If your server is stopped, start it afterwards.
On start, your server installs BepInEx and creates the folders /BepInEx/plugins/ and /BepInEx/config/. You then upload your mods as .dll files to the /BepInEx/plugins/ folder. To learn how, see Add Mods.
Turn Off BepInEx
If you turn BepInEx (mod loader) off again, your server starts without mods after the next restart. The BepInEx files stay on the server, and so do your mods and their settings. If you turn BepInEx on again later, your mods are active again.
Check Whether BepInEx Is Loaded
-
Open the console
Open the console in your server's dashboard and start the server. -
Check the startup messages
During startup, messages from BepInEx appear in the console. If BepInEx is loaded, it also creates the log file/BepInEx/LogOutput.log. It contains a line like this for every loaded mod:[Info : BepInEx] Loading [ExampleMod 1.0.0]
Servers with the Former Valheim BepInEx Product
If you still have a server with the former Valheim BepInEx product, it keeps running as before and always starts with BepInEx. You don't need to change anything there, and you upload your mods to the /BepInEx/plugins/ folder as usual.
Players on Consoles
Players on Xbox, PlayStation and via Game Pass cannot install mods. If a mod requires players to have it installed as well, these players can no longer join your server. Mods that only run on the server are not affected.
