Password Protected Storage

版本 v1.0.0·更新於 2026-08-20

Tired of your friends stealing your loot? Introducing Password Protected Storage for multiplayer & dedicated servers!

模組介紹 作者原文

Password Protected Storage

Tired of your friends “borrowing” your loot? Personal chest not enough? Want a stash only the people with the password can open?

This mod turns existing chests you list in the config into password-locked storage. No new furniture. No fancy asset pack. Just locks.

⚠️ Important

  • Do not use with Guild Structures — that mod already includes password storage. Use one, not both.
  • Does nothing until you add prefabs in the CFG. Empty lists = zero effect.
  • Does not add new storage. You pick existing prefab names (e.g. piece_chest_wood).

Optional tip: use WackyDatabase to clone a chest, then list only the clone — so normal chests stay normal and only your “vault” clones get passwords.

Features

  • SHIFT+E — owner sets / changes / removes password (empty = remove)
  • E — owner always opens; others enter the password once
  • Grants stick on the piece (survive reconnect & server restart)
  • While passworded: only the owner can de-hammer
  • Hover shows Owner / Permitted (light green labels)
  • Clear center messages (set / wrong password / access granted / remove denied)
  • Dedicated + Steam listen-host friendly
  • Prefab lists server-synced
  • CFG live reload on host/server (edit + save, no restart)
  • Optional World Edit Commands — readable PP_* fields in data dump

Install

  • Install on server and every client
  • Launch once → BepInEx/config/com.rdmods.passwordprotectedstorage.cfg
  • Fill Exact Names and/or Name Contains, save (or restart)

Controls

| Who | Action |

|-----|--------|

| Owner | SHIFT+E set/change/remove password |

| Owner | E open anytime |

| Others | E → enter password once |

| Anyone | de-hammer freely if no password |

| Non-owner | cannot de-hammer while passworded |

CFG Guide

File: BepInEx/config/com.rdmods.passwordprotectedstorage.cfg

| Setting | What it does |

|---------|----------------|

| Enabled | Master on/off |

| Debug Logging | Extra log spam while testing — leave off normally |

| Lock Configuration | Clients can’t override server settings (keep on) |

| Exact Names | Exact prefab names, comma-separated — e.g. piece_chest_wood |

| Name Contains | Match any prefab with that word — e.g. chest |

Prefab lists are server-synced. On a dedicated/listen host, edit + save the CFG and it reloads live — no restart needed.

Don’t know a prefab name? Place one, check the log, or start with a known name like piece_chest_wood.

Support

Bugs & questions: Discord

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Password_Protected_Storage-1.0.0.zip
檔案大小
70.4 KiB