Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeLib

A Paper plugin that downloads and extracts common Java libraries for Coder addons.

Version Paper License


What it does

  • Downloads a curated set of libraries on startup
  • Extracts each .jar into /plugins/CodeLib/extractedLibs/<name>/
  • Self-disables once done — no persistent footprint
  • Supports custom extra dependencies via extraDeps.yml

Built-in Libraries

Library Version
Gson 2.11.0
Mozilla Rhino 1.7.15
LuaJ 3.0.1
Jython Standalone 2.7.4
Apache HttpClient 5 5.3.1
Apache HttpCore 5 5.2.5
OkHttp 4.12.0
Reflections 0.10.2
Guava 33.2.1-jre
MVEL2 2.5.2.Final
ASM 9.7
Apache Commons Lang3 3.14.0
Apache Commons IO 2.16.1
SnakeYAML 2.2
VaultAPI 1.7.1
LuckPerms API 5.4
ProtocolLib 5.3.0

Building

mvn package

Output: target/CodeLib-1.2.4.jar

Project Structure

src/main/java/dev/codestuff/
├── bootstrap/
│   ├── CodeLibBootstrap.java     # Paper bootstrapper
│   └── CodeLibInitializer.java   # Paper plugin loader
└── codelib/
    ├── CodeLibPlugin.java         # Main plugin class
    ├── CodeLibAddon.java          # Addon interface
    ├── LibraryEntry.java          # Library model
    ├── LibraryRegistry.java       # All built-in libraries
    └── manager/
        ├── ConfigManager.java     # codelib-conf.yml + extraDeps.yml
        └── DownloadManager.java   # Download + extract logic

Links

About

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages