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
:
Maven
Add the following to your pom.xml
:
Verifying Installation
To verify that ChafficLib is properly installed:
Build your project
Check that ChafficLib is included in your plugin's dependencies
Test loading your plugin on a Spigot server
Next Steps
Check out the Getting Started Guide
View the API Documentation
Last updated