int n = 0;
for (KeyValue<ResidentList,Integer> kv : kvTable.getKeyValues()) {
n++;
if (maxListing != -1 && n > maxListing)
break;
ResidentList residentList = (ResidentList)kv.key;
output.add(String.format(
Colors.Blue + "%30s "+Colors.Gold+"|"+Colors.LightGray+" %10d",
TownyFormatter.getFormattedName((TownyObject)residentList),
(Integer)kv.value));
}