[AU/NZ] Rusthaven - 2x Biweekly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 124678,
"world_seed": 1274906132,
"world_size": 4250,
"steam_id": "90286169358739468",
"domain": null,
"id": 10968771,
"ip": "180.181.211.249",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Brisbane",
"description": "A QoL (Quality of Life) focused server designed for satisfactory gameplay! \r\n \r\n Map Wipes: 2-3 times per month\r\n BP Wipes: Monthly @ Force Wipe\r\n\r\n Next Wipe: March 20th @ 4:00 PM AEST\r\n \r\n Rates: \r\n - 2x Gather, Smelting, Crafting, Excavator, and Stack Sizes (1.5x Sulfur)\r\n - No Junk Loot + Improved Loot Tables \r\n - Half Upkeep Costs \r\n \r\n Features: \r\n - Longer Days\r\n - Convoy Event Plugin\r\n - Many Tier 1 BPs Unlocked \r\n - OG Patrol Heli (No Fleeing)\r\n - Free Sign Artist & Box Sorter\r\n - Barrel Loot Goes To Inventory \r\n - Longer Minicopter Decay Timer \r\n - No Vending Machine Cooldowns \r\n - Automatic Turret Auth (Based on TC) \r\n - Increased Bed, Map Marker, and Turret Limit \r\n \r\n More to see! Check us out on Discord: https://discord.gg/jSmsZrvVZF",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779645812,
"last_online": 1779698420,
"icon": null,
"name": "[AU/NZ] Rusthaven - 2x Biweekly",
"connect": "180.181.211.249:28015",
"request": "180.181.211.249:28017",
"map": "Next Wipe: May 8th",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1768755817,
"last_update": 1779698420,
"banned": false,
"wipe": 1778821776,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2086,
"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/10968771");
$data = json_decode($json, true);
var_dump($data);