
CodeLib - Coder's Libraries
A Paper plugin that downloads and extracts essential Java libraries for Coder addons — including Gson, Rhino, LuaJ, Jython, HttpClient, VaultAPI, LuckPerms, ProtocolLib and more. Drop it in your server once and let CodeLib handle the rest.
Tags
Creators
Details
1.2.4
Compatibility
Changes
CodeLib v1.2.4
Initial release.
What's included
- Downloads 17 built-in libraries on server start (Gson, Rhino, LuaJ, Jython, HttpClient, OkHttp, Guava, ASM, MVEL2, Reflections, Commons Lang3, Commons IO, SnakeYAML, VaultAPI, LuckPerms API, ProtocolLib, and more)
- Extracts each
.jarinto/plugins/CodeLib/extractedLibs/<name>/ - Reads
codelib-conf.ymlfor toggle control over downloads, caching, and cleanup - Supports custom extra dependencies via
extraDeps.yml - Self-disables after libraries are ready — no persistent footprint
- Full bootstrap logging sequence via Paper's bootstrapper + initializer
Requirements
- Paper 1.21+
- Java 21+
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ANSDriTz:PJbCGCoV"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ANSDriTz:PJbCGCoV"
}
