

Night Config Fixes
About the Mod
Night Config Fixes was created as a specialized solution to resolve a common issue related to the Night Config library, which is used in Forge's configuration system and many Fabric mods. Occasionally, there appears an error com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
related to configuration file loading. This mod offers a stable fix for the problem.
Key Features
-
Eliminating Random Crashes: Sometimes configuration files unexpectedly become blank, and the Night Config library throws an error when trying to read them. This mod prevents game crashes, catches the exception, and automatically restores the configuration using default values.
-
Important for Modpacks: To properly restore settings, modpacks should place their configured files in the
defaultconfigs
directory instead of the traditionalconfig
folder. -
Additional Feature for Forge: Also provides an option to generate server configurations in the global
config
directory instead of the localserverconfig
folder for each individual world. -
Detailed Information: More detailed documentation can be found in the GitHub repository.
Installation and Configuration
Installation: Optional on client and optional on server.
Configuration: If available for a mod, settings can be adjusted directly in-game through the mod menu (requires Mod Menu installed for Fabric). On older Minecraft versions, Forge Config Screens is also needed for this.
For manual configuration using a text editor, all files are located in the .minecraft/config
folder. They may be named MOD_ID-client.toml
, MOD_ID-common.toml
, or MOD_ID-server.toml
depending on the configuration type. Not all mods have such files.