面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10633390
json
{
  "response": {
    "fps": 68,
    "fps_avg": 67,
    "entities_count": 72140,
    "world_seed": 28397133,
    "world_size": 3500,
    "steam_id": "90286509167979521",
    "domain": null,
    "id": 10633390,
    "ip": "191.96.152.249",
    "port": 10000,
    "query": 9000,
    "color": 0,
    "city": "Chicago",
    "description": "![MindRustUS[PVP][Levels System X 3 Max]Weekly Thursday 3h00PM](https://r2.fivemanage.com/nN1VQ8fuQdsIVUw4Niw60/logomindrust.png)\nMindRustUS | PVP Balanced | 3x Stack | Skills Up To 3x Rates\r\n\r\n━━━ PROGRESSION & ECONOMY ━━━\r\nSkills System (Mining, Looting, Crafting, Building, Vitality, Slayer)\r\nShop & Kits | Server Rewards | SkinBox | TC Upgrades\r\nCasino | Lucky Wheel\r\n\r\n━━━ EVENTS ━━━\r\nRaidable Bases | Dungeon Events & Bases | Water Bases\r\nDeep Sea Always Active | Drug Deals | F15 Crash | Nuke Event\r\nArmed Deployment | Flying Cargo Ship\r\nRoaming NPCs\r\n\r\n━━━ RULES & PROTECTION ━━━\r\nScheduled Offline Raid Protection\r\nTeam Limit: 4 Players Max\r\nDiscord Link Required\r\n\r\n━━━ WIPE SCHEDULE ━━━\r\nMap Wipe: Weekly — Thursday 6:00 PM EST\r\nBP Wipe: Monthly | Skills Wipe: Monthly\r\n\r\nmindrustus.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780628604,
    "last_online": 1780473028,
    "icon": null,
    "name": "MindRustUS[PVP][Levels System X 3 Max]Weekly Thursday 3h00PM",
    "connect": "191.96.152.249:10000",
    "request": "191.96.152.249:9000",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1763713807,
    "last_update": 1780628604,
    "banned": false,
    "wipe": 1779992281,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9964,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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