--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/web/StatusListener.java 2015/03/09 11:50:00 2427 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/web/StatusListener.java 2015/03/09 11:56:37 2428 @@ -45,9 +45,6 @@ @Override public void handle(HttpExchange http) throws IOException { -/* if(!event.path[0].equalsIgnoreCase("webstatus")) { - return; - }*/ String xml; @@ -63,8 +60,6 @@ } -/* event.setResponse(xml); - event.setActionTaken(true);*/ byte bytes[] = xml.getBytes(); http.getResponseHeaders().add("Content-Type", "text/plain"); http.sendResponseHeaders(HttpURLConnection.HTTP_OK, bytes.length ); @@ -103,6 +98,7 @@ sb.append("\n"); sb.append("" + player.getName() + "\n" ); + sb.append("" + player.getUniqueId() + "\n" ); sb.append("" + formatTime(first) + "\n"); sb.append("" + formatTime(last) + "\n");