Fzzy Config

Fzzy Config

热度 329455539
最近更新11 个月前
带有自动图形用户界面(GUIs)的配置 API、强大的验证选项、服务器 - 客户端同步以及更多功能! Confi...

Fzzy Config是一款功能强大的Minecraft模组配置引擎,能满足你的各种需求。无论是快速简单配置,还是详尽丰富的配置,Fzzy Config都能与你配合默契。它提供了一系列丰富的功能,远超其他同类库。

基础功能

  • 自动序列化为TOML格式。
  • API简洁,集成要求轻量化

图形用户界面(GUIs)

  • 根据配置文件的布局和内容自动生成图形用户界面。
  • 界面原生支持全键盘导航和屏幕朗读功能。
    • 经模组社区的一位视障成员全面审查和测试。
  • 无需屏幕构建器或注册操作。
  • 自动集成ModMenu和Catalogue。

同步功能

  • 自动进行服务器 - 客户端同步。
  • 从客户端向服务器推送实时更新。
  • 将客户端设置转发给希望采用你配置的其他用户。

验证功能

  • 所有内容均内置验证和校正功能,不仅限于基本数据类型。
  • 严格控制玩家可选择的值以及选择方式。
  • 针对标签和标识符等设置自动提供建议。

更新功能

  • 通过一个简单的方法实现支持版本化更新。
  • 提取先前的配置,以便轻松从其他配置库进行更新。

灵活性

  • 你可以随心所欲,轻松或精心地实现配置。

  • 既可以是普通的Java/Kotlin对象,也可以像Minecraft的GameOptions那样精心设计的设置。


Fzzy Config is a powerful configuration engine for Minecraft Mods that meets you where you want to be. Quick and dirty or detailed and featureful, Fzzy Config will work with you. It provides a wide array of features above and beyond what you can find in other libraries.

The Basics

  • Automatic serialization to TOML.
  • Minimal API with lightweight integration requirements

GUIs

  • Automatic GUI generation based on the layout and content of your config files.
  • Screens are fully keyboard-navigable and narratable out of the box.
    • Fully vetted and tested by a visually impaired member of the modding community.
  • No need for screen builders or registration.
  • ModMenu and Catalogue automatically integrated.

Synchronization

  • Automatic server-client sync.
  • Push live updates to a server from a client.
  • Forward client settings to other users who want your setup.

Validation

  • Validation and Correction built into everything, beyond just primitive types.
  • Tightly control what values a player can choose from and how they choose them.
  • Automatic suggestions for settings like tags and identifiers.

Updates

  • Versioned updates supported with one simple method implementation.
  • Scrape previous configs to easily update from another config library.

Flexibility

  • Implement a config with as little or much effort as you want.

  • Plain java/kotlin object, or Minecraft GameOptions-like carefully crafted settings.

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!