ModSentry
Validates required and optional client mods before joining a Valheim server.
模組介紹 作者原文
Landoria ModSentry
ModSentry verifies that the mods installed on each client match the mods expected
by the server. This lets every player use the same mods and play under the same
conditions.
Features
- Checks that players have the required mods and only use approved files and versions.
- Rejects connections with extra, missing, or outdated mods and explains what needs fixing.
- Prevents players from reusing an old mod check response when connecting again. (Nonce-based server challenge.)
ModSentry verifies client mod files. It does not detect cheats or injected code.
A modified client can falsify its mod inventory.
Installation
Most of Landoria mods need to be installed also on the dedicated server, we show you in this video how to do it on windows:
Setup a Valheim Modded dedicated server on Windows
| Crossplay support | Steam network support |
|---|---
| Yes | No
| Client required | Dedicated server required | Player-hosted server |
|---|---|---|
| Yes | Yes | Not supported |
Server configuration
Configure the client mod policy with these folders on the server:
| Folder | Purpose |
|---|---|
| BepInEx/config/ModSentry_Required | Contains every mod and library DLL required on clients. Include Landoria.ModSentry.dll here. |
| BepInEx/config/ModSentry_Optional | Contains mods and library DLLs that clients may use but do not need. |
Copy the approved client DLLs into the appropriate folder. ModSentry compares
their plugin identifier, version, and SHA-256 hash with each connecting client.
Any client DLL listed in neither folder is rejected.
If a DLL contains several plugins, ModSentry checks each plugin's identifier and
version against the same approved DLL hash. Copy that DLL only once.
Server-only mods stay in BepInEx/plugins and are not copied into either policy
folder.
Contact
Report bugs through GitHub Issues.
For questions and feedback, use GitHub Discussions.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: