spigot-utils
spigot-utils is a utility kit designed specifically for developers building plugins on the Spigot server platform. This kit includes an ItemBuilder class that simplifies the creation of custom items in your Minecraft server. With spigot-utils, you can spend less time on repetitive coding tasks and more time building exciting new features for your users. Contributions to the project are welcome and can be made on GitHub.
Features
- ItemBuilder class for easy custom ItemStack creation
setDisplayName()
,addEnchantment()
, and other helpful methods
- Additional utility classes to aid in plugin development (future updates)
Installation
Before installing spigot-utils, you’ll need to add com.github.johnrengelman.shadow
to your project. This is a dependency required for spigot-utils to work properly. You can add it to your project by following the instructions provided in the official documentation. Once you’ve added this dependency, you’re ready to begin the installation of spigot-utils.
Maven
- Add the Jitpack repository to your
pom.xml
file:
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
- Add the
spigot-utils
dependency to yourpom.xml
file:
<dependencies> <dependency> <groupId>com.github.akkih</groupId> <artifactId>spigot-utils</artifactId> <version>1.0</version> </dependency> </dependencies>
Gradle
- Add the Jitpack repository to your
build.gradle
file:
repositories { maven { url 'https://jitpack.io' } }
- Add the
spigot-utils
dependency to yourbuild.gradle
file:
dependencies { implementation 'com.github.akkkih:spigot-utils:1.0' }
Contributing
Contributions are welcome! Please open a pull request and try to maintain a similar code quality and style.
License
This project is licensed under the MIT – see the LICENSE file for details.