SilverRust 10x Solo/Duo/Trio [Loot+|MyMini|Shop|PvP] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 173,
"fps_avg": 164,
"entities_count": 33340,
"world_seed": 62520,
"world_size": 2500,
"steam_id": "90286601650411542",
"domain": null,
"id": 11260618,
"ip": "217.146.80.178",
"port": 28080,
"query": 28015,
"color": 0,
"city": "City of London",
"description": "![SilverRust 10x Solo/Duo/Trio [Loot+|MyMini|Shop|PvP]](https://i.imgur.com/xgjAzi6.png)\nWelcome To SilverRust 10x!\r\n\r\n✦ No Blueprints - All unlocked from spawn !\r\n✦ 10x Balanced Gathering - Fast paced gameplay !\r\n✦ Manually curated loot - Boosted & Balanced !\r\n✦ Spawn /mymini with infinite fuel !\r\n✦ Instant Craft - No waiting !\r\n✦ Unlimited Teleports - Unlimited BGrade !\r\n✦ SkinBox - RemoverTool - MiniCopter !\r\n✦ Custom Raidable Bases & PvP Event Zones !\r\n✦ TC Repair All & Upgrade from your Tool Cupboard !\r\n✦ Furnace Upgrades - Boost your smelting speed & output !\r\n✦ In-game Leaderboards - Kills, Deaths, Top Clans & more !\r\n\r\nJoin our Discord to claim rewards & stay updated :\r\nhttps://discord.gg/hJdqkkPFWe\r\n\r\n24/7 Admin Support - Fair & Active Staff !",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780590870,
"last_online": 1780629029,
"icon": null,
"name": "SilverRust 10x Solo/Duo/Trio [Loot+|MyMini|Shop|PvP]",
"connect": "217.146.80.178:28080",
"request": "217.146.80.178:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555199,
"last_update": 1780629029,
"banned": false,
"wipe": 1780590927,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4131,
"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/11260618");
$data = json_decode($json, true);
var_dump($data);