βš™οΈAPI

An API is available to you if you want to issue grants using a third-party plugin. But anyway you need to have Grant plugin on your server.

You need to install the jar into the project: either via local maven; by installing the jar directly into the plugin or by maven dependency:

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

<dependencies>
   <dependency>
      <groupId>com.github.Shimado</groupId>
      <artifactId>GrantAPI</artifactId>
      <version>v1.0.2</version>
   </dependency>
</dependencies>

Version you can find here: https://github.com/Shimado/GrantAPI/tags

Add plugin name to the plugin.yml to depend or softdepend:

softdepend: [ Grant ]

Now in the plugin itself you need to get the API:

Below is a list of all possible commands:

Last updated