Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
A Paper plugin that downloads and extracts essential Java libraries for Coder addons.
CodeLib
A Paper plugin that downloads and extracts common Java libraries for Coder addons.
What it does
- Downloads a curated set of libraries on startup
- Extracts each
.jarinto/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
Pages
Members
Owner