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
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+