Package me.kzlyth.api.statistics.staff
package me.kzlyth.api.statistics.staff
API package for retrieving staff statistics from Zenith-Mod.
This package contains the StaffStatisticsAPI class,
which provides methods to access statistics about punishments a user has given as a staff member,
including bans, mutes, warns, kicks, and notes written.
Example usage:
ZenithAPI api = ZenithAPI.getInstance();
if (api != null) {
StaffStatisticsAPI staffStats = api.getStatisticsAPI().getStaffStatistics();
UUID uuid = UUID.fromString("123e4567-e89b-12d3-a456-426614174000");
staffStats.getPunishmentsGiven(uuid).thenAccept(count -> {
getLogger().info("Staff member has given " + count + " punishments");
});
}
- Seit:
- 1.2.3
- Autor:
- Zenith-Studios
-
Klassen