ConfigLedger

Tracks which mod version made each config, flags outdated configs and leftovers from removed mods, and adds an in-game editor for every config.

Config Ledger

See which configs are out of date after a mod update, find the configs left behind by mods you removed, and edit any config file from a Configs button on the main menu, without leaving the game.

When you update a mod, its old config usually stays put. New options can be missing, defaults may have changed, and nothing tells you. When you remove a mod, its config stays in your folder forever. Config Ledger keeps track of all of it.

Know which configs are out of date

Config Ledger records which version of each mod wrote each config file. When you update a mod, its configs are flagged:

  • Up to date - the file was written by the version you have installed.
  • Out of date - the mod was updated since the file was written (for example 5.2.0 -> 5.4.1). New options or changed defaults may be missing. Delete the file to let the mod make a fresh one, or press Mark Up to Date once you've checked it.
  • Mod not installed - the file belongs to a mod that is no longer in your mods folder.
  • Unknown mod - no installed mod matches the file.
  • Backup copy - .bak and .old files that mods leave behind.

If a mod rewrites or updates its own config at startup, Config Ledger notices and counts the file as up to date again. Configs that already existed before you installed Config Ledger are assumed to match the version installed at that time, and their tooltip says so.

A summary of out-of-date configs and configs from missing mods is also written to the log at startup, on clients and servers.

Edit every config in one place

Click Configs on the main menu (next to Mods) to see every file in your config folder:

  • Search by file or mod name, and filter to show only what needs attention.
  • Hover a file for details: which mod owns it, which version wrote it, and what's installed now.
  • Double-click to open it.

Settings view for .toml and .json files:

  • Browse sections, flip true/false options with one click, and type in text and numbers.
  • Each setting's description is shown under its name.
  • Search all settings in a file by name or description.
  • Add and remove entries in lists.
  • Invalid numbers turn red and can't be saved.
  • TOML files keep their comments and layout. Only the values you changed are touched.

Text editor for every other file (.properties, .cfg, .yml, .txt, ...) and for files with errors. If a TOML or JSON file has a syntax error when you save, you get a warning first.

Safe saving: before every save, the old file is copied to config/configledger/backups/, and leaving with unsaved changes asks whether to save, discard or cancel. Many NeoForge configs reload as soon as you save them; some mods only read their config when the game starts.

Blacklist

Don't want Config Ledger to touch a mod's configs? Add its jar file name to the blacklist in config/configledger-common.toml (or edit it in the Configs menu itself). Wildcards work, so "jei-*.jar" keeps matching after updates. Blacklisted configs are never checked, listed or edited.

Config

config/configledger-common.toml:

  • blacklist - jar file names to ignore (* and ? wildcards, not case-sensitive)
  • menuButton - show the Configs button on the main menu
  • logSummary - write the out-of-date and missing-mod summary to the log at startup

FAQ

Does it need to be on the server? No. The menu is client-side. On a dedicated server, it only logs the summary of out-of-date configs and configs from missing mods.

How does it know which mod a config belongs to? For configs registered with NeoForge, it knows exactly. For other files, it matches the folder or file name against the mods you have installed (for example jei/ or sodium-options.json).

Will it change my configs on its own? No. Config Ledger only writes a config when you press Save in its editor. Its own records live in config/configledger/.

Why do configs from before I installed it show as up to date? Config Ledger can't know which version wrote a file before it was installed, so it starts from the versions you have now. Updates from then on are tracked.

What about comments in JSON files? Saving from the settings view removes comments in JSON files (a warning is shown). Use the Text Editor button to keep them.


Requires NeoForge for Minecraft 1.21.1. No other dependencies.

ConfigLedger Team

profile avatar
  • 5
    Projects
  • 367
    Downloads

It was my name on D2, if you're wondering.

More from rawrXDnuzzlesyouView all