MADMAX-ROLEPLAY/BASE SAVE, City,Danger-Red Zone, 24Jobs. 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 41,
"fps_avg": 35,
"entities_count": 166624,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286369241324568",
"domain": null,
"id": 7466895,
"ip": "148.251.232.50",
"port": 28040,
"query": 28041,
"color": 0,
"city": "Falkenstein",
"description": "\nRUST HARD ROLEPLAY | ZONES SYSTEM | TYRANT & LORD | CUSTOM RP\r\nWelcome to a Serious Roleplay Rust Server with a unique Power & Zone System.\r\nChoose your path: Lawful Citizen, Criminal, Clan Leader, Mercenary, or Architect.\r\nTyrant controls Safe Zones\r\nLord rules Danger Zones\r\nRed Zone = No Law Chaos\r\nFeatures:\r\nTrue RP Interactions\r\nFear RP System\r\nKidnapping & Ransom RP\r\nClan Wars & Authorized Raids\r\nSafe Zone Protection\r\nCustom Building System\r\nActive Staff & Events\r\nNo KOS | RP First | Story Driven Server\r\nPASSWORD \"0000\".",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780239196,
"last_online": 1780110022,
"icon": null,
"name": "MADMAX-ROLEPLAY/BASE SAVE, City,Danger-Red Zone, 24Jobs.",
"connect": "148.251.232.50:28040",
"request": "148.251.232.50:28041",
"map": "NoMansLand",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1739234720,
"last_update": 1780239196,
"banned": false,
"wipe": 1778440429,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10480,
"language": "de",
"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/7466895");
$data = json_decode($json, true);
var_dump($data);