Area 51 Rust 3x/2x Server | Solo/Duo/Trio 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 69185,
"world_seed": 550496754,
"world_size": 3500,
"steam_id": "90286604338983948",
"domain": null,
"id": 6572003,
"ip": "24.190.232.189",
"port": 28016,
"query": 28015,
"color": 0,
"city": "Old Bridge",
"description": "\nRust server hosted by Area51Servers.com\r\n\r\n - Full Wipe 1st Thursday every month @ 2PM EST \r\n - Map Wipe every 2 weeks @ 2PM EST \r\n - 3,500 Map Size \r\n - Max Team Size: 3 \r\n - Offline Raid Protection (3hrs - 48hrs offline) \r\n - 3x Resources (1.5x sulfur) \r\n - 2x Scrap \r\n - 2x Smelting/Crafting/Recycling/Mixing Speed \r\n - 5x Stacking (1x explosives) \r\n - BPs Shared with Team + Tier 0+1 Unlocked \r\n - Workbenches Reach Whole Base \r\n - Always Hot Spot \r\n - Minicopters/Scrap Heli's Spawn \r\n - Furnace Splitter \r\n - Auto Pickup Barrels \r\n - Respawn Full HP/125 Water/200 Food \r\n - 25 Bag Limit \r\n - Reduced Bag/Bed Cooldown \r\n - Additional Recyclers \r\n - Additional Air Wolf Vendors \r\n - /pop command",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780626028,
"icon": null,
"name": "Area 51 Rust 3x/2x Server | Solo/Duo/Trio",
"connect": "24.190.232.189:28016",
"request": "24.190.232.189:28015",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1731158562,
"last_update": 1780626028,
"banned": false,
"wipe": 1780597269,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2891,
"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/6572003");
$data = json_decode($json, true);
var_dump($data);