OGC 2X MONTHLY | No Offlines | Noob Friendly | No BP Wipe 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10571160
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 83402,
    "world_seed": 18546387,
    "world_size": 3700,
    "steam_id": "90284671578100746",
    "domain": null,
    "id": 10571160,
    "ip": "158.174.114.153",
    "port": 28090,
    "query": 28093,
    "color": 0,
    "city": "Uppsala",
    "description": "Map Wipe: Monthly on the first Thursday.\r\nBlueprints: Never wipe.\r\nMax Team Size: None.\r\n\r\nOffline protection: 15 minutes after logging off, protection kicks in and you wont be offline raided for the next 3 days.\r\n\r\nModifiers:\r\n- 2x gather rates on everything\r\n- 2x craft times & recycler\r\n- 2x stack sizes\r\n- Less Upkeep\r\n- Recyclers exists on Cargo, oilrig, fishing villages and monuments\r\n- Minicopters spawn on the road\r\n- Locked crate timer: 10 minutes\r\n\r\nHave fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775156533,
    "score": 0,
    "last_online": 1776880823,
    "icon": null,
    "name": "OGC 2X MONTHLY | No Offlines | Noob Friendly | No BP Wipe",
    "connect": "158.174.114.153:28090",
    "request": "158.174.114.153:28093",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762847016,
    "last_update": 1776880823,
    "banned": false,
    "wipe": 1775156310,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4102,
    "language": "sv",
    "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/10571160");
$data = json_decode($json, true);
var_dump($data);