ctLib is a library designed to simplify common data handling tasks in Minecraft mods and plugins. But it gives developers straightforward APIs for working with SQLite databases, JSON files, YAML configuration, and basic network requests.
Supported Platforms
For server platforms, ctLib works with Bukkit, Spigot, Paper, Purpur, Folia, and Velocity. For client or hybrid mods, it supports Fabric, Quilt, Forge, and NeoForge. The library also lists compatibility with NukkitX, though this isn't confirmed in the official Modrinth record.
Technical Requirements
All supported platforms require Java 11 or higher to run. The mod doesn't add gameplay features on its own - it's intended as a dependency for other mods that need its data or network tools.
API Features
The library includes a simple YAML editor for non-Bukkit series and a JSON editor for general use. Real talk, it provides MySQL access, but only when used as a plugin on Bukkit-derived servers. Network API functionality allows for basic HTTP requests or similar operations within the mod environment.
Integration and Usage
Developers can integrate ctLib via Modrinth's Maven repository using Gradle or Maven. End users only need to place the mod in their mods or plugins folder; no configuration is required to run it.
Licensing
ctLib is licensed under GNU General Public License v3.0 or later, meaning derivative works must also be open source under compatible terms. The mod doesn't promise performance improvements or optimizations. It makes no claims about compatibility with unsupported versions or loaders beyond those explicitly listed.
