Código melhorado.
String url = "http://mcping.net/api/5.cookiehosting.net:25568/motd";
HttpURLConnection urlConnection = (HttpURLConnection) new URL(url).openConnection();
BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
StringBuilder builder = new StringBuilder();
for (String line = null; (line = reader.readLine()) != null;)
{
builder.append(line);
}
JsonElement jsonElement = new JsonParser().parse(builder.toString());
JsonObject jsonObject = jsonElement.getAsJsonObject();
System.out.println(jsonObject.get("motd").getAsString().replaceAll("\\u00a7[a-z0-9]", ""));
Resultado
WorldHG -> O Torneio ja Iniciou Visite:worldhardcoregames.buycraft.net
Caso queira com cores, tire essa parte.
.replaceAll("\\u00a7[a-z0-9]", "")