Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Night Config Fixes

Night Config Fixes

A small number of workarounds for relatively common issues concerning the Night Config library.

1.20M
22
Library

Compatibility

Minecraft: Java Edition

1.20–1.20.1

Platforms

Fabric
Forge

Supported environments

Client-side
Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Fuzs
Fuzs Owner
LunaPixelStudios
LunaPixelStudios Studio

Details

Licensed MPL-2.0
Published last year
Updated last year
DescriptionGalleryChangelogVersions

     

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

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.