面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9005626
json
{
  "response": {
    "fps": 80,
    "fps_avg": 75,
    "entities_count": 179138,
    "world_seed": 113658857,
    "world_size": 5800,
    "steam_id": "90286604431299598",
    "domain": null,
    "id": 9005626,
    "ip": "72.182.170.3",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Grand Prairie",
    "description": "![Darktidia Solo Only | Monthly | 2x | 50% Upkeep](http://a-chard.ddns.net/achardwiki/images/8/84/Dt-banner-3.jpg)\nWelcome to Darktidia!\r\n\r\nFeatures: \r\n* Monthly Wipes\r\n* 2x Gather\r\n* 1.5x Sulfur\r\n* 3x Stacks\r\n* 50% Upkeep\r\n* Increased Bag and Marker Limits\r\n* Long Days & Short Nights\r\n* Mini/Scrap Heli Road Spawns\r\n* No P2W Perks\r\n* Dedicated Non-Playing Admin\r\n* Daily Automated Server Restarts(4AM CST)\r\n\r\nPlugins : \r\n* Celestial Barrage\r\n* Raidable Bases\r\n* SignArtist /sil URL\r\n* Other custom events\r\n\r\nLinks: \r\n* Discord: https://discord.gg/G8mfZH2TMp\r\n\r\nServer Rules: \r\n* Solo-Only Server: No teams, no alliances. Play independently—no exceptions.\r\n* Fair Trades Allowed: Item exchanges with other players are permitted if values are reasonably matched.\r\n* Vending Machines: Automated trades via vending machines are fully allowed.\r\n* Monument Cooperation: Working with other players to complete monuments is allowed\r\n* No PK Alliances: Coordinating with other groups for player-killing (PK) is strictly prohibited.\r\n* No PK Assistance: Helping your neighbors in PK activities—whether directly or indirectly—is not allowed.\r\n* No Freebies: Giving away loot or bases undermines solo integrity and is not permitted.\r\n* Ban Evasion: Evading Easy Anti-Cheat (EAC) bans within 90 days will result in removal.\r\n* Bug Abuse: Exploiting glitches or bugs is forbidden. Please report issues instead.\r\n* Zero Tolerance for Hate: Racism, homophobia, antisemitism, or any form of hate speech will be dealt with swiftly and seriously.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597469,
    "last_online": 1780605030,
    "icon": null,
    "name": "Darktidia Solo Only | Monthly | 2x | 50% Upkeep",
    "connect": "72.182.170.3:28015",
    "request": "72.182.170.3:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 5,
    "maxplayers": 121,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1746869813,
    "last_update": 1780605030,
    "banned": false,
    "wipe": 1780597383,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2381,
    "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/9005626");
$data = json_decode($json, true);
var_dump($data);