# Welcome

### 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.&#x20;

### 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**.

{% tabs %}
{% tab title="Maven" %}

```markup
<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>
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Gradle" %}

```groovy
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
	
dependencies {
	implementation 'com.github.Syr0ws:StaffModLib:v1.2.0'
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Do not forget to include the jar when compiling your project or else, classes will not be found.
{% endhint %}

### Useful links

* [GitHub](https://github.com/Syr0ws/StaffModLib)
* [Spigot](https://www.spigotmc.org/resources/staffmodlib.89180/)
* [Discord](https://discord.gg/sPUSHb2xDK)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://syrows-development.gitbook.io/staffmodlib/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
