public Set<OfflinePlayer> getOperators() { Set<OfflinePlayer> offlinePlayers = new HashSet<OfflinePlayer>(); for (String name : opsList.getContents()) { offlinePlayers.add(getOfflinePlayer(name)); } return offlinePlayers; }
public Set<OfflinePlayer> getWhitelistedPlayers() { Set<OfflinePlayer> players = new HashSet<OfflinePlayer>(); for (String name : whitelist.getContents()) { players.add(getOfflinePlayer(name)); } return players; }