Rust
WARBANDITS.GG 3X |Solo/Duo/Trio|LootX3| JUST WIPED 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10622985json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 326889,
"world_seed": 2078192248,
"world_size": 4000,
"steam_id": "90284414810075156",
"domain": null,
"id": 10622985,
"ip": "168.100.162.200",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to WarBandits.gg 3x Solo/Duo/Trio! \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 - 3x Gather Rates \r\n - 3x Crafting Speed \r\n - 3x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range \r\n - Tier 1 BPs unlocked \r\n - Long Days & Short Nights \r\n - Group Limit: 3 \r\n - Active Staff \r\n - Fast Smelt \r\n Make sure to join our discord server before playing by pressing the view webpage button or by visiting the link warbandits.gg/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194328,
"score": 0,
"last_online": 1776306009,
"icon": null,
"name": "WARBANDITS.GG 3X |Solo/Duo/Trio|LootX3| JUST WIPED",
"connect": "168.100.162.200:28010",
"request": "168.100.162.200:28015",
"map": "Wiped 8 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 740,
"maxplayers": 750,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 159,
"add_date": 1763330660,
"last_update": 1776306009,
"banned": false,
"wipe": 1776275856,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 16,
"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/10622985");
$data = json_decode($json, true);
var_dump($data);