面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/4811189
json
{
  "response": {
    "fps": 65,
    "fps_avg": 71,
    "entities_count": 50232,
    "world_seed": 1,
    "world_size": 4096,
    "steam_id": "90286611541603341",
    "domain": null,
    "id": 4811189,
    "ip": "138.201.251.196",
    "port": 28025,
    "query": 28027,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[EU] Hellvetia x10 |Max5|Noob Friendly|Active Admin|Events|](https://i.postimg.cc/nhhbH8mX/Hellvetia-1024-512.png)\nWelcome to Hellvetia (NEXT WIPE 02.07.2026) | Loot+ Gather x10 | Max team 5 | Events |\r\n\r\nCustom Map: Kong Island by flouONEs\r\n\r\nPlease give your opinion with /message command.\r\n\r\nPlugins list:\r\nAlphaLoot\r\nAntiNoobRaid\r\nArmoredTrain\r\nAutoCodeLock\r\nBackpacks\r\nBlueprintManager\r\nBuildingGrades\r\nBuildingWorkbench\r\nClans REBORN\r\nConvoy\r\nDangerousTreasures\r\nDeathNotes\r\nDeployablesZipline\r\nDynamicCupShare\r\nFriends\r\nFurnaceSplitter\r\nGatherManager\r\nIQTurret\r\nKits\r\nNPCDropGun\r\nNTeleportation\r\nPlayerRanks\r\nPrivateMessages\r\nQuickSmelt\r\nRaidTimeManager\r\nRaidBlock\r\nRemoverTool\r\nRustRewards\r\nServerRewards\r\nSignArtist\r\nSkipNight\r\nSortButton\r\nTurretWeapons\r\n\r\nPowered by weoxide",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780610661,
    "last_online": 1780626026,
    "icon": null,
    "name": "[EU] Hellvetia x10 |Max5|Noob Friendly|Active Admin|Events|",
    "connect": "138.201.251.196:28025",
    "request": "138.201.251.196:28027",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1718907416,
    "last_update": 1780626026,
    "banned": false,
    "wipe": 1780596413,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2176,
    "language": "de",
    "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/4811189");
$data = json_decode($json, true);
var_dump($data);