public static void saveAllPlayers(boolean clearOfflinePlayers){
		Iterator<Entry<String, PlayerData>> i = data.entrySet().iterator();
		while(i.hasNext()){
			Entry<String, PlayerData> e = i.next();
			e.getValue().saveData();
			if(clearOfflinePlayers){
				Player p = Bukkit.getPlayerExact(e.getKey());
				if(!p.isOnline()) data.remove(e.getKey());
			}
		}
	}