Rustinction 5x PVE Roleplay 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/8267586
json
{
  "response": {
    "fps": 50,
    "fps_avg": 53,
    "entities_count": 134259,
    "world_seed": 1337,
    "world_size": 4250,
    "steam_id": "90285160531423247",
    "domain": null,
    "id": 8267586,
    "ip": "168.100.163.99",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Dallas",
    "description": "![Rustinction 5x PVE Roleplay](https://www.dropbox.com/scl/fi/4vp8sw5or3yeuzvck17g4/Rustinction5x.png?rlkey=3is05kgkk7rmznjc93ftzmyc3&st=lj1p181e&dl=1)\nWelcome to Rustinction\r\n5x PVE\r\nRoleplay/New player friendly\r\nNo Raiding.\r\nMonthly map wipe. Monthly BP,XP, currency wipe.\r\nPVE Raid Bases\r\nNew players are welcome\r\nLooking for a chill place to enjoy Rust? Rustinction might be for you!\r\nincreased stack on most items. Quests, faster smelt, instacraft, factories, NPC's\r\nAsk about rules.\r\nJoin our Discord for updates.\r\nEnjoy yourself and Rust On.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775233933,
    "score": 0,
    "last_online": 1777549820,
    "icon": null,
    "name": "Rustinction 5x PVE Roleplay",
    "connect": "168.100.163.99:28015",
    "request": "168.100.163.99:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1742497718,
    "last_update": 1777549820,
    "banned": false,
    "wipe": 1775172679,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1720,
    "language": "en",
    "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/8267586");
$data = json_decode($json, true);
var_dump($data);