lemon666-ModConfigManager icon

ModConfigManager

A universal configuration manager UI for YAPYAP mods. Supports real-time editing, tooltips, and multilingual UI. 制作:哔哩哔哩-华丽的小柠檬

CHANGELOG

Changelog - ModConfigManager

[1.0.6] - 2026-02-11

Fixed

  • Input Compatibility: Implemented "Surgical Input Blocking". Global mouse input is now only blocked when the cursor is outside the MOD UI panel. This fixes the issue where MOD buttons were unclickable while still preventing clicking through to the main menu.
  • Raycaster Optimization: Increased frequency of background raycaster disabling for more responsive input management.

修复

  • 输入兼容性优化: 实现了“外科手术式输入拦截”。现在仅在鼠标位于 MOD 界面面板之外时才拦截全局鼠标信号。这既解决了 MOD 自身按钮无法点击的问题,又保证了不会穿透点击到大厅主菜单。
  • 射线检测优化: 提升了背景射线发射器禁用的频率,使输入管理更加实时响应。

[1.0.5] - 2026-02-11

Added

  • Game Update Compatibility: Fully adapted to the February 10th game update.
  • UI Occlusion Fix: Fixed the issue where the lobby mod configuration button would occlude the bottom-left UI when the mod interface was open.
  • Button Interaction: Fixed the issue where UI buttons were unclickable in the new game version.

修复与更新

  • 游戏版本兼容: 深度适配并兼容 2月10日 更新的游戏新版本。
  • UI 遮挡修复: 修复了开启 MOD 配置界面后,大厅注入按钮会遮挡左下角 UI 的问题。
  • 交互修复: 解决了在新版本中 MOD 界面按钮无法点击的兼容性问题。

[1.0.4] - 2026-02-08

Fixed

  • Mouse Penetration (Ultra): Implemented a "Violent" input blocking system via global Harmony patches to UnityEngine.Input to completely intercept clicks when the UI is open.
  • FPS & Performance: Optimized the Update loop by throttling raycaster searches to every 0.5s. Significantly reduced CPU usage and fixed lag in large mod lists.
  • Code Review: Cleaned up redundant debug logs and optimized internal logic for better readability and performance.
  • Guest Multiplayer Visibility: Fixed the issue where the MOD button would incorrectly show for guest players joining via invitation.
  • Scene Transition Logic: Added SceneManager.sceneLoaded listener to ensure the button is hidden during the entire loading process when entering game scenes.
  • Enhanced Verification: Added real-time scene name validation to the visibility tracking system for better reliability in online sessions.

修复

  • 鼠标穿透修复 (增强版): 实现了“暴力”输入拦截系统。通过对 UnityEngine.Input 添加全局 Harmony 补丁,在 MOD 界面打开时彻底切断底层鼠标点击信号。
  • 性能与帧数优化: 优化了 Update 循环,将昂贵的射线发射器搜索频率降低至每 0.5 秒一次。显著降低了 CPU 占用,解决了条目较多时的掉帧卡顿。
  • 代码审查: 清理了冗余的调试日志并优化了内部逻辑结构,提升了代码的可读性与运行效率。
  • 客机联机显示修复: 修复了客机通过好友邀请进入游戏时,游戏内错误显示 MOD 配置按钮的问题。
  • 场景切换优化: 引入了 SceneManager.sceneLoaded 监听机制,确保从大厅进入游戏场景的整个加载过程中按钮处于隐藏状态。
  • 增强校验系统: 在显示追踪系统中增加了实时的场景名校验,提升了联机模式下 UI 显示/隐藏的可靠性。

[1.0.3] - 2026-02-08

Fixed

  • TMPro NRE: Resolved a NullReferenceException in clipping logic when processing complex mods like SpellCustomizer and YapLocalizer.
  • Input Field Crash: Fixed a critical game crash when clicking empty input fields after saving specific configurations.
  • Config Saving: Improved ApplyAllChanges to ensure all configuration files are properly saved to disk.
  • Scroll Experience: Increased mouse wheel scroll sensitivity and added visible scrollbars to both side panels.

修复

  • TMPro 空引用修复: 解决了在处理如 SpellCustomizer/YapLocalizer 等大型 MOD 时,裁剪逻辑触发的 NullReferenceException 报错。
  • 输入框崩溃修复: 修复了在保存特定配置后点击空字符串输入框导致的游戏闪退问题。
  • 配置保存优化: 改进了 ApplyAllChanges 逻辑,确保所有修改都能正确写入到各自的配置文件中。
  • 滚动体验优化: 提升了鼠标滚轮的灵敏度,并为左右面板都增加了可见的滚动条。

[1.0.2] - 2026-02-08

Fixed

  • UI Visibility: Implemented logic to ensure the MOD config button is only visible and available for MOD configuration entry operation in the Lobby, and is prohibited from being displayed in-game to avoid disrupting normal game operations.
  • Transition Logic: Fixed button persistence issues during game start transitions.

修复

  • 显示逻辑修复: 确保 MOD 配置按钮仅在大厅显示和配置 MOD 条目使用!禁止在游戏内显示,避免扰乱游戏的正常操作等行为!
  • 切换逻辑优化: 修复了点击开始游戏进入游戏过程中按钮残留的问题。

[1.0.1] - 2026-02-08

  • Initial release of the ModConfigManager.
  • ModConfigManager 初始版本发布。