ModsFinder

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.

FabricForgeClient or server, optionalMozilla Public License 2.0Open source1.20 – 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

  1. Blank config recovery

    Restores configured values for files that Night Config would otherwise fail to read after they become blank.

  2. Defaultconfigs placement

    Modpacks keep their configured files in the defaultconfigs directory so the correct values can be restored.

  3. Global server configs on Forge

    Generates server configs in a shared global folder, so each world does not get its own copy.

  4. Targeted library fixes

    A small set of workarounds for relatively common Night Config problems, without broader changes to the library.

Compatibility

Latest build for each game version and loader.

1.20.1v8.0.0-1.20.1-Fabricv8.0.0-1.20.1-Forge
1.20v7.0.0-1.20-Fabricv7.0.0-1.20-Forge
ReleaseBetaAlphaNot available

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?

Night Config Fixes is published for both Fabric and Forge, with files for 1.20 and 1.20.1.

Does the server need Night Config Fixes?

No. Either side can run it, and neither needs it, so a server can run without it. The global server config option only applies on Forge.

Where should modpack configs be placed?

Configured files belong in the defaultconfigs directory, so the correct values can be restored when a file goes blank.

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

All projects

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…
Fuzs, on the Modrinth page

Official listing

Owner
Fuzs
Published
2023-06-28
Updated on Modrinth
2023-06-30
Facts verified
2026-10-15

Tags