✦✧✦✧✦ PLANET BEACON ✦✧✦✧✦ ;:; 2024 GRAND REOPENING! ;:; 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10240070
json
{
  "response": {
    "steam_id": null,
    "domain": "planetbeacon.ddns.net",
    "id": 10240070,
    "ip": "76.133.204.58",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "San Jose",
    "description": "[{\"id\":\"E0pU4snrs4\",\"type\":\"paragraph\",\"data\":{\"text\":\"This is a new and improved [​1.21.11] Planet Beacon server as a new legacy! This server has SKYBLOCK, CREATIVE PLOTS, SURVIVAL SMP, and EARTH TOWNY with our community of the best players! In addition, this server includes Bedrock compatible to players with Minecraft Bedrock Edition and Pocket Edition!\"}}]",
    "game": 9000034,
    "owner": 157036,
    "boosts": 1,
    "last_offline": 1776253343,
    "score": 0,
    "last_online": 1776653412,
    "icon": null,
    "name": "✦✧✦✧✦ PLANET BEACON ✦✧✦✧✦ ;:; 2024 GRAND REOPENING! ;:;",
    "connect": "planetbeacon.ddns.net:25565",
    "request": "76.133.204.58:25565",
    "map": null,
    "gamemode": null,
    "version": "VeloFlame 1.7.2-26.1",
    "numplayers": 0,
    "maxplayers": 2024,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1756888918,
    "last_update": 1776653412,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 32,
    "language": "en",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "coelandcraft",
      "avatar": "30490ab6-cd7c-4875-ab10-54f5bda0c3f8.jpg",
      "last_online": 1773548742
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10240070");
$data = json_decode($json, true);
var_dump($data);