我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11435536
json
{
  "response": {
    "fps": 12,
    "fps_avg": 13,
    "entities_count": 90360,
    "world_seed": 552852840,
    "world_size": 4000,
    "steam_id": "90284084098928661",
    "domain": null,
    "id": 11435536,
    "ip": "66.51.97.62",
    "port": 28010,
    "query": 28011,
    "color": 0,
    "city": "City of London",
    "description": "![ORIGINALS ISLAND](https://www.dropbox.com/scl/fi/e10tim37j5m1fxhnfqeab/originals-island-main-image.png?rlkey=lc4of33rz63cqtzgrucdxekub&st=fx7e2f9b&dl=1)\nORIGINALS ISLAND\r\n - 2x - PVE\r\n - Designed for long-term progression\r\n - Events+, Raidable Bases & SkillTree\r\n - Monthly Wipes (First Thursday)\r\n - Monthly BP wipe | Lower decay rates\r\n - Teleports, Skinner & Quality-of-Life features",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775640129,
    "score": 0,
    "last_online": 1775685617,
    "icon": null,
    "name": "ORIGINALS ISLAND",
    "connect": "66.51.97.62:28010",
    "request": "66.51.97.62:28011",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774977193,
    "last_update": 1775685617,
    "banned": false,
    "wipe": 1775640096,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5787,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust",
      "popular_maps_available": false
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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