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.71M
22
Library
AboutGalleryChangelogVersions

     

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.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20–1.20.1

Platforms

Fabric
Forge

Supported environments

Client-side
Server-side
Client and server (optional)

Links

Report issues View source Join Discord server

Creators

Fuzs
Fuzs Owner
LunaPixelStudios
LunaPixelStudios Studio

Details

Licensed MPL-2.0
Published 2 years ago
Updated 2 years ago

Modrinth is open source.

main@58dac27

© 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.