🥐 Lightweight yet useful library for Bukkit/Spigot/Paper plugins.
MIT License
Croissant is a lightweight Java library that provides a command framework and a GUI framework for Bukkit/Spigot/Paper plugins.
Here is a short summary of its features:
Croissant is currently written against the Paper 1.15.1 API, but supports Bukkit/Spigot/Paper 1.8.x to 1.15.x.
Releases of Croissant are published to a Maven repository on Bintray, which is synced with JCenter and Maven Central.
If your project is built with Maven or a supported build tool such as Gradle, you can easily add Croissant as a dependency for your project:
<dependency>
<groupId>com.github.overmighty</groupId>
<artifactId>croissant</artifactId>
<version>1.0.2</version>
</dependency>
repositories {
jcenter() // or mavenCentral()
}
dependencies {
implementation 'com.github.overmighty:croissant:1.0.2'
}
The Croissant Javadoc can be browsed online here.
You can also look at the example Bukkit plugin to get started with Croissant.
If you need help with Croissant, you can join my Discord server.
JDK 8 or later is required.
Croissant uses Gradle and a Gradle wrapper is included in this repository.
The following command can be run on Unix-like systems to build Croissant using the Gradle wrapper included in this repository:
$ ./gradlew clean build
On Windows, the gradlew.bat
batch script can be used instead of the gradlew
POSIX shell script.
This project is licensed under the MIT license.