Fast Config API

Fast Config API

Mod

This API makes creating Configs easy and fast

Server

16.1k downloads
10 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Fast Config API

First 1.21 release (api v2)

Fast Config API

Rewritten the whole API (v2, beta)

  • Added new FastConfig annotation
  • Added new Loader annotation
  • Now all configs are loaded dynamically and automatically
  • Now configs can be loaded through URLs
  • Now configs are managed with both sync and async methods
  • Drastically simplified the whole API:
    • FastConfig annotation automatically creates configs
    • Loader annotation defines a specific loader to use to write/read configs
    • Serializers are used to serialize and deserialize classes / strings
    • Removed config registration at startup (now all configs are automatically registered)
    • Added the FastConfigs class to access all the configs
    • Added specific-side configs
    • Added config subdirectories
    • Added loader silently failure
    • Added loader specific deserializer

New version! (1.18.2 backporting)