
Missing Mods Checker 是一款面向整合包开发者的简易工具模组,它会挂钩到 Forge 和 Fabric 的预加载流程中,在游戏启动前检查是否存在缺失的依赖项。如果发现任何依赖缺失,将会弹出一个窗口,提示用户在重启游戏前下载这些缺失的内容。
该工具模组可以实现多种用途:
- 防止重要模组被意外或故意移除
- 强制使用模组的精确版本,以防止普通用户进行意外更新
- 提示下载仅在某些平台上可用的模组
- 允许用户在首次启动游戏时下载可选模组
无论发现模组缺失的原因是什么,该模组都会打开一个基于 Java Swing 的简单窗口,列出所有缺失的模组列表。用户可以点击“下载”按钮,这将在浏览器中打开配置文件中指定的链接。为了更方便操作,还有一个可以直接打开模组文件夹的按钮。

你可以通过编辑整合包 config 文件夹中的 missing_mods_checker.json 文件来配置该模组,并为每个模组添加条目。依赖扫描支持对文件名使用正则表达式,因此你可以指定精确的版本号,或者为任意内容设置正则匹配规则。

Missing Mods Checker is a simple utility mod for modpack devs that hooks into the pre-loading process for Forge & Fabric to check if any dependencies are missing before the game loads. If any are found to be missing, a window will pop up prompting the user to download them before restarting.
This utility mod can serve multiple purposes:
- Prevent important mods from being accidentally or deliberately removed
- Enforce exact versions of mods, to prevent accidental end-user updates
- Prompt to download mods that are only available on certain platforms
- Allow users to download optional mods the first time the game starts up
Whatever the reason mods are found to be missing, the mod will open up a simple Java Swing window with a list of all missing mods. The user can click "download," which will open the link specified in the config file in their browser. To make things easier, there is a button that opens the mods folder directly.

You can configure the mod by editing missing_mods_checker.json in your modpack's config folder, and adding in entries for each mod. The dependency scanning supports regex for filenames, so you can specify exact versions, or a regex match for anything you would like.
评论 0
登录后参与评分
还没有评论,来抢沙发吧