public static void sendSpawns(Server s) throws SQLException {
		ResultSet res =SQLManager.sqlQuery("SELECT * FROM BungeeSpawns WHERE server='"+s.getInfo().getName()+"' AND NOT (spawnname = 'NewPlayerSpawn' OR spawnname = 'ProxySpawn')");
		while(res.next()){
			 ByteArrayOutputStream b = new ByteArrayOutputStream();
		        DataOutputStream out = new DataOutputStream( b );
		        try {
		            out.writeUTF( "SendSpawn" );
		            out.writeUTF( res.getString("spawnname"));
		            out.writeUTF( res.getString("world"));
		            out.writeDouble( res.getDouble("x") );
		            out.writeDouble( res.getDouble("y") );
		            out.writeDouble( res.getDouble("z") );
		            out.writeFloat( res.getFloat("yaw") );
		            out.writeFloat( res.getFloat("pitch") );
		        } catch ( IOException e ) {
		            e.printStackTrace();
		        }
		        sendPluginMessageTaskSpawns( s.getInfo(), b );
		}
		
	}