[EU][PVE] Haven Hall | Slow Decay | PvP Zones | Casual 2x 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 69,
"fps_avg": 82,
"entities_count": 75249,
"world_seed": 973174846,
"world_size": 3500,
"steam_id": "90286402264603665",
"domain": null,
"id": 11511022,
"ip": "162.33.20.170",
"port": 25565,
"query": 9002,
"color": 0,
"city": "The Hague",
"description": "![[EU][PVE] Haven Hall | Slow Decay | PvP Zones | Casual 2x](https://havenhall.net/ServerBanner.png)\nWelcome to [EU] Haven Hall PvE, We have a variety of quality of life plugins to make your life better!\r\n\r\nIn-Game Rules:\r\n1) Stealing is allowed in PvP Zones, but not outside them.\r\n2) Monuments are PvP Zones so be careful.\r\n3) Toxicity, racism, or any form of harassment in global chat, team chat or voice chat will not be tolerated and will lead to ban. Staff monitor Team Chat and PM's.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780567414,
"last_online": 1780161025,
"icon": null,
"name": "[EU][PVE] Haven Hall | Slow Decay | PvP Zones | Casual 2x",
"connect": "162.33.20.170:25565",
"request": "162.33.20.170:9002",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 69,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353837,
"last_update": 1780567414,
"banned": false,
"wipe": 1778180220,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11718,
"language": "nl",
"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/11511022");
$data = json_decode($json, true);
var_dump($data);