[EU] Farm and Smoke PvE 5x 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 373,
"fps_avg": 353,
"entities_count": 73182,
"world_seed": 1337,
"world_size": 5800,
"steam_id": "90286738944231448",
"domain": null,
"id": 9745639,
"ip": "93.114.56.44",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Eschborn",
"description": "![[EU] Farm and Smoke PvE 5x](https://image.myrustserver.com/logo/FarmAndSmoke_69bd3b7bc269d.png)\n- 5x PvE Server, loaded with paid Plugins.\r\n- Monthly Wipe\r\n- ALL QoL Plugins are free for ALL\r\n- Daily and Starter Kits\r\n- Cash System\r\n- Magic Planters\r\n- 30 different weed strains\r\n- Ganja Buff Items\r\n- Clans\r\n- Custom cars and planes\r\n- Epic Loot\r\n- Item Perks\r\n- NPC Raiders and over 550 Blueprints for Raidable Bases\r\n- Skills + Quests\r\n- Skins\r\n- Static Lootables - Cars, Cash Registar, Lockers, Tables, ...\r\n- Teleporting System\r\n- Virtual Quarries\r\n- Virtual Smelter\r\n- and many more.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780891455,
"last_online": 1780918834,
"icon": null,
"name": "[EU] Farm and Smoke PvE 5x",
"connect": "93.114.56.44:28015",
"request": "93.114.56.44:28017",
"map": "discord.gg/farmandsmoke",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1752324959,
"last_update": 1780918834,
"banned": false,
"wipe": 1780594872,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3595,
"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/9745639");
$data = json_decode($json, true);
var_dump($data);