Qconf Over Minecraft Commands (QoMC)

拉下拉杆,启动 QoMC!
QoMC 会自动为使用 Kaleido Config(Quilt Config 的 JiJ 安全实现)的 Minecraft 模组生成配置命令。
专为 Kaleido 选定的毒药。Kaleido 的毒药。
许多模组 使用了 Kaleido Config 这个配置库,其优势在于兼容所有加载器和 Minecraft 版本。
基于 Kaleido 的配置会在游戏的 config 目录中生成 .toml 文件,但这些文件无法在游戏运行时直接修改。
McQoy 通过自动生成客户端配置 GUI 来解决这个问题,允许你在游戏内编辑配置。
这对于单人游戏或仅涉及客户端的模组很有用,但对于服务器或其他需要在进入 GUI 之前查看配置前后效果的场景则帮助有限。QoMC 通过生成配置命令来解决这一问题!
……好吧。
安装后,QoMC 会在启动时检测使用 Kaleido 的模组,并为它们自动生成相应的命令。
默认情况下,命令格式为 /<Mod ID>_config,例如 /qomc_config。
对于仅客户端的配置,命令格式为 /<MOD ID>_config_client。
对于拥有多个配置文件的模组,QoMC 会按配置文件拆分命令,例如 /qomc_config demo 和 /qomc_config main。
为辩护起见,你们的毒药看起来都一样
对于开发者而言,集成 QoMC 是隐式的——只需使用 Kaleido Config 进行配置,当安装了 QoMC 时,相关命令就会自动出现。
QoMC 是一个纯粹可选的运行时依赖项,因此不要在你的构建脚本或模组元数据中依赖 QoMC——仅在 Modrinth / CurseForge 上提及即可。
如果你已经实现了自己的配置命令,可以使用元数据键禁用 QoMC 对你模组的配置发现:
在 fabric.mod.json 中:
"custom": {
"qomc:hidden": true
}
或在 neoforge.mods.toml 中:
[modproperties.qomc]
hidden=true
若要让 QoMC 将某个配置识别为客户端配置,只需将该配置命名为 client 即可。
甜点怎么样?
本项目采用 LGPL 3.0 许可证授权。
QoMC 直接受到了 McQoy 的启发,它是 QoMC 对应的客户端 GUI 工具!
Qconf Over Minecraft Commands (QoMC)

pull the lever, qomc!
QoMC automatically generates config commands for Minecraft mods utilizing Kaleido Config (JiJ-safe implementation of Quilt Config)
THE POISON CHOSEN ESPECIALLY FOR KALEIDO. KALEIDO'S POISON.
A number of mods utilize the config library Kaleido Config, which is convenient as it works on all loaders and minecraft versions.
Kaleido-based configurations generates .toml files in the game's config directory, but these can't be changed while the game is running.
McQoy solves this by auto-generating client-side configuration GUIs which allow you to edit the configs in-game.
This is good for singleplayer and client-side mods, but unhelpful for servers, or other situations where you need to see the before/after effect without going into the GUI. QoMC addresses this by generating config commands instead!
...RIGHT.
After installation, QoMC will detect mods making use of Kaleido on startup, and auto generate a command for them.
By default, the commands is generated as /<Mod ID>_config, e.g. /qomc_config.
For client-side config, they are generated as /<MOD ID>_config_client.
For mods with multiple config files, QoMC will split the commands by config, e.g. /qomc_config demo and /qomc_config main.
IN MY DEFENSE, YOUR POISONS ALL LOOK ALIKE
For devs, QoMC integration is implicit - just use Kaleido Config for configuration, and relevant commands will appear when QoMC is installed.
QoMC is a purely optional runtime dependency, so don't depend on QoMC in your buildscripts or mod metadata - only on modrinth / curseforge.
If you've implemented your own config commands, you can disable discovery of your configs using a metadata key:
In fabric.mod.json:
"custom": {
"qomc:hidden": true
}
Or in neoforge.mods.toml:
[modproperties.qomc]
hidden=true
To make QoMC recognize a config as client-side, simply name your config as client.
HOW ABOUT DESSERT?
This project is licensed under the LGPL 3.0
QoMC takes direct inspiration from McQoy, its client-side GUI counterpart!
评论 0
登录后参与评分
还没有评论,来抢沙发吧