From 73070690cb488974e93158453999843aa048bbb6 Mon Sep 17 00:00:00 2001 From: the_minisip Date: Fri, 16 Oct 2026 13:19:34 -0300 Subject: [PATCH] Add Modding Guide --- Modding-Guide.md | 210 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 Modding-Guide.md diff --git a/Modding-Guide.md b/Modding-Guide.md new file mode 100644 index 0000000..be461f9 --- /dev/null +++ b/Modding-Guide.md @@ -0,0 +1,210 @@ +

Modding Guide

+ +

+ This guide explains how to install, manage, and troubleshoot mods for the + Managed Valheim server. The container includes automatic + BepInEx installation and a clean/modded directory separation, making modding + safe and predictable across updates. +

+ +
+ +

1. How Modding Works in Managed Valheim

+ +

+ The container uses a two‑directory architecture: +

+ + + +

+ SteamCMD updates the clean directory, and the container copies updated files + into the modded directory before applying BepInEx. This ensures: +

+ + + +
+ +

2. Where to Install Mods

+ +

+ Mods should be placed in the BepInEx plugins directory: +

+ +
/opt/valheim/BepInEx/plugins
+ +

+ This directory persists across updates and is safe for: +

+ + + +

+ Do not place mods in /opt/valheim_base. + That directory must remain clean for SteamCMD. +

+ +
+ +

3. Installing Mods

+ +

+ To install a mod: +

+ +
    +
  1. Download the mod (usually a ZIP file).
  2. +
  3. Extract the contents.
  4. +
  5. Copy the mod’s DLL files into:
    + /opt/valheim/BepInEx/plugins +
  6. +
  7. Restart the TrueNAS SCALE app.
  8. +
+ +

+ On restart, BepInEx will load all plugins automatically. +

+ +
+ +

4. Installing Modpacks

+ +

+ Thunderstore modpacks can be installed manually: +

+ +
    +
  1. Download the modpack ZIP.
  2. +
  3. Extract it locally.
  4. +
  5. Copy all BepInEx/plugins contents into:
    + /opt/valheim/BepInEx/plugins +
  6. +
  7. Copy any config files into:
    + /opt/valheim/BepInEx/config +
  8. +
  9. Restart the server.
  10. +
+ +

+ The container will not overwrite your modpack configuration. +

+ +
+ +

5. Updating Mods

+ +

+ To update a mod: +

+ +
    +
  1. Download the new version.
  2. +
  3. Replace the old DLL in:
    + /opt/valheim/BepInEx/plugins +
  4. +
  5. Restart the server.
  6. +
+ +

+ BepInEx will load the updated plugin automatically. +

+ +
+ +

6. Removing Mods

+ +

+ To remove a mod: +

+ +
    +
  1. Delete the mod’s DLL from:
    + /opt/valheim/BepInEx/plugins +
  2. +
  3. Remove any related config files from:
    + /opt/valheim/BepInEx/config +
  4. +
  5. Restart the server.
  6. +
+ +
+ +

7. Mod Configuration Files

+ +

+ Many mods generate configuration files under: +

+ +
/opt/valheim/BepInEx/config
+ +

+ These files are safe to edit and persist across updates. + Restart the server after making changes. +

+ +
+ +

8. Troubleshooting Mods

+ +

Mod Not Loading

+ + +

Server Crashes on Startup

+ + +

Mod Conflicts

+ + +
+ +

9. Safe Modding Practices

+ + + +
+ +

Next Steps

+ + + +

+ With this guide, you can safely install and manage mods on your Managed + Valheim server while maintaining full update compatibility and stability. +