MineConf
MineConf is a powerful configuration library for Minecraft Fabric mods, providing a simple and intuitive API along with a user-friendly graphical interface to help mod developers easily manage and maintain configuration files.
🎮 Command-Line Interface
MineConf provides a complete command-line interface for viewing and modifying configurations:
| Command | Description |
|---|---|
/mineconf screen |
Open the configuration interface for all mods(Required fabric-gui-imgui) |
/mineconf screen <mod_id> |
Open the configuration interface for a specific mod(Required fabric-gui-imgui) |
/mineconf get <mod_id> <conf_id> |
Get a configuration basic info |
/mineconf get <mod_id> <conf_id> value |
Get a configuration value info |
/mineconf set <mod_id> <conf_id> <value> |
Set a value for literal type configurations |
/mineconf append <mod_id> <conf_id> <value> |
Append an element to a collection type configuration |
/mineconf append <mod_id> <conf_id> <key> <value> |
Append a key-value pair to a multimap type configuration |
/mineconf remove <mod_id> <conf_id> <index> |
Remove an element from a collection type configuration |
/mineconf remove <mod_id> <conf_id> <key> |
Remove a key from a multimap type configuration |
/mineconf remove <mod_id> <conf_id> <key> <value> |
Remove a specific key-value pair from a multimap type configuration |
