Night Config Fixes

Night Config Fixes

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

by
5.2M Downloads
fabricforgelibrary
Rent Server with this Mod

Screenshots

Night Config Fixes Screenshot 1

About this Mod

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.

Available Versions

[FABRIC] [1.20] NightConfigFixes-v7.0.0release
MC 1.20fabric
June 30, 2023
[FORGE] [1.20] NightConfigFixes-v7.0.0release
MC 1.20forge
June 30, 2023
[FABRIC] [1.20.1] NightConfigFixes-v8.0.0release
MC 1.20.1fabric
June 28, 2023
[FORGE] [1.20.1] NightConfigFixes-v8.0.0release
MC 1.20.1forge
June 28, 2023

How to Install Night Config Fixes on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Night Config Fixes". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforge

Minecraft Versions

1.20.1, 1.20

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Night Config Fixes server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Night Config Fixes compatible with fabric and forge?

Night Config Fixes officially supports fabric, forge for Minecraft 1.20.1, 1.20. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Night Config Fixes – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Night Config Fixes consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Night Config Fixes with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Mozilla Public License 2.0
Server-side
Optional

Supported Versions

1.20.11.20