Night Config Fixes
by Fuzs
Night Config Fixes is a small Fabric and Forge library that works around blank config files and related Night Config read errors for 1.20 and 1.20.1.
What it does
When a config file is found empty, Night Config throws an exception the next time it tries to read that file. The mod provides workarounds for this problem and a few other uncommon issues with the Night Config library. The author reports that the problem appears randomly and was frequent enough across Better Minecraft modpacks to justify a separate fix.
Modpacks that want their configured files to survive the problem should place them in the defaultconfigs directory rather than config, so that the correct values can be restored. On Forge, the mod can also generate server configs in the global config directory rather than one per world in serverconfig. Details are kept in the GitHub repository.
Either side can run it, and neither needs it. The files cover 1.20 and 1.20.1, with 7.0.0 published on 2023-06-30 as the latest build for each loader. The code is open source under the Mozilla Public License 2.0.
Key features
Blank config recovery
Restores configured values for files that Night Config would otherwise fail to read after they become blank.
Defaultconfigs placement
Modpacks keep their configured files in the defaultconfigs directory so the correct values can be restored.
Global server configs on Forge
Generates server configs in a shared global folder, so each world does not get its own copy.
Targeted library fixes
A small set of workarounds for relatively common Night Config problems, without broader changes to the library.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Modpack maintenance
Pack authors who have seen config files go blank can move their configured files to defaultconfigs and keep the correct values.
Shared server settings
On Forge servers, the global config option lets server owners keep one set of server configs across worlds.
Who it’s for: Modpack authors and server owners who run into blank or unreadable Night Config files, mainly on 1.20 and 1.20.1.
Questions
Which loaders does Night Config Fixes support?
Does the server need Night Config Fixes?
Where should modpack configs be placed?
In the catalog
Night Config Fixes is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from Fuzs
Similar mods
What the author says
Night Config Fixes exists for the sole purpose of implementing a workaround for the rather common com.electronwill.nightconfig.core.io.ParsingException: Not enough data available issue related to config loading when using the Night Config library (used by Forge's config system, as well as many mods on Fabric). There…
Official listing
- Modrinth page
- modrinth.com/mod/night-config-fixes
- Owner
- Fuzs
- Published
- 2023-06-28
- Updated on Modrinth
- 2023-06-30
- Facts verified
- 2026-10-15
