FastStatsFastStats Docs

Installation

Add FastStats to your Minecraft server project

Getting Started

Add the FastStats SDK to your project using Maven or Gradle.

<repository>
  <id>faststats-releases</id>
  <name>FastStats</name>
  <url>https://repo.faststats.dev/releases</url>
</repository>
maven {
  name = "faststatsReleases"
  url = uri("https://repo.faststats.dev/releases")
}
maven {
  name "faststatsReleases"
  url "https://repo.faststats.dev/releases"
}
resolvers += 
  "faststats-releases" 
    at "https://repo.faststats.dev/releases"

Or copy the following prompt into your AI coding agent

AI Setup Prompt
You are integrating FastStats error tracking into this Java/Kotlin project.

1. Add the FastStats Maven repository to the project's build file: https://repo.faststats.dev/releases
2. Add the platform-specific dependency with group `dev.faststats.metrics` and artifact ID matching your platform (bukkit, bungeecord, fabric, hytale, minestom, nukkit, sponge, or velocity).
…

Platform-Specific Artifacts

Choose the artifact for your platform:

PlatformArtifact IDJava Versions
Bukkit/Spigot/Paperbukkit17+
BungeeCordbungeecord17+
Fabricfabric21+
Hytalehytale25+
Minestomminestom25+
Nukkitnukkit17+
Spongesponge17+
Velocityvelocity21+
<dependency>  <groupId>dev.faststats.metrics</groupId>  <artifactId>bukkit</artifactId>  <version>0.18.1</version></dependency>
implementation("dev.faststats.metrics:bukkit:0.18.1")
implementation "dev.faststats.metrics:bukkit:0.18.1"
"dev.faststats.metrics" %% "bukkit" %% "0.18.1"

Shading

To include FastStats directly in your plugin JAR, you can use the Maven Shade or Gradle Shadow Plugin.

<build>  <plugins>      <plugin>          <groupId>org.apache.maven.plugins</groupId>          <artifactId>maven-shade-plugin</artifactId>          <version>3.5.0</version>          <executions>              <execution>                  <phase>package</phase>                  <goals>                      <goal>shade</goal>                  </goals>                  <configuration>                      <relocations>                          <relocation>                              <pattern>dev.faststats</pattern>                              <shadedPattern>your.plugin.libs.faststats</shadedPattern>                          </relocation>                      </relocations>                  </configuration>              </execution>          </executions>      </plugin>  </plugins></build>
plugins {  id("com.gradleup.shadow") version "9.3.0"}tasks.shadowJar {relocate("dev.faststats", "your.plugin.libs.faststats") // optionally relocate the package}
plugins {  id 'com.gradleup.shadow' version '9.3.0'}tasks.named('shadowJar', com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {relocate('dev.faststats', 'your.plugin.libs.faststats') // optionally relocate the package}

On this page