StaffModLib
  • Welcome
  • Get started
  • Create a staff mod
    • Simple staff mod
    • Configurable staff mod
    • Pageable staff mod
  • Other
    • Handle player data
    • Custom events
Powered by GitBook
On this page
  • What is StaffModLib ?
  • How to use it ?
  • Useful links

Was this helpful?

Welcome

This page is a presentation of StaffModLib.

What is StaffModLib ?

StaffModLib is an amazing library which allows developers to create staff mods very easily in Minecraft. By using it, you can create several staff mods by writing a more reusable and maintainable code.

Want to use more than 9 items in your staff mod ? StaffModLib has the solution. The library provides to developers a pagination system very easy to use and which allows players to navigate easily between the different pages of items.

With StaffModLib, you can create advanced staff mods which can be fully configured in a YAML file.

How to use it ?

Without build tool

To use StaffModLib, you can download the jar on GitHub. When the download is finished, just add it as dependency into your project. Now, you're ready to use it !

With a build tool

You can also use build tools like Maven or Gradle.

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.Syr0ws</groupId>
    <artifactId>StaffModLib</artifactId>
    <version>v1.2.0</version>
    <scope>compile</scope>
</dependency>
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
	
dependencies {
	implementation 'com.github.Syr0ws:StaffModLib:v1.2.0'
}

Do not forget to include the jar when compiling your project or else, classes will not be found.

Useful links

NextGet started

Last updated 3 years ago

Was this helpful?

GitHub
Spigot
Discord