AzraelGodKing-TheVault icon

TheVault

The Vault 3 — per-character vault, encrypted saves, HUD, auto-deposit, shop and inventory vault integration, Custom tab & mod API.

Last updated a week ago
Total downloads 316
Total rating 0 
Categories Mods
Dependency string AzraelGodKing-TheVault-3.3.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

The Vault

Version 3.3.2 — Sun Haven vault mod (per-character encrypted vault, IMGUI vault + HUD, auto-deposit, shop hooks).

3.0.5: Hardened character-switch survival: patch all GameSave.LoadCharacter overloads (not just one signature), queue the selected character name as the primary vault identity, and add a persistent runtime sync fallback so vault context self-corrects if hook timing changes. Runtime autosave now runs solely from the hidden keepalive runner so vault state no longer depends on Plugin.Update. Config cleanup: removed stale legacy UI toggle setting and wired AutoSaveInterval to actually control save cadence. Fixed a character-switch regression where only HUD stayed visible: recreated VaultUI now force-enables legacy IMGUI mode so Ctrl+V / F8 always opens the main window. Config file now uses BepInEx/config/TheVault.cfg (auto-migrates values from the legacy GUID-named config on first load).

Installation

  • Install BepInEx 5.x for Sun Haven.
  • Install this package with r2modman / Thunderstore Mod Manager, or unzip into your game folder so both DLLs end up in the same mod folder under BepInEx/plugins/ (the manager usually creates something like BepInEx/plugins/AzraelGodKing-TheVault/).
  • Ship both TheVault.dll and TheVault.Abstractions.dll together—the abstractions assembly must sit next to the main plugin.

Usage

  • Ctrl+V or F8: open/close vault UI
  • F7: toggle HUD
  • Debug inspector (all currencies / Debug tab): enable [The Vault] FullVaultInspector in BepInEx/config/HavenDevTools.cfg, or Haven Dev Tools (F11) → Azrael's ModsThe Vault.

Vault save data

Routine updates aim not to wipe your vault. If a build cannot keep compatibility, maintainers publish a clear warning at the top of the GitHub README, in Thunderstore/Nexus text, the changelog (what to back up), and an in-game / log notice when needed — see TheVault/SAVE_COMPATIBILITY.md in the repo.

For mod authors

Reference TheVault.Abstractions.dll and use TheVault.Modding.VaultModApiBridge.Instance after the vault is ready. Full details: repository README.

Links