Utilities for Bukkit/Spigot plugin
- KItemStack - Chainable ItemStack for ItemStacks in Bukkit
- KConfigManager - Config Manager
- CustomGUI - Custom GUI inventory menu
- CommandComponent - Flexible nested command system
Step 1. Add the JitPack repository to your build file.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency.
You can change the
version
property as you want.
All available version can be found here.
<dependency>
<groupId>com.github.jyhsu2000</groupId>
<artifactId>PluginUtilities</artifactId>
<version>1.6.1</version>
</dependency>
Step 3. Add the shading plugin to the build.
Replace YOUR.OWN.PACKAGE
with your own package.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<configuration>
<artifactSet>
<includes>
<include>com.github.jyhsu2000:PluginUtilities</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>club.kid7.pluginutilities</pattern>
<shadedPattern>YOUR.OWN.PACKAGE</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>