[PVE] Blast Processing 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 160,
"fps_avg": 156,
"entities_count": 94523,
"world_seed": 481979,
"world_size": 4096,
"steam_id": "90286620217376775",
"domain": null,
"id": 10533713,
"ip": "89.34.97.16",
"port": 28080,
"query": 28015,
"color": 0,
"city": "City of London",
"description": "![[PVE] Blast Processing](https://www.dropbox.com/scl/fi/acxl2pgpkklkauxf0bdon/rust_server_image_with_bgc.png?rlkey=2egezo63jrjy6hihov3pel9w3&st=72xbd8hg&dl=1)\nWelcome to Blast Processing PVE server\r\nA fun and relaxed server\r\n\r\nWe have a large list of mods which Include Raid Bases, Skill Tree, 2x Scrap and much more. A full list can be found on the welcome page when you log in\r\n\r\nHave fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780616609,
"last_online": 1780641632,
"icon": null,
"name": "[PVE] Blast Processing",
"connect": "89.34.97.16:28080",
"request": "89.34.97.16:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518604,
"last_update": 1780641632,
"banned": false,
"wipe": 1780617496,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3469,
"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/10533713");
$data = json_decode($json, true);
var_dump($data);