面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11677484
json
{
  "response": {
    "modded": true,
    "fps": 205,
    "fps_avg": 196,
    "entities_count": 167939,
    "world_seed": 13825,
    "world_size": 4500,
    "steam_id": "90286582459251716",
    "domain": null,
    "id": 11677484,
    "ip": "185.83.152.203",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Treeton",
    "description": "![LuffyRust London UK - 10xPvE|NoBP|Kits|Skins|Backpacks](https://www.luffyrust.com/img/headerimage/luffyheaderimagev13.png)\nLuffyRust London UK - Monthly Wipe Noob Friendly Community\r\n· 10X | PvE | NoBP | Skins | Kits | Backpacks | MyMini | Skill Tree \r\n· Refer-4-Reward - Bring your friends to play and everyone gets rewarded!\r\n· Vote daily to get great rewards and levels /vote\r\n· Use /info to learn all about Luffy Rust and commands\r\n· Abandoned Bases - Raid abandoned player bases, Keep what you find!.\r\n· Noob Friendly Environment PLUS Active Staff\r\n· Raidable Bases, Airfield, Armored Train & Harbor events\r\n· Join Discord https://discord.gg/luffynetwork\r\n· Luffy Rust Website https://www.luffyrust.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780216212,
    "last_online": 1780593627,
    "icon": null,
    "name": "LuffyRust London UK - 10xPvE|NoBP|Kits|Skins|Backpacks",
    "connect": "185.83.152.203:28015",
    "request": "185.83.152.203:28017",
    "map": "https://discord.gg/luffynetwork",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 5,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1780216212,
    "last_update": 1780593627,
    "banned": false,
    "wipe": 1778176489,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 789,
    "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/11677484");
$data = json_decode($json, true);
var_dump($data);