Update server/query

Braydon 2024-04-13 10:29:33 -07:00
parent 3c3df1955e
commit b8f9768f22

@ -23,57 +23,55 @@ Results are cached for up to `1 minute`
## Java Response ## Java Response
```json ```json
{ {
"value": { "hostname": "mc.hypixel.net",
"hostname": "mc.hypixel.net", "ip": "209.222.115.100",
"ip": "209.222.115.100", "port": 25565,
"port": 25565, "records": [
"records": [ {
{ "type": "SRV",
"type": "SRV", "ttl": 228,
"ttl": 228, "priority": 1,
"priority": 1, "weight": 1,
"weight": 1, "port": 25565,
"port": 25565, "target": "mc.hypixel.net"
"target": "mc.hypixel.net"
},
{
"type": "A",
"ttl": 23,
"address": "209.222.115.100"
}
],
"players": {
"online": 49063,
"max": 200000
}, },
"motd": { {
"raw": [ "type": "A",
" §aHypixel Network §c[1.8-1.20]", "ttl": 23,
" §b§lSB 0.20 §f§lGLACITE TUNNELS §7| §6§lTNT UPDATE" "address": "209.222.115.100"
], }
"clean": [ ],
" Hypixel Network [1.8-1.20]", "players": {
" SB 0.20 GLACITE TUNNELS | TNT UPDATE" "online": 49063,
], "max": 200000
"html": [
" <span style=\"color:#55FF55\">Hypixel Network <span style=\"color:#FF5555\">[1.8-1.20]",
" <span style=\"color:#55FFFF\"><span style=\"color:\">SB 0.20 <span style=\"color:#FFFFFF\"><span style=\"color:\">GLACITE TUNNELS <span style=\"color:#AAAAAA\">| <span style=\"color:#FFAA00\"><span style=\"color:\">TNT UPDATE"
]
},
"version": {
"name": "Requires MC 1.8 / 1.20",
"protocol": 47,
"protocolName": "1.8"
},
"favicon": {
"base64": "data:image/png;base64,iV…mHEPQgkAAAAASUVORK5CYII=...",
"url": "https://mc.rainnny.club/server/icon/mc.hypixel.net"
},
"previewsChat": false,
"enforcesSecureChat": false,
"preventsChatReports": false,
"mojangBanned": false
}, },
"motd": {
"raw": [
" §aHypixel Network §c[1.8-1.20]",
" §b§lSB 0.20 §f§lGLACITE TUNNELS §7| §6§lTNT UPDATE"
],
"clean": [
" Hypixel Network [1.8-1.20]",
" SB 0.20 GLACITE TUNNELS | TNT UPDATE"
],
"html": [
" <span style=\"color:#55FF55\">Hypixel Network <span style=\"color:#FF5555\">[1.8-1.20]",
" <span style=\"color:#55FFFF\"><span style=\"color:\">SB 0.20 <span style=\"color:#FFFFFF\"><span style=\"color:\">GLACITE TUNNELS <span style=\"color:#AAAAAA\">| <span style=\"color:#FFAA00\"><span style=\"color:\">TNT UPDATE"
]
},
"version": {
"name": "Requires MC 1.8 / 1.20",
"protocol": 47,
"protocolName": "1.8"
},
"favicon": {
"base64": "data:image/png;base64,iV…mHEPQgkAAAAASUVORK5CYII=...",
"url": "https://mc.rainnny.club/server/icon/mc.hypixel.net"
},
"previewsChat": false,
"enforcesSecureChat": false,
"preventsChatReports": false,
"mojangBanned": false,
"cached": 1713024877386 // -1 if not cached "cached": 1713024877386 // -1 if not cached
} }
``` ```
@ -81,45 +79,43 @@ Results are cached for up to `1 minute`
## Bedrock Response ## Bedrock Response
```json ```json
{ {
"value": { "hostname": "gateway.wildnetwork.net",
"hostname": "gateway.wildnetwork.net", "ip": "198.244.215.7",
"ip": "198.244.215.7", "port": 19132,
"port": 19132, "records": [
"records": [ {
{ "type": "A",
"type": "A", "ttl": 300,
"ttl": 300, "address": "198.244.215.7"
"address": "198.244.215.7"
}
],
"players": {
"online": 0,
"max": 1000
},
"motd": {
"raw": [
"WildNetwork",
"WildNetwork - Prison - SMP"
],
"clean": [
"WildNetwork",
"WildNetwork - Prison - SMP"
],
"html": [
"WildNetwork",
"WildNetwork - Prison - SMP"
]
},
"id": "12929675432988707659",
"edition": "MCPE",
"version": {
"protocol": 662,
"name": "1.20.70"
},
"gamemode": {
"name": "Survival",
"numericId": 1
} }
],
"players": {
"online": 0,
"max": 1000
},
"motd": {
"raw": [
"WildNetwork",
"WildNetwork - Prison - SMP"
],
"clean": [
"WildNetwork",
"WildNetwork - Prison - SMP"
],
"html": [
"WildNetwork",
"WildNetwork - Prison - SMP"
]
},
"id": "12929675432988707659",
"edition": "MCPE",
"version": {
"protocol": 662,
"name": "1.20.70"
},
"gamemode": {
"name": "Survival",
"numericId": 1
}, },
"cached": 1713025005404 // -1 if not cached "cached": 1713025005404 // -1 if not cached
} }