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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/1444624
json
{
  "response": {
    "fps": 79,
    "fps_avg": 82,
    "entities_count": 94662,
    "world_seed": 210778343,
    "world_size": 3500,
    "steam_id": "90284191753353239",
    "domain": null,
    "id": 1444624,
    "ip": "185.25.60.114",
    "port": 28000,
    "query": 28002,
    "color": 0,
    "city": "Krasnoyarsk",
    "description": "![gm.link/u50043 KRASNOYARSK X10 | MAX 5](https://i.imgur.com/YtF0vNq.png)\nServer information:\r\n+ Wipe every Friday at 14:00 GMT+3\r\n+ Max teamsize: 5 players\r\n+ Gather rates: x10\r\n+ Resource stack: 160000\r\n+ Instal craft\r\n+ More information on the menu - /menu\r\n\r\nWebsite: shop.krsrust.ru\r\nTelegram: t.me/krsrust\r\nDiscord: discord.gg/MHKxBRbZ8g",
    "game": 252490,
    "owner": 50043,
    "boosts": 1,
    "last_offline": 1775841725,
    "score": 5,
    "last_online": 1775861410,
    "icon": null,
    "name": "KRASNOYARSK X10 | MAX 5",
    "connect": "185.25.60.114:28000",
    "request": "185.25.60.114:28002",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 14,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 98,
    "add_date": 1697303201,
    "last_update": 1775861410,
    "banned": false,
    "wipe": 1775811429,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 245,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "KRASNOYARSKRUST",
      "avatar": "af379336-9024-45e6-93ce-32d31c01edf8.jpg",
      "last_online": 1753198331
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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