public static String getPlayersIP( String player ) throws SQLException {
        BSPlayer p = getSimilarPlayer( player );
        String ip = null;
        if ( p == null ) {
            ResultSet res = SQLManager.sqlQuery( "SELECT ipaddress FROM BungeePlayers WHERE playername = '" + player + "'" );
            while ( res.next() ) {
                ip = res.getString( "ipaddress" );
            }
            res.close();
        } else {
            ip = p.getProxiedPlayer().getAddress().getAddress().toString();
            ip = ip.substring( 1, ip.length() );
        }
        return ip;
    }