Staff++
Search…
API guide
This API is only available from Staff++ versions: 1.16.51, 1.15.44, 1.14.43, 1.13.45, 1.12.30

Introduction

Staff++ provides an API to listen to different types of events that Staff++ generates. This API is in its very early stages and will be expanded upon request.

Maven repository

1
<repository>
2
<id>staffplusplus</id>
3
<url>https://repo.repsy.io/mvn/garagepoort/staffplusplus</url>
4
</repository>
5
6
<dependencies>
7
<dependency>
8
<groupId>net.shortninja.staffplus</groupId>
9
<artifactId>staffplusplus-api</artifactId>
10
<version>1.1.2</version>
11
</dependency>
12
</dependencies>
Copied!
1
RegisteredServiceProvider<IStaffPlus> provider = Bukkit.getServicesManager().getRegistration(IStaffPlus.class);
2
if (provider != null) {
3
IStaffPlus staffPlusApi = provider.getProvider();
4
}
Copied!
The full API can be found here: https://github.com/garagepoort/staffplusplus-api
Last modified 6mo ago