Minecraft.How
로딩 중...
본문으로 건너뛰기
Java 모드Libraries & APIs

Night Config Fixes

제작 Fuzs

Night Config Fixes adds three workarounds for common Night Config library issues on Fabric and Forge for Minecraft 1.20 and 1.20.1.

저희 소개글

이 프로젝트가 하는 일

What it does Night Config Fixes is a small library mod that targets three recurring problems with the Night Config library as used by Minecraft Forge's configuration system. The mod is optional on both client and server, so you can install it only where the issues appear. ## Workaround one: blank config crash The first workaround handles the ParsingException: Not enough data available crash. On Windows, config files sometimes lose all their data and become empty. When Night Config tries to read such a file, the game crashes. With this workaround enabled, the mod deletes the blank file and generates a fresh one using default values. Any custom settings in the corrupted file are lost. For modpacks that ship pre-configured files, place those files in the defaultconfigs folder so the restored config uses the pack's intended defaults instead of the mod's built-in ones. ## Workaround two: respect modpack defaults The second workaround changes how Forge corrects individual invalid config entries. Normally, when a single value fails to parse (for example, a user types 10.5 for an integer setting), Forge resets that entry to the mod's built-in default. This workaround makes Forge check the defaultconfigs directory first. If the modpack provides a default there, that value is used instead. ## Workaround three: global server configs The third workaround is Forge-only. It forces server-type config files to generate in the global config directory rather than inside each world's saves/WORLD_NAME/serverconfig folder. The author notes that Forge's per-world approach causes confusion for many users. ## Compatibility The Fabric build includes only the first workaround. The second and third workarounds are specific to Forge's config system and exist only in the Forge version. Supported Minecraft versions are 1.20 and 1.20.1. Both Fabric and Forge loaders are supported. The project is licensed under Mozilla Public License 2.0.

반응

반응하려면 로그인하세요.

호환성

버전과 로더

기록된 릴리스 4개

v7.0.0-1.20-Fabric

release

다운로드 (40 KB)

v7.0.0-1.20-Forge

release

다운로드 (62 KB)

v8.0.0-1.20.1-Fabric

release

다운로드 (40 KB)

v8.0.0-1.20.1-Forge

release

다운로드 (62 KB)

갤러리

Night Config Fixes icon

저희는 더 나은 이용 경험을 제공하기 위해 쿠키를 사용합니다. 이 사이트를 계속 이용하시면 쿠키 사용에 동의하는 것으로 간주됩니다. 개인정보 처리방침 보기