github is a love hate relationship

This commit is contained in:
Seth
2020-08-09 17:49:52 -07:00
parent 44b7307e4d
commit 00f94e47f1
8 changed files with 18 additions and 19 deletions

View File

@ -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;
}
}