ZoneSavior
Archive inactive-player structures and tamed animals per zone, save/load/restore zone bundles, track player activity, configure archive exclusions, and enforce per-zone WearNTear limits.
截圖 共 2 張
模組介紹 作者原文
ZoneSavior
Archive inactive-player structures and tamed animals per zone, save/load/restore zone bundles, track player activity, configure archive exclusions, and enforce per-zone WearNTear limits.
ZoneSavior is a Valheim server maintenance mod for zone-based cleanup, archive, restore, and build-count control.
This source targets Valheim 1.0.7 and BepInExPack Valheim 5.4.2350. It references original game DLLs and includes a pinned ServerSync compatibility build. Existing ZoneSavior config keys, RPC formats and current bundle format remain unchanged.
It can:
- archive inactive player structures into zone bundle files
- restore saved bundles to the original place or a new zone
- optionally reset archived source zones
- enforce per-zone WearNTear limits from zones.yml
- track player activity for inactive-owner cleanup
- provide an optional client zone UI
The zone UI hotkey (F8 by default) displays the current zone boundary with eight 64m corner extensions. The lines follow the terrain, with height samples every 4m, to help estimate neighboring zones.
Files
ZoneSavior uses one BepInEx config file and one data folder:
BepInEx/config/
sighsorry.ZoneSavior.cfg
ZoneSavior/
activity.yml
zones.yml
Diagnostics/
ZoneBundles/
tag_name/
manifest.yml
bundle001_.zonebundle.yml.gz
activity.yml stores player activity, scan state, and recent scan records. ZoneSavior reloads it conservatively at runtime: broken YAML, dirty runtime state, and active scans are ignored.
zones.yml stores zone limits and archive protection rules. Every rule must declare a non-negative limit. Steam IDs are the best long-term protection key; player names are convenient but can change.
ZoneBundles//manifest.yml records the archive shape. Each bundleNNN_.zonebundle.yml.gz stores one source zone as a compact, gzip-compressed YAML bundle. ZoneSavior reads and writes these files directly; no manual extraction is required. New bundle files are committed by replacing the manifest only after every zone is saved successfully.
Previous manifest and bundle versions, including uncompressed legacy zone bundles, are not loaded or converted. If the original world data is still available, create a new archive from the live world with the current ZoneSavior version before restoring it.
Diagnostics/ contains YAML reports written by zs_debugzone.
Config
Config sections:
- 01 - General
- Lock Configuration: lets the server control synced settings.
- 02 - ZoneSavior
- WearNTear Save Mode: controls whether zone bundle saves include creatorless WearNTear.
- Zone WearNTear Limit: enables zone limits from zones.yml.
- Zone UI Toggle Hotkey: toggles the client zone overlay.
- Build Counter Visible Seconds: controls how long the placement counter stays visible.
- Support Fill Contact Tolerance: terrain contact capture tolerance. Source terrain must be loaded to capture exact contacts.
- Zone Bundle Support Fill Feather Width: blend width around restored support terrain.
- 03 - Auto Archive
- Dry Run: report only.
- Reset After Save: reset eligible source zones after saving.
- Minimum Pieces Per Cluster: small clusters are skipped, or reset without save during reset runs.
- Inactive Days: owner inactivity threshold.
- Scan Interval Minutes: automatic scan interval. 0 disables scheduled scans.
- Scanner Batch Size: ZDOs inspected before yielding a frame.
- Max Zones Per Run: maximum number of zones reserved for work in one automatic scan. Failed save/reset attempts still consume this budget.
What Gets Archived
ZoneSavior saves player-build structures, not arbitrary world clutter.
Saved:
- player-build WearNTear objects with normal build recipes/resource costs
- tamed monsters with MonsterAI and Tameable
- creator metadata when present
- terrain support data for saved structures
Skipped:
- players, tombstones, loose item drops, projectiles, ragdolls, fish
- location objects and volatile world objects
- vanilla terrain comps and most raw terrain modifiers
- W
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: