Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Details
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 have been daily reports mentioning this issue for the Better Minecraft mod packs, which feels common enough to provide a dedicated workaround mod.
▶️ The issue occurs randomly where a config file will just go blank and Night Config will throw the exception when trying to read that file next time.
▶️ Night Config Fixes makes sure this no longer crashes the game, but instead catches the exception and simply recreates the config from its default values.
▶️ Modpacks must put their configured config files in the defaultconfigs
directory instead of config
so the correct values can be restored!
▶️ Also includes an additional option to generate server configs on Forge in the global config
directory instead of locally per world in serverconfig
!
▶️ Find out more details on the GitHub repository!
⏩ INSTALLATION OPTIONAL ON CLIENT & OPTIONAL ON SERVER
If available for a mod, configuration is possible directly from in-game using the mod menu (requires Mod Menu by Prospector to be installed on Fabric). Please note that on older Minecraft versions installing Forge Config Screens is also a requirement.
For manual configuration using an external text editor all files are found at .minecraft/config
, named as MOD_ID-client.toml
, MOD_ID-common.toml
, or MOD_ID-server.toml
, depending on the type of config. Not all types might exist for a mod, if any at all.