MidnightLib

MidnightLib

Common library providing a lightweight configuration system

by
25.9M Downloads
fabricforgeneoforgequiltlibraryutility
Rent Server with this Mod

Screenshots

The example config
Example config screen
User-friendly error handling
Sliders make number selection a charm.
Create lists containing Strings, Identifiers, Numbers, etc.
Use file- and directory-choosers!

About this Mod

MidnightLib is a lightweight library that provides common utils and a configuration system for mods.

Mod developers are allowed and encouraged to bundle it with their mods via Jar-in-Jar.
Every feature can be toggled in the library's own config screen/file.

Example configuration screen

Visit the new Wiki to get started now.

Available Versions

MidnightLib 1.9.3 - Neoforge 26.2release
MC 26.2neoforge
June 17, 2026
MidnightLib 1.9.3 - Fabric 26.2release
MC 26.2fabric, quilt
June 17, 2026
MidnightLib 1.9.3 - Fabric 26.2-pre-3release
MC 26.2-pre-3fabric, quilt
June 4, 2026
MidnightLib 1.9.3 - Neoforge 26.1release
MC 26.1, 26.1.1, 26.1.2neoforge
May 2, 2026
MidnightLib 1.9.3 - Fabric 26.1release
MC 26.1, 26.1.1, 26.1.2fabric, quilt
May 2, 2026

How to Install MidnightLib 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 (26.2).

3

Install Mod

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

Compatibility

Mod Loaders

fabricforgeneoforgequilt

Minecraft Versions

26.2, 26.2-pre-3, 26.1.2 (+56 more)

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

MidnightLib 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 (26.2). You can switch loaders with one click in the panel.

Is MidnightLib compatible with fabric and forge and neoforge and quilt?

MidnightLib officially supports fabric, forge, neoforge, quilt for Minecraft 26.2, 26.2-pre-3, 26.1.2. 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 MidnightLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MidnightLib 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 MidnightLib 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
MIT License
Server-side
Optional

Supported Versions

26.226.2-pre-326.1.226.1.126.11.21.111.21.101.21.91.21.9-rc11.21.8+49 more