CurseForge · Minecraft mod
Night Auto Config
Serialize everything! Night Config integration for Auto Config.
Quick answer
Which Night Auto Config release should I use?
Night Auto Config 1.0.6 for Fabric 1.21+ targets 1.21, 1.21.1, 1.21.2 with Fabric, Quilt. The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server. All 3 required mods have matching files.
Where it goes
Is Night Auto Config required on the client, server, or both?
The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.
The source does not explicitly classify this release as client-only or server-only.
What else does Night Auto Config 1.0.6 for Fabric 1.21+ need?
Night Auto Config 1.0.6 for Fabric 1.21+. Change the file and its required mods may change too.
Install Fabric API, Cloth Config API (Fabric/Forge/NeoForge), Cloth Config API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Night Auto Config without breaking your instance.
Built for Night Auto Config 1.0.6 for Fabric 1.21+. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Night Auto Config 1.0.6 for Fabric 1.21+. It targets 1.21, 1.21.1, 1.21.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API, Cloth Config API (Fabric/Forge/NeoForge), Cloth Config API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside Night Auto Config 1.0.6 for Fabric 1.21+. It opens that exact file at the source.
About this project
What does Night Auto Config add?
Night Auto Config
Serialize everything! Night Auto Config is a Night Config integration for Auto Config (now embedded in Cloth Config).
Implementation
Night Auto Config introduces a NightConfigSerializer to satisfy Auto Config's requirement of a serializer's implementation. You can choose from all the available config formats of Night Config, and use the serializer just as other common serializers, even along with a PartitioningSerializer.
Add to Your Project
It is recommended to use JitPack to implement Night Auto Config into your project.
Groovy
build.gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
modApi "com.github.KessokuTeaTime:Night-Auto-Config:${project.nightautoconfig_version}"
// You'll need to implement Cloth Config API here.
}
gradle.properties
nightautoconfig_version={latest}
Kotlin DSL
build.gradle.kts
repositories {
maven { url = uri("https://jitpack.io") }
}
dependencies {
modAi("com.github.KessokuTeaTime:Night-Auto-Config:${project.nightautoconfig_version}")
// You'll need to implement Cloth Config API here.
}
gradle.properties
nightautoconfig_version={latest}
You should replace
{latest}with the latesttag nameof Night Auto Config.
Reference as Dependency
Don't forget to reference Night Auto Config as dependency in your mod's metadata.
fabric.mod.json / quilt.mod.json
{
"depends": {
"nightautoconfig": "*"
}
}
Usage
The serializer implementation is at band.kessokuteatime.nightautoconfig.config.NightConfigSerializer.
Here's a brief example:
MyConfig.java
// Use annotations provided by Night Auto Config to define serializer providers and deserializer providers at runtime!
@SerializerProvider(MyClassSerializerProvider.class)
@Config(name = "my_config")
public class MyConfig implements ConfigData {
// Something...
private transient final Supplier<String> someStringProvider = () -> "default";
// All Night Config annotations are available
@SerdeDefault(provider = "someStringProvider")
public String someString = someStringProvider.get();
// Night Auto Config provides some interfaces for convenience implementations
// For example, `UnifiedSerializerProvider<T, R>` satisfies both `ValueSerializer<T, R>` and `ValueSerializerProvider<T, R>`
public static class MyClassSerializerProvider implements UnifiedSerializerProvider<MyClass, String> {
// ...
}
// A custom serializer provider for `MyClass` is already specified at type definition
public MyClass someInstance = new MyClass();
}
MyMod.java
public class MyMod implements ModInitializer {
@Override
public void onInitialize() {
// Don't remember to register into Auto Config at initialize
AutoConfig.register(NightExampleConfig.class, ConfigType.DEFAULT_COMMENTED::fileWatcherSerializer);
}
}
For runtime examples, checkout this package.
Please annotate your fields with
com.electronwill.nightconfig.core.serde.annotations.SerdeDefaultfor basic compatibilities! Otherwise, serialization exceptions may happen casually.
Project description from CurseForge.
Pick your setup
Night Auto Config by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
3 loader builds1.20.6
2 loader builds1.20.5
2 loader builds1.20.4
2 loader builds1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader builds1.20
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Night Auto Config versions and loaders
Night Auto Config 1.1.0-alpha.4 for NeoForge 1.21+
nightautoconfig-1.1.0-alpha.4-neoforge.1.21.1.jar
15 Nov 2025
Night Auto Config 1.1.0-alpha.4 for NeoForge 1.21+
nightautoconfig-1.1.0-alpha.4-neoforge.1.21.1.jar
15 Nov 2025
Night Auto Config 1.1.0-alpha.4 for NeoForge 1.21+
nightautoconfig-1.1.0-alpha.4-neoforge.1.21.1.jar
15 Nov 2025
Night Auto Config 1.0.6 for Fabric 1.21+
nightautoconfig-1.0.6-fabric.1.21.jar
17 Jul 2024
Night Auto Config 1.0.6 for Fabric 1.20.x
nightautoconfig-1.0.6-fabric.1.20.jar
17 Jul 2024
Night Auto Config 1.0.4 for Fabric 1.20.x
nightautoconfig-1.0.4-fabric1.20.jar
14 Jul 2024
Night Auto Config 1.0.4 for Fabric 1.21+
nightautoconfig-1.0.4-fabric1.21.jar
14 Jul 2024
Night Auto Config 1.0.3 for Fabric 1.20.x
nightautoconfig-1.0.3-fabric1.20.jar
12 Jul 2024
Night Auto Config 1.0.3 for Fabric 1.21+
nightautoconfig-1.0.3-fabric1.21.jar
12 Jul 2024
Night Auto Config 1.0.2 for Fabric 1.20.x
nightautoconfig-1.0.2-fabric1.20.jar
11 Jul 2024
Night Auto Config 1.0.2 for Fabric 1.21+
nightautoconfig-1.0.2-fabric1.21.jar
11 Jul 2024
Night Auto Config 1.0.1 for Fabric 1.21+
nightautoconfig-1.0.1-fabric1.21.jar
11 Jul 2024
Looking for an older file? The official CurseForge project page is in Resources.