Welcome to the release/v5 branch! This is where the next major version of the project is currently being built.
Please Note:
- This branch is under active development.
- It is considered mostly stable and safe for production use.
- Breaking changes may still occur, but only if strictly necessary.
- New features and improvements will continue to land here.
- Once the API is deemed fully stable, prerelease versions will end and the first official release will be v5.0.0.
The release/v4 branch is now end-of-life and no longer supported.
No new features, bug fixes, or security patches will be provided.
However:
v4offers a more stable API surface for users who do not wish to migrate yet or prefer to wait forv5stability with version 5.0.0+- If you need long-term stability and do not require new features, you may
continue using
v4at your own discretion.
The GitHub releases may be different from the spigot release
The latest API version may not match the latest Minecraft Version.
(This is okay, as updates are not always required for every Minecraft version.)
DEVELOPMENT ROADMAP: https://github.com/users/Jake-Moore/projects/3
SEE STRUCTURE.md FOR GRADLE MODULE BREAKDOWN
- A common library originally intended for Spigot plugin development, expanded for standalone use too.
- The spigot portions of this library aim to support all versions (since 1.8.x) via its sister project KamiCommonNMS
- View the NMS disclaimers here: NMS Disclaimers
There are 6 common modules, 5 of which can be safely shaded
- The 5 modules that can be shaded are:
shared-utils,shared-jar,standalone-utils,standalone-jar,spigot-utils
- The last module,
spigot-jar, compiles the spigot plugin and is only intended to be used as an api- When using this module, remember to modify the
plugin.ymlto includeKamiCommonin thedepend:list
- When using this module, remember to modify the
Add the following Repository to your build file.
<repository>
<id>luxious-public</id>
<name>Luxious Repository</name>
<url>https://repo.luxiouslabs.net/repository/maven-public/</url>
</repository>maven {
name = "luxiousPublic"
url = uri("https://repo.luxiouslabs.net/repository/maven-public/")
}maven {
name "luxiousPublic"
url "https://repo.luxiouslabs.net/repository/maven-public/"
}- SEE STRUCTURE.md FOR GRADLE MODULE BREAKDOWN
Add the following dependency to your build file.
Replace {VERSION} with the version listed at the top of this page.
Replace {MODULE} with the module you want to use (spigot-jar, standalone-jar, etc.)
<dependency>
<groupId>com.kamikazejam.kamicommon</groupId>
<artifactId>{MODULE}</artifactId>
<version>{VERSION}</version>
<scope>provided</scope> <!-- set to `compile` if shading a util or standalone jar -->
</dependency>implementation "com.kamikazejam.kamicommon:{MODULE}:{VERSION}"implementation("com.kamikazejam.kamicommon:{MODULE}:{VERSION}")See the wiki