A shared code library for my projects. Feel free to use it anywhere you want. A wiki isn't available yet, but here's a quick overview
Automatically register your event listeners without needing to manually register them in the main plugin class.
Automatically handle plugin dependencies (currently supports FoliaLib, CommandAPI, and ScoreboardLib) with verbose logging and automatically register listeners and variables.
Create custom items easily using a dsl builder, with support for an even craft recipe.
Many helpful utility functions, such as easy unenchantable items, easier adventure api builders, async dsl chains and many others
Add JitPack to your repositories:
repositories {
maven("https://jitpack.io")
}Add the dependency:
dependencies {
implementation("com.github.justorl:UtilsLib:2.3.5")
}Relocate the package if needed (recommended):
tasks.shadowJar {
relocate("com.pulse.utilslib", "your.package")
}Add the repository:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>Add the dependency:
<dependency>
<groupId>com.github.justorl</groupId>
<artifactId>UtilsLib</artifactId>
<version>2.3.5</version>
</dependency>Relocate the package if needed (recommended):
<relocation>
<pattern>com.pulse.utilslib</pattern>
<shadedPattern>your.package</shadedPattern>
</relocation>