[EU][PL] KrainaRUST.com PvE +PvP 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10661241
json
{
  "response": {
    "fps": 37,
    "fps_avg": 37,
    "entities_count": 171280,
    "world_seed": 1453391521,
    "world_size": 4250,
    "steam_id": "90284796304904203",
    "domain": null,
    "id": 10661241,
    "ip": "51.68.154.85",
    "port": 7777,
    "query": 7778,
    "color": 0,
    "city": "Warsaw",
    "description": "![[EU][PL] KrainaRUST.com PvE +PvP](https://www.krainarust.com/header.jpg)\n[PL]\r\nSerwer PvE ze strefami PvP. 5x Stack, MAPA 4250, Wipe 1M.\r\nNagrody, 710 Raidowalnych baz, 14 Eventow, Raidy NPC, Recycler, Sklep, Dodatkowy plecak.\r\nWskocz na nasz DISCORD i zgarnij codzienne dropy!\r\n[ENG]\r\nServer PvE with PvP Areas. 5x Stack, 4250 MAP, Wipe 1M.\r\nRewards, 710 Raidable Bases, 14 Events, NPC Raids, Recycler, Shop, Backpack.\r\nJoin to our DISCORD and get some daily drops!\r\n\r\nWWW: www.krainarust.com\r\nDISCORD: www.krainarust.com/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776425019,
    "score": 0,
    "last_online": 1776840616,
    "icon": null,
    "name": "[EU][PL] KrainaRUST.com PvE +PvP",
    "connect": "51.68.154.85:7777",
    "request": "51.68.154.85:7778",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 4,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1764544714,
    "last_update": 1776840616,
    "banned": false,
    "wipe": 1775152672,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1412,
    "language": "pl",
    "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/10661241");
$data = json_decode($json, true);
var_dump($data);