Rust
RustForNoobs.com 2x Monthly EU Solo/Duo/Trio | No BP Wipes x2| 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1567592json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 112365,
"world_seed": 10848,
"world_size": 3750,
"steam_id": "90284796930230273",
"domain": null,
"id": 1567592,
"ip": "64.40.9.101",
"port": 28014,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nMap - Monthly @ Force \r\nBPs - NO BP WIPE \r\n\r\nVIP: store.rustfornoobs.com \r\nDiscord: discord.gg/rustfornoobs \r\n→ 2x Gather \r\n→ Vanilla Loot\r\n→ Group limit: 3 \r\n→ 50% upkeep \r\n→ Mini's spawn on roads \r\n→ /Raidalarm Alerts you via Rust+ when your base is attacked \r\n→ Map size: 3750 \r\n\r\nRules:\r\n- No hacking / scripting\r\n- No intentional bug abuse\r\n- No EAC / FP banned alts\r\n- No ban evading\r\n- No racism\r\n\r\nActive non playing admins\r\n\r\nFull rules: discord.gg/rustfornoobs",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775690523,
"score": null,
"last_online": 1776847818,
"icon": null,
"name": "RustForNoobs.com 2x Monthly EU Solo/Duo/Trio | No BP Wipes x2|",
"connect": "64.40.9.101:28014",
"request": "64.40.9.101:28015",
"map": "RustForNoobs Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1697746637,
"last_update": 1776847818,
"banned": false,
"wipe": 1775152231,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1736,
"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/1567592");
$data = json_decode($json, true);
var_dump($data);