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

<repository>
    <id>staffplusplus</id>
    <url>https://repo.repsy.io/mvn/garagepoort/staffplusplus</url>
</repository>

<dependencies>
    <dependency>
        <groupId>net.shortninja.staffplus</groupId>
        <artifactId>staffplusplus-api</artifactId>
        <version>1.1.2</version>
    </dependency>
</dependencies>
RegisteredServiceProvider<IStaffPlus> provider = Bukkit.getServicesManager().getRegistration(IStaffPlus.class);
if (provider != null) {
    IStaffPlus staffPlusApi = provider.getProvider();
}

The full API can be found here: https://github.com/garagepoort/staffplusplus-api

Last updated