public String getMinecraftForumUser(Connection con, String mc_name) {
		/* Compose query. */
		String SQL_QUERY = "SELECT username "
				+ "FROM xf_user "
				+ "INNER JOIN xf_user_field_value "
				+ "ON xf_user.user_id = xf_user_field_value.user_id "
				+ "WHERE xf_user_field_value.field_id=\"minecraftid\" "
				+ "AND xf_user_field_value.field_value=?;";
		
		/* Execute query. */
		try {
			PreparedStatement stmt = con.prepareStatement(SQL_QUERY);
			stmt.setString(1, mc_name);
			ResultSet rs = stmt.executeQuery();
			
			/* Return first result */
			if(rs.next()) {
				String result = rs.getString("username");
				return result;
			}
		} catch (SQLException e) {
			e.printStackTrace();
			
		}
		return null;
	}