mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
github is a love hate relationship
This commit is contained in:
@ -18,10 +18,11 @@ public class Command_serverstats extends FreedomCommand
|
||||
msg("-==" + ConfigEntry.SERVER_NAME.getString() + " server stats==-", ChatColor.GOLD);
|
||||
msg("Total opped players: " + server.getOperators().size(), ChatColor.RED);
|
||||
msg("Total staff: " + plugin.al.getAllAdmins().size() + " (" + plugin.al.getActiveAdmins().size() + " active)", ChatColor.BLUE);
|
||||
int tpbips = plugin.pm.getPermbannedIps().size();
|
||||
int tpbns = plugin.pm.getPermbannedNames().size();
|
||||
int tpbs = tpbips + tpbns;
|
||||
msg("Total perm bans: " + tpbs + " (" + tpbips + " ips " + tpbns + " names)", ChatColor.GREEN);
|
||||
int bans = plugin.im.getIndefBans().size();
|
||||
int nameBans = plugin.im.getNameBanCount();
|
||||
int uuidBans = plugin.im.getUuidBanCount();
|
||||
int ipBans = plugin.im.getIpBanCount();
|
||||
msg("Total indefinite ban entries: " + bans + " (" + nameBans + " name bans, " + uuidBans + " UUID bans, and " + ipBans + " IP bans)", ChatColor.GREEN);
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user