What are you searching for?

Night Config Fixes

Night Config Fixes

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

download 3.3M Downloads · favorite 25 Followers · Updated 2 years ago
Fabric Forge Library Management Utility 1.20 1.20.1

Versions

inventory_2
[FABRIC] [1.20] NightConfigFixes-v7.0.0

v7.0.0-1.20-Fabric · 2 years ago · 39.62 KB

Release download
Fabric 1.20
inventory_2
[FORGE] [1.20] NightConfigFixes-v7.0.0

v7.0.0-1.20-Forge · 2 years ago · 62.26 KB

Release download
Forge 1.20
inventory_2
[FABRIC] [1.20.1] NightConfigFixes-v8.0.0

v8.0.0-1.20.1-Fabric · 2 years ago · 39.62 KB

Release download
Fabric 1.20.1
inventory_2
[FORGE] [1.20.1] NightConfigFixes-v8.0.0

v8.0.0-1.20.1-Forge · 2 years ago · 62.27 KB

Release download
Forge 1.20.1

About

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.

open_in_new View on Modrinth
Compatibility
Client: Optional Server: Optional
gavel MPL-2.0

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 128.4M
favorite 27,401
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.4M
favorite 13,670
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
lock Cookie consent

SkinMC uses cookies to provide functionality and features.