- Easy to use and lightweight
- MySQL-Support
- Stats Command (100% Configurable)
- Kills, Deaths, Wins, Loses, Played Games, Streaks & Game Points
- Compatible with PointsAPI
You can see the latest version here.
Using Maven:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.teraprath</groupId>
<artifactId>StatsAPI</artifactId>
<version>INSERT_VERSION_HERE</version>
</dependency>
Using Gradle:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.teraprath:StatsAPI:INSERT_VERSION_HERE'
}
An example code using the StatsAPI.
PlayerStats stats = StatsAPI.getPlayer(player);
stats.setKills(amount)
stats.setWins(stats.getWins() + 1)
StatsAPI.save(stats);
Visit wiki page to see usage guide.