Esempio n. 1
0
 public List<String> getBannedPlayers() throws APIException {
   List<String> a = new ArrayList<String>();
   for (OfflinePlayer p : Server.getBannedPlayers()) {
     a.add(p.getName());
   }
   return a;
 }
Esempio n. 2
0
 @Override
 public Set<OfflinePlayer> getBannedPlayers() {
   return server.getBannedPlayers();
 }