Installation

ChafficLib can be included in your project using either Gradle or Maven.

Requirements

  • Java 21 or higher

  • Spigot 1.20.x - 1.21.x

  • Gradle or Maven build system

Adding the Dependency

Gradle (Kotlin DSL)

Add the following to your build.gradle.kts:

repositories {
    mavenCentral()
    maven("https://jitpack.io")
}

dependencies {
    implementation("com.github.chafficplugins:ChafficLib:VERSION")
}

Maven

Add the following to your pom.xml:

Verifying Installation

To verify that ChafficLib is properly installed:

  1. Build your project

  2. Check that ChafficLib is included in your plugin's dependencies

  3. Test loading your plugin on a Spigot server

Next Steps

Last updated