All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Glass Config API

Glass Config API

by calmilamsy • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

An API heavily inspired by Cloth Config for beta 1.7.3, which makes it extremely easy to add configuration to your mod.

For players, this adds an autogenerated config screen to ModMenu Beta for easy editing of config files. This won't do anything without any mods that use this.

This has a relatively flexible API which can be used to add custom configuration screens, values, and save/load logic. There's also built-in support for multiplayer syncing, hot-reloading of configs, and descriptions, which are saved inside the JSON file.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
b1.7.3
Ornithe
9mo ago 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
This is a preliminary beta release of GCAPI for Ornithe Gen2.

Do NOT download if you're using babric.

Changes:
  • Glass networking is now bundled.
  • Fix some saving oversights.
  • Invalid configs no longer crash on launch. Only invalid default configs do now.
  • Added an easy enum builder for config factories.
[3.2.5] Glass Config API 3.2.5 by calmilamsy on Sep 17, 2025
Download
  • Fix a crash that'd happen when updating a config outside of a world.
[3.2.4] Glass Config API 3.2.4 by calmilamsy on Sep 10, 2025
Download
  • Fixed an error when opening configs with Modmenu Babric.
[3.2.3] Glass Config API 3.2.3 by calmilamsy on Sep 08, 2025
Download
  • Added compatibility with modmenu-babric.
[3.2.2] Glass Config API 3.2.2 by calmilamsy on Aug 27, 2025
Download
  • Fixed config menus not being listed correctly.
[3.2.1] Glass Config API 3.2.1 by calmilamsy on May 04, 2025
Download
  • Fixed a bug with config validation, causing configs to fail loading.
[3.2.0] Glass Config API 3.2.0 by calmilamsy on May 04, 2025
Download
  • Added Double support. I somehow forgot this for so long.
  • Deprecated min/maxLength for min/maxValue, which has double instead of long as it's value. min/maxLength will continue to work until 4.0 releases.
  • Fixed a bug where loading into singleplayer would lock configs to vanilla server values.
[3.1.0] Glass Config API 3.1.0 by calmilamsy on Apr 11, 2025
Download
  • Added click sounds for the reset config widget.
  • Add reset widgets for categories and config category screens.
  • Fix a few crash bugs.
  • Reworked how multiplayer configs are handled, please report issues if you find any.
  • The config UI has been tweaked to take up the entire screen instead of just a column in the middle.
  • Added new restart required config parameter.
  • Fixed some out of date documentation.
[3.0.4] Glass Config API 3.0.4 by calmilamsy on Feb 24, 2025
Download
  • Fixed a weird obsucre crash... Somehow.
  • Fixed pages not being in the right order.
[3.0.3] Glass Config API 3.0.3 by calmilamsy on Feb 21, 2025
Download
  • Compat update for modmenu 11.
[3.0.2] Glass Config API 3.0.2 by calmilamsy on Oct 29, 2024
Download
  • Fix PreConfigSaved not having the old config values passed properly.
[3.0.1] Glass Config API 3.0.1 by calmilamsy on Oct 01, 2024
Download
  • Fixed compat with GCAPI2
[3.0.0] Glass Config API 3.0.0 by calmilamsy on Sep 05, 2024
Download
  • Important note: This can coexist with GCAPI2 without issues.**

  • Fixed many bugs, like integer configs having max length being set wrong, and a couple of crash issues.
  • Config validation is now properly applied when loading from files.
  • Converted to YAML instead of JSON, due to it being much easier to edit for users.
  • Added the ability for modders to hide config fields from the gui.
  • Many other small changes that are only really relevant to coders, which are covered in the github documentation.
[2.0.2] Glass Config API 2.0.2 by calmilamsy on Mar 13, 2024
Download
  • Fixed an oversight where the client would crash on joining a server if the config UI wasn't opened beforehand.
  • Fixed an oversight where the root config screens would always show the cycle buttons, even if there was nothing to cycle to.
  • Fixed a crash issue on some installs when guava wasn't included.
[2.0.1] Glass Config API 2.0.1 by calmilamsy on Feb 18, 2024
Download
  • Fixed an oversight in the enum handler that prevented it's actual use, and a crash on startup on fresh configs.
[2.0.0] Glass Config API 2.0.0 by calmilamsy on Feb 16, 2024
Download
This is a pretty big release. For a summary of all the noteworthy feature changes, see the [Migration](https://github.com/calmilamsy/glass-config-api/wiki/Migration1.0) page.

  • You can now reset fields to default.**
  • The config cycle tabs now show the other configs, are hidden when there are no other configs, and also show the name of their related configs.
  • Fixed a ton of bad and otherwise janky save behaviors.
  • Fixed a few logging issues.
  • Added enum support.
  • Added vanilla server related events.
  • Added the ability to dynamically provide config fields, and decide if a category should get loaded.
  • Some other under the hood changes. See the migration page.
[1.3.1] Glass Config API 1.3.1 by calmilamsy on Jan 22, 2024
Download
  • Fixed a bug where the preload entrypoint was never called.
[1.3.0] Glass Config API 1.3.0 by calmilamsy on Jan 20, 2024
Download
Initial Modrinth release.

Changes since 1.2.1:
  • Fixes many input issues inside the scrollable screens, causing tooltips, button presses, text field highting, and other unwanted effects outside the visible area.
  • Adds JsonObject support for reloadConfig.
Glass Config API Icon
Download Glass Config API
Select game version
Select platform