From b8f9768f2293d08001afc4cbccc416e51aec4d2b Mon Sep 17 00:00:00 2001 From: Braydon Date: Sat, 13 Apr 2024 10:29:33 -0700 Subject: [PATCH] Update server/query --- server%2Fquery.md | 170 ++++++++++++++++++++++------------------------ 1 file changed, 83 insertions(+), 87 deletions(-) diff --git a/server%2Fquery.md b/server%2Fquery.md index 9f307a9..1e5fd44 100644 --- a/server%2Fquery.md +++ b/server%2Fquery.md @@ -23,57 +23,55 @@ Results are cached for up to `1 minute` ## Java Response ```json { - "value": { - "hostname": "mc.hypixel.net", - "ip": "209.222.115.100", - "port": 25565, - "records": [ - { - "type": "SRV", - "ttl": 228, - "priority": 1, - "weight": 1, - "port": 25565, - "target": "mc.hypixel.net" - }, - { - "type": "A", - "ttl": 23, - "address": "209.222.115.100" - } - ], - "players": { - "online": 49063, - "max": 200000 + "hostname": "mc.hypixel.net", + "ip": "209.222.115.100", + "port": 25565, + "records": [ + { + "type": "SRV", + "ttl": 228, + "priority": 1, + "weight": 1, + "port": 25565, + "target": "mc.hypixel.net" }, - "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": [ - " Hypixel Network [1.8-1.20]", - " SB 0.20 GLACITE TUNNELS | 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 + { + "type": "A", + "ttl": 23, + "address": "209.222.115.100" + } + ], + "players": { + "online": 49063, + "max": 200000 }, + "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": [ + " Hypixel Network [1.8-1.20]", + " SB 0.20 GLACITE TUNNELS | 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 } ``` @@ -81,45 +79,43 @@ Results are cached for up to `1 minute` ## Bedrock Response ```json { - "value": { - "hostname": "gateway.wildnetwork.net", - "ip": "198.244.215.7", - "port": 19132, - "records": [ - { - "type": "A", - "ttl": 300, - "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 + "hostname": "gateway.wildnetwork.net", + "ip": "198.244.215.7", + "port": 19132, + "records": [ + { + "type": "A", + "ttl": 300, + "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 }, "cached": 1713025005404 // -1 if not cached }