WARBANDITS.GG 2X |Solo/Duo/Trio/Quad/Max5|X2 JUST WIPED 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10622939
json
{
  "response": {
    "modded": true,
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 230914,
    "world_seed": 469704530,
    "world_size": 3700,
    "steam_id": "90284367304842245",
    "domain": null,
    "id": 10622939,
    "ip": "216.39.240.5",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "Ashburn",
    "description": "![WARBANDITS.GG 2X |Solo/Duo/Trio/Quad/Max5|X2 JUST WIPED](https://cdn.warbandits.gg/banners/us2xmax5.jpg)\nWelcome to WarBandits.gg 2x Max 5! \r\nOn our servers we provide the best Rust gameplay. We run multiple balanced plugins to improve the quality of the game. Our servers also run on the best Network & Hardware possible to improve your ingame experience on our servers! \r\n - 2x Gather Rates \r\n - 2x Crafting Speed \r\n - 2x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range  \r\n - Long Days & Short Nights \r\n - Group Limit: 5 \r\n - Active Staff \r\n - Fast Smelt",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776314410,
    "icon": null,
    "name": "WARBANDITS.GG 2X |Solo/Duo/Trio/Quad/Max5|X2 JUST WIPED",
    "connect": "216.39.240.5:28010",
    "request": "216.39.240.5:28015",
    "map": "Wiped 34 Hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 146,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 104,
    "add_date": 1763330656,
    "last_update": 1776314410,
    "banned": false,
    "wipe": 1776189443,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 67,
    "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/10622939");
$data = json_decode($json, true);
var_dump($data);