SafeHouse 5x Extreme PvE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 93,
"fps_avg": 91,
"entities_count": 127966,
"world_seed": 146437269,
"world_size": 4250,
"steam_id": "90286937337555983",
"domain": null,
"id": 1399378,
"ip": "104.128.62.53",
"port": 28015,
"query": 28014,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": "\nSafeHouse is Hosted on a Dedicated, High-Performance Server with Zero Lag.\r\n Advanced players or Beginners, there's something for Everyone!\r\n No Raids or PvP Except In Abandoned-Base Bubble. Free Starter Kit.\r\n NightVision Allows You To Make It DayTime Permanently If You Choose.\r\n Damage to other players and their bases is disabled but lots of NPC's to fight.\r\n Premium PvE Raidable-Bases. - Server Events at EVERY Monument!\r\n SkinBox to skin your clothes, weapons, boxes, doors, etc. Test-Generators.\r\n 5x Smelt Rate - Furnace Splitter with lockable furnaces, refineries and more.\r\n Better Loot - Teleport- /Bandit, /OutPost, /Home, /Island.\r\n Roaming Scientists, Soldiers & Bradleys. Beware of the Convoys!\r\n Increased Stack Size + BackPack for Extra Storage. \r\n Lots not listed and more to come.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781294638,
"last_online": 1781336425,
"icon": null,
"name": "SafeHouse 5x Extreme PvE",
"connect": "104.128.62.53:28015",
"request": "104.128.62.53:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 500,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1696082224,
"last_update": 1781336425,
"banned": false,
"wipe": 1780600919,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2088,
"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/1399378");
$data = json_decode($json, true);
var_dump($data);