Update server/query

Braydon 2024-04-06 23:16:30 -07:00
parent b7b7abdb99
commit 25de1fff99

@ -19,12 +19,12 @@ Ping a Java or Bedrock server and retrieve it's status.
"version": { // (Java Only) "version": { // (Java Only)
"name": "Requires MC 1.8 / 1.20", "name": "Requires MC 1.8 / 1.20",
"protocol": 47, // The protocol version of the server "protocol": 47, // The protocol version of the server
"protocolName": "1.8" // The protocol name of the server "protocolName": "1.8" // The protocol name of the server (if identified)
}, },
"players": { "players": {
"online": 29457, "online": 29457,
"max": 200000, "max": 200000,
"sample": [ // (Java Only) "sample": [ // Not always present (Java Only)
{ {
"id": "fc1d5fe7-f29b-430d-80bb-3b093a638b0f", "id": "fc1d5fe7-f29b-430d-80bb-3b093a638b0f",
"name": "Rainnny" "name": "Rainnny"
@ -45,7 +45,7 @@ Ping a Java or Bedrock server and retrieve it's status.
" <span style=\"color:#00AAAA\"><span style=\"color:\">SB 0.19.12 <span style=\"color:#AAAAAA\">| <span style=\"color:#FFAA00\"><span style=\"color:\">TNT UPDATE <span style=\"color:#AAAAAA\">| <span style=\"color:#55FFFF\"><span style=\"color:\">EASTER EVENT" " <span style=\"color:#00AAAA\"><span style=\"color:\">SB 0.19.12 <span style=\"color:#AAAAAA\">| <span style=\"color:#FFAA00\"><span style=\"color:\">TNT UPDATE <span style=\"color:#AAAAAA\">| <span style=\"color:#55FFFF\"><span style=\"color:\">EASTER EVENT"
] ]
}, },
"modInfo": { // (Java Only) "modInfo": { // Not always present (Java Only)
"type": "FML", "type": "FML",
"modList": [ "modList": [
{ {
@ -58,7 +58,7 @@ Ping a Java or Bedrock server and retrieve it's status.
"enforcesSecureChat": false, // (Java Only) "enforcesSecureChat": false, // (Java Only)
"preventsChatReports": false, // (Java Only) "preventsChatReports": false, // (Java Only)
"mojangBanned": false, // Is the server Mojang banned? (Java Only) "mojangBanned": false, // Is the server Mojang banned? (Java Only)
"icon": "data:image/png;base64,iVBORw0KGgoAAAANS..." // The base64 encoded server icon "icon": "data:image/png;base64,iVBORw0KGgoAAAANS..." // The base64 encoded server icon, only present if the server has an icon
}, },
"cached": 1712465892957 // -1 if not cached "cached": 1712465892957 // -1 if not cached
} }