Rusty Saloon | Custom Monuments + QoL | Monthly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 56,
"fps_avg": 56,
"entities_count": 122524,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286588831639575",
"domain": null,
"id": 10922622,
"ip": "66.51.99.69",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "\nUNDER CONSTRUCTION\r\nCustom Map with the Saloon and Quarterly Blueprint wipe coming April 7th!!/n\r\nRusty Saloon is a monthly vanilla feel server built around a custom 4500 map and a frontier town hub. Quality of Life improvements, no pay to win, and a focus on community driven gameplay./n\r\nThe wasteland is lawless except inside the Saloon, that's where you can come for community hang outs, entertainment, trading, map votes, bounty board and more!\r\nQuarterly BP wipes *April 7th*July 2nd*October 1st*December 31st*\r\n BRAND NEW SERVER Feb 27, 2026 \r\n UNDER CONSTRUCTION",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780132416,
"last_online": 1780590037,
"icon": null,
"name": "Rusty Saloon | Custom Monuments + QoL | Monthly",
"connect": "66.51.99.69:28015",
"request": "66.51.99.69:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768476985,
"last_update": 1780590037,
"banned": false,
"wipe": 1778177491,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4000,
"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/10922622");
$data = json_decode($json, true);
var_dump($data);