BKCommonLib

⭐ — (54 endorsements) 📥 22,754 downloads 📌 v2.0.2 📅 10/4/2022
🟡 Updated this year

By bergerkiller · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/8/2026 📅 Created: 10/4/2022

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #211 of 1560 bukkit mods in this game by downloads

📋 About This Mod

✅ At-runtime class generation with Handles, reflection, template engine
✅ - Dynamic type/name remapping to support forge/multi-version/Mojang Mappings
✅ - Parse version strings, compare them. Also inside templates.
✅ - Detect existence of types, methods and fields and generate an appropriate compatible implementation
✅ - Access private members with _#require_ and call them with _#name_ anywhere in the code
✅ - Type Conversion

!(https://github.com/bergerhealer/BKCommonLib/blob/master/misc/BKCommonLib_logo.png?raw=true)

〚 [⤓ Modrinth](https://modrinth.com/plugin/bkcommonlib) / [⤓ Spigot](https://www.spigotmc.org/resources/bkcommonlib. 39590/) / [⤓ Jenkins Dev Builds](https://ci.mg-dev.eu/job/BKCommonLib/) / (https://github.com/bergerhealer/BKCommonLib) / (https://ci.mg-dev.eu/javadocs/BKCommonLib/) / (https://discord.gg/wvU2rFgSnw) 〛

## About BKCommonLib BKCommonLib is a Paper/Spigot/Bukkit server plugin and library which houses a large selection of utilities, API's, frameworks and performance-critical code. It was made to eliminate all use of Minecraft Server Code (aka NMS) from plugins themselves, improving their stability.

It made it so that when Minecraft updates, only this library has to be updated. Plugins using it generally don't require updates anymore, except to stay compatible with BKCommonLib itself.

### Compatible Servers - Spigot, PaperMC, Pufferfish, Purpur, Tuinity, TacoSpigot - Most other forks of the above should work fine - Forge Paper hybrids, with limitations: - Mohist 1. 12. 2 and 1. 16. 5 - Magma 1. 12. 2 - Arclight 1. 12. 2, 1. 15. 2, 1. 16. 5 and 1. 18. 2 - CatServer 1. 12. 2

### Backwards-Compatible The latest version of BKCommonLib is compatible with all Minecraft versions 1. 8 and above. This means version 1. 19 of BKCommonLib should work on Spigot 1. 12. 2, Paper 1. 16. 5, Pufferfish 1. 18. 2 and so on.

Do not install an older version of BKCommonLib for older versions of Minecraft.

## Support If Minecraft just updated or Spottedleaf made some ground-breaking optimizations in Paper, you might find that BKCommonLib stops working. Bergerkiller is probably on the case, and there might already be development builds available that fix your problem over at our build server:

Development Builds: (https://ci.mg-dev.eu/job/BKCommonLib/)

Report any problems to us on the (https://github.com/bergerhealer/BKCommonLib/issues) or join our (https://discord.gg/wvU2rFgSnw) for assistance. Issue reports for older server versions are welcome too.

Tutorials and example projects are lacking a bit, but you can ask for API help on the discord. We'll help.

## Features

Includes Mountiplex General Purpose Java Reflection Library

##### [Mountiplex](https://github.com/bergerhealer/Mountiplex) is core to BKCommonLib's ability to support so many different Minecraft Server versions and even forge at the same time. It combines the strengths of (https://github.com/llbit/ow2-asm), (https://github.com/jboss-javassist/javassist) and (http://objenesis.org/) with a _Template Engine_ to generate compatible code at runtime. To achieve this it supports template declarations for macros, reflection and remapping and molds this into a compiletime-generated interface.

This means you don't have to compile different classes for every different permutation of paper/spigot/forge/version and the millions of forks people create. If someone changes something, add an _#if - #endif_ block and you're set!

(https://github.com/bergerhealer/BKCommonLib/blob/master/src/main/templates/com/bergerkiller/templates/net/minecraft/network/protocol_packets_other.txt)

  • At-runtime class generation with Handles, reflection, template engine
  • - Dynamic type/name remapping to support forge/multi-version/Mojang Mappings
  • - Parse version strings, compare them. Also inside templates.
  • - Detect existence of types, methods and fields and generate an appropriate compatible implementation
  • - Access private members with _#require_ and call them with _#name_ anywhere in the code
  • - Maven Mojo tasks to generate the interfaces or convert block comments into strings (jdk8 multiline string back-support)
  • - Type Conversion
  • - Automatically convert one value type to another using a type <> type registry
  • - Example: Use Bukkit Entity in API, convert to net.minecraft Entity for use in generated code
  • - Compatible with NBT / YAML to store any custom type and convert automatically
  • - Declare conversions inline in your template:
  • ```java
  • // Fields
  • public final (IntVector3) BlockPosition position;

// Instance methods public (List) List findEntities() { // Code } ``` ***

Includes Cloud Command Framework

##### BKCommonLib includes the [Cloud Command Framework](https://github.com/bergerhealer/cloud). Write clean commands with annotations or builder pattern, complete with suggestions, permission handling and localization. BKCommonLib adds a few default utilities to get set up for Paper/Spigot servers even faster. ***

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
bergerkiller
Version
2.0.2
Downloads
22,754
Endorsements
54
Category
bukkit
Created
10/4/2022
Updated
8/8/2026
Game Versions
1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4
Tags
library, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does BKCommonLib support?

The author lists 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5. Other versions may work but are untested by the author.

What is the latest version of BKCommonLib?

Version 2.0.2, published 2026-08-08 with 22,754 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by bergerkiller 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods