Package me.kzlyth.api.statistics.global
package me.kzlyth.api.statistics.global
API package for retrieving global statistics from Zenith-Mod.
This package contains the GlobalStatisticsAPI class,
which provides methods to access global statistics including:
- Total registered users and online player count
- Banned and muted player counts (account and IP-based)
- Total punishments, bans, mutes, warns, kicks
- Total notes
Example usage:
ZenithAPI api = ZenithAPI.getInstance();
if (api != null) {
GlobalStatisticsAPI globalStats = api.getStatisticsAPI().getGlobalStatistics();
globalStats.getTotalUsers().thenAccept(total -> {
getLogger().info("Total registered users: " + total);
});
}
- Seit:
- 1.2.3
- Autor:
- Zenith-Studios
-
Klassen