Use Pathetic for Bukkit (Spigot Paper) - bsommerfeld/pathetic GitHub Wiki
To use pathetic in your Spigot/Paper plugin you have to declare it as a dependency in your build tools.
For Maven that would be the following:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Metaphoriker.pathetic</groupId>
<artifactId>pathetic-bukkit</artifactId>
<version>VERSION</version>
</dependency>
For Gradle it'd look like this:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Metaphoriker.pathetic:pathetic-bukkit:VERSION'
}