ButtHurt 10x Hybrid Half PVP Half PVE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 75520,
"world_seed": 1505685756,
"world_size": 3500,
"steam_id": "90286546734983198",
"domain": null,
"id": 11511711,
"ip": "104.238.229.22",
"port": 32015,
"query": 32018,
"color": 0,
"city": "Dallas",
"description": "\nWe are a new PVP PVE hybrid server giving both pvp pve to players. \r\nHalf the Map is PVP the other half is PVE. \r\nRaiding allowed in PVP Area all the time.\r\n\r\nServer Still beta testing\r\n Discord Server Link on External Website Button",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779502413,
"last_online": 1780552828,
"icon": null,
"name": "ButtHurt 10x Hybrid Half PVP Half PVE",
"connect": "104.238.229.22:32015",
"request": "104.238.229.22:32018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779353862,
"last_update": 1780552828,
"banned": false,
"wipe": 1778175808,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1530,
"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/11511711");
$data = json_decode($json, true);
var_dump($data);