ModSettingsMenu
Adds a unified in-game mod configuration screen to the main and pause menus.Note: This description is bilingual. The Chinese section is provided below the English section.
说明:本描述为中英双语版本,中文内容位于英文内容下方。
Mod Settings Menu (English)
Adds a Mod Settings button below Settings in the main menu and to the in-game pause menu, providing a unified configuration interface for mods.
Main Features
- Shows configurable mod names on the left, the selected mod's settings in the center, and its information on the right.
- Supports localized config sections, names and values, custom ordering, per-mod restore defaults, and optional Nexus Mods or Thunderstore links.
For Players
This mod does not change gameplay by itself. It provides a common settings screen for compatible mods.
Only loaded mods with at least one configuration entry appear in the list. The available settings depend on the mods you have installed.
Mod Author API
- Registration is optional. A loaded BepInEx IL2CPP plugin with normal
Config.Bindentries is detected automatically. - Use
ModSettingsRegistry.Registeronly when you want to provide custom metadata or Nexus Mods and Thunderstore links. - Use
ModSettingsTags.SectionandModSettingsTags.EntryinConfigDescriptionwhen categories or entries need a custom order or numeric sliders need a custom step. Lower order values appear first; unspecified order values use1000. - Complete example mods: Big Walk example mods
Compatibility
- Game version:
1.4.8+
Bug Reports & Feature Suggestions
If you have any questions or feature suggestions, please submit them through GitHub Issues, contact me on Discord at iceboxcool, or email me at [email protected] or [email protected].
Mod Settings Menu (中文)
在主菜单的设置下方和游戏内暂停菜单中添加模组设置按钮,为模组提供统一的配置界面。
主要功能
- 左侧显示可配置的模组名称,中间显示当前模组的设置项,右侧显示模组信息。
- 支持配置分类、名称和值的本地化、自定义排序、单模组恢复默认以及可选的 Nexus Mods 或 Thunderstore 链接。
给玩家
本模组不会自行修改游戏玩法,只为兼容的模组提供统一设置界面。
列表中只会显示已经加载并且至少包含一个配置项的模组。实际可用设置由你安装的其他模组决定。
模组作者 API
- 注册不是必需的。已加载的 BepInEx IL2CPP 模组只要使用普通
Config.Bind配置项,就会被自动识别。 - 只有需要自定义元数据或提供 Nexus Mods、Thunderstore 链接时,才需要调用
ModSettingsRegistry.Register。 - 需要自定义分类、配置项顺序或数值滑条步进时,在
ConfigDescription中使用ModSettingsTags.Section和ModSettingsTags.Entry。排序数值越小越靠前,未指定排序时使用1000。 - 完整例子模组:Big Walk 例子模组
兼容性
- 游戏版本:
1.4.8+
Bug 提交 & 新功能建议
如果你有任何问题或新功能建议,请通过 GitHub Issues 提交,也可以通过 Discord:iceboxcool,或邮箱 [email protected]、[email protected] 联系我。
