ModlistHashChecker

版本 v0.2.1·更新於 2025-09-04

Generates a hash value from running modlist that can be used to compare to an expected hash, as well as when joining other lobbies with this mod.

模組介紹 作者原文

Modlist Hash Checker

Generates a hash value from running modlist that can be used to compare to an expected hash, as well as when joining other lobbies with this mod.

What does this mod do?

The primary function of this mod is to generate a hash from the currently loaded modlist via the mod names and version numbers. This hash value can then be used to compare to an expected modpack hash, as well as between host player and those who join them.

Warning Messages

  • When the expected hash is set, if someone using your modpack uses an incorrect version of a mod or adds additional mods to their profile they can be given a warning message (if enabled) indicating that they may experience issues with unapproved mods/versions.
  • When the expected hash is blank, a convenient warning message is shown in the menus so you can set it there when you are ready to publish your modpack. (you can also set this manually by copying the hash from the log file and setting the config option)

Host/Client Hash Matching

  • Another feature this mod provides is that a custom lobby key will be assigned that only this mod will read indicating what hash the host is playing on.
  • If another player joins the lobby with this mod it will compare the hash between the host and the joined player.
  • If there is a mismatch between the two hash values, the joiner will receive a warning message (if enabled) that the host has a differing hash value and they may experience issues.

Extensive Logging

  • All of this is also documented in the logfile, to make troubleshooting issues between players a bit easier.

Highly Configurable

  • This mod is highly configurable to customize it to your modpack's experience. Every warning message, button, etc. can all be set to custom values.

Warning

  • Unless you are fully in control of the modpack this mod may be featured in, you generally should not change the configuration of this mod.

Credits

  • darmuh - Initial Mod Creation and Menu Message Handling
  • andrey - Added lobby functionality to compare hash values between host and joiner.
  • Electric131 - Initial post and code cleanup. Made hash read-only to other mods.

安裝與使用 安裝:BepInEx 外掛

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

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
ModlistHashChecker-0.2.1.zip
檔案大小
65.2 KiB