Developer API
Use the KillStats API to retrieve player statistics and validate kills! (Anti Killfarm)
Last updated
<repository>
<id>MonGens-Cave</id>
<url>https://repo.mongenscave.com/releases<repository></url>
</repository>
<dependency>
<groupId>com.mongenscave</groupId>
<artifactId>mc-KillStatsAPI</artifactId>
<version>[VERSION]</version>
</dependency>maven { url "https://repo.mongenscave.com/releases" }
implementation "com.mongenscave:mc-KillStatsAPI:[VERSION]"depend:
- mc-KillStatssoftdepend:
- mc-KillStatsKillStatsAPI api = KillStatsAPI.getInstance();
boolean valid = api.isValidKill("Player1", "Player2");
if (valid) {
System.out.println("This is a valid kill!");
} else {
System.out.println("Invalid kill!");
}