API

This page is for developers who want to hook into StatTrackers from their own plugin. StatTrackers is open-source, so you can read the code, depend on it, and build on top of it.

Source code

The source code is on GitHub here.

Adding the dependency

  1. Add the Auxilor repository to your build.gradle.kts:

  2. Add StatTrackers as a compileOnly dependency:

repositories {
    maven("https://repo.auxilor.io/repository/maven-public/")
}

dependencies {
    compileOnly("com.willfp:StatTrackers:<version>")
}

The latest version available on the repo can be found here.


Where to go next

  • eco framework: shared APIs live in the eco framework.

  • Make a tracker: the config side is covered in How to make a Stat Tracker.