FAR: Chill PvE [EU Biweekly] 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/7467763
json
{
  "response": {
    "fps": 55,
    "fps_avg": 55,
    "entities_count": 122579,
    "world_seed": 2112332514,
    "world_size": 4250,
    "steam_id": "90284718092335128",
    "domain": null,
    "id": 7467763,
    "ip": "147.93.126.229",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![FAR: Chill PvE [EU Biweekly]](https://www.mkleen.de/rust-far/rust-far-banner.jpg)\nFAR: Chill PvE - Build, Compete, Succeed!\r\n\r\n- Strict PvE: Violators are auto-Kicked or Banned!\r\n- Raiding is ONLY allowed in marked Event Bases.\r\n- No Blueprint wipe (unless forced by Facepunch)\r\n- Player bases protected and 10% upkeep for casual play.\r\n- Rules and player commands: enter /info in chat\r\n- Wipe: 1st, 3rd and 5th Thursday at 19:00 BST/GMT\r\n- Server auto-restarts nightly at 01:00 GMT\r\n\r\nrs027e/a]?P(0rAi41Qdr$",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776646998,
    "score": 0,
    "last_online": 1776812416,
    "icon": null,
    "name": "FAR: Chill PvE [EU Biweekly]",
    "connect": "147.93.126.229:28015",
    "request": "147.93.126.229:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 5,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1739234770,
    "last_update": 1776812416,
    "banned": false,
    "wipe": 1776363287,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 909,
    "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/7467763");
$data = json_decode($json, true);
var_dump($data);