public static void loadPortals() throws SQLException {
        ResultSet res = SQLManager.sqlQuery( "SELECT * FROM BungeePortals" );
        while ( res.next() ) {
            String name = res.getString( "portalname" );
            String server = res.getString( "server" );
            String type = res.getString( "type" );
            String dest = res.getString( "destination" );
            String world = res.getString( "world" );
            String fill = res.getString( "filltype" );
            double xmax = res.getDouble( "xmax" );
            double xmin = res.getDouble( "xmin" );
            double ymax = res.getDouble( "ymax" );
            double ymin = res.getDouble( "ymin" );
            double zmax = res.getDouble( "zmax" );
            double zmin = res.getDouble( "zmin" );
            Portal p = new Portal( name, server, fill, type, dest, new Location( server, world, xmax, ymax, zmax ), new Location( server, world, xmin, ymin, zmin ) );
            ArrayList<Portal> list = portals.get( p.getServer() );
            if ( list == null ) {
                list = new ArrayList<>();
                portals.put( p.getServer(), list );
            }
            list.add( p );
        }
        res.close();
    }