diff --git a/Home.md b/Home.md index 2f32136..acb9218 100644 --- a/Home.md +++ b/Home.md @@ -1,17 +1,130 @@ -
-This project provides a fully automated, self-updating, BepInEx‑patched Valheim dedicated server designed for TrueNAS SCALE and other containerized environments. It includes SteamCMD installation, mod patching, managed startup, and optional world backup automation.
Server installs and updates itself on container start.
Uses anonymous SteamCMD login.
Verifies installation and applies updates automatically.
Downloads the official BepInExPack Valheim from Thunderstore.
Validates and extracts the pack.
Applies custom patches:
Password override fix
Launch command rewrite
Managed wrapper installation
start_server_managed.sh)Handles server startup.
Ensures correct savedir path.
Passes environment variables cleanly.
Supports background tasks (e.g., backup loop).
Optional automated backups via wrapper.
Uses /backups volume.
Creates timestamped .zip archives of world directories.
Requires zip installed in the container (now fixed).
Exposes Valheim ports (2456–2458 UDP).
Uses /config and /backups volumes.
Logs accessible through TrueNAS UI.
+ Managed Valheim is a fully automated, self-updating, + BepInEx‑patched Valheim dedicated server designed for TrueNAS SCALE and other + container platforms. It provides a clean SteamCMD installation, reliable mod + integration, and optional world backup automation. +
-Container starts → entrypoint.sh runs.
SteamCMD installs/updates Valheim.
BepInEx pack downloaded & patched.
Managed wrapper installed.
Wrapper launches server with correct flags:
-name
-world
-savedir
-password
-public
Server boots, loads world, begins accepting connections.
SteamCMD logs: /root/Steam/logs/
Valheim logs stream to container stdout (TrueNAS UI).
BepInEx logs appear under /opt/valheim/BepInEx/.
Wrapper runs a background loop (default: hourly).
Each cycle:
Checks world directory.
Creates ZIP archive in /backups.
Logs success or warnings.
World auto-backups (Valheim internal) continue normally.
TrueNAS SCALE or Docker environment.
Mounted volumes:
/config
/backups
Ports 2456–2458 UDP exposed.
zip installed in container (added in your updated Dockerfile).
These appear in logs but do not affect server operation:
DllNotFoundException: libParty.so
-(PlayFab Party SDK — unused by dedicated servers)
Shader fallback warnings -(headless Unity server)
OnGUI function detected…
-(IMGUI stripped — normal)
/opt/valheim_base (clean), while the
+ server runs from /opt/valheim (modded). This prevents
+ SteamCMD rollback errors and ensures reliable updates.
+ /backups.
+ Old backups are pruned based on a retention window.
+ | Variable | +Default | +Description | +
|---|---|---|
SERVER_NAME |
+ Valheim Server | +Display name of the server | +
WORLD_NAME |
+ Dedicated | +World save name | +
SERVER_PASSWORD |
+ changeme | +Password required to join | +
PUBLIC |
+ 1 | +Public listing toggle | +
BACKUP_INTERVAL |
+ 21600 | +Backup interval (seconds) | +
BACKUP_RETENTION_DAYS |
+ 7 | +Days to retain backups | +
entrypoint.sh./opt/valheim_base./opt/valheim./opt/steamcmd — SteamCMD installation/opt/valheim_base — Clean Valheim install/opt/valheim — Modded runtime directory/backups — Managed backup output/config — TrueNAS SCALE config volumelibParty.so errors are normal for headless servers and do not affect gameplay./opt/valheim/BepInEx/.+ For detailed configuration, troubleshooting, and modding instructions, see the + other pages in this wiki. +