Rust
RustConcepts 3x PVX|KITS|BOSSES|TP/HOME|BUYRAID|EVENTS[US] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3298533json
{
"response": {
"fps": 89,
"fps_avg": 90,
"entities_count": 111211,
"world_seed": 1933198810,
"world_size": 4096,
"steam_id": "90285651324836889",
"domain": null,
"id": 3298533,
"ip": "216.39.240.121",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Ashburn",
"description": "![RustConcepts 3x PVX|KITS|BOSSES|TP/HOME|BUYRAID|EVENTS[US]](https://www.dropbox.com/scl/fi/t0kre7simdc33eafhc7ei/proceduralmap.4000.030723.21.map?rlkey=qy4j46hdzcl0ii7szd0ymbjlb&dl=1)\n\r\nWelcome to RustConcepts 3x PVX! \r\nWhether you're a seasoned Rust player or just starting out, our server offers something for everyone! \r\n PVX = PVE with PVP Areas \r\n\r\n-3x Gather, 3x Scrap \r\n-Weekly Map, Bi-Weekly BPs and Vehicles \r\n-PVE until Purge for 24 Hr at end of wipe. \r\n-BGrade, Up, Easy Repair, Extended Workbench \r\n-Increased Stack Sizes, Quick Smelt, Craft, Sort \r\n-Backpacks, Personal Vehicles, Loot Restore \r\n-Quick Teleports and /home \r\n-Nearly every item from workshop in /skin \r\n-Starter, Build, and Farming Kits \r\n-Private Bradley and Heli Signals \r\n-5 levels of Raidable NPC Bases \r\n-Raidable Abandoned Player Bases \r\n-NPC Raiders, Roamers, and at Monuments \r\n-Harbor and Monumnet Bradleys \r\n 4 Levels of Convoy Event \r\n-Rp, Shop, Vote Rewards \r\n-Active Admins \r\n \r\nBonus perks just for joining the discord. Come join us and help build the ultimate PVE server! \r\n \r\nWebsite: www.RC-Servers.com \r\n \r\nDiscord: https://discord.gg/KmFxfqDcaM",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778191985,
"score": null,
"last_online": 1778644218,
"icon": null,
"name": "RustConcepts 3x PVX|KITS|BOSSES|TP/HOME|BUYRAID|EVENTS[US]",
"connect": "216.39.240.121:28015",
"request": "216.39.240.121:28017",
"map": "Boston: New Lands",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1709856384,
"last_update": 1778644218,
"banned": false,
"wipe": 1778191870,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2444,
"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/3298533");
$data = json_decode($json, true);
var_dump($data);