Rust
[RC] Chaos 5x | Solo/Duo | NPC Raids | Events | Kits | Loot+ | 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3336613json
{
"response": {
"fps": 120,
"fps_avg": 119,
"entities_count": 12054,
"world_seed": 1,
"world_size": 1500,
"steam_id": "90285651323776025",
"domain": null,
"id": 3336613,
"ip": "216.39.240.121",
"port": 29015,
"query": 29017,
"color": 0,
"city": "Ashburn",
"description": "![[RC] Chaos 5x | Solo/Duo | NPC Raids | Events | Kits | Loot+ | ](https://www.dropbox.com/scl/fi/oi8f44ynlmbvtkopdfaez/banner_03_rustchaos.png?rlkey=l88t7pwnxnwzqz4p49vc4pi7w&dl=1)\n[RC] Chaos 5x | Solo/Duo \r\n Website: https://www.rc-servers.com \r\n Discord: https://discord.gg/KmFxfqDcaM \r\n Store: https://rc-servers.tebex.io \r\n \r\n Wipes: Mondays and Thursdays @ 1 PM CST \r\n \r\n [Server Features] \r\n - SkinController, BGrade, Remove, and MyMini! \r\n - Furnace/Compost Splitter \r\n - Box Sorter \r\n - Loot+ (Junk removed) \r\n - Extended Workbenches \r\n - All BPs Unlocked \r\n - Kits (Starter, Food, Tools) \r\n - Vanilla PvP \r\n - Raid/Combat Block \r\n - Teleportation \r\n - RP Rewards/Shop \r\n - Vanilla Heli/Cargo \r\n - Mini Convoy Event \r\n - Custom Sputnik Event \r\n - Raidable NPC Bases \r\n - High Performance \r\n - Non-Playing Admins \r\n You can find out more information in our Discord!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"score": null,
"last_online": 1778650818,
"icon": null,
"name": "[RC] Chaos 5x | Solo/Duo | NPC Raids | Events | Kits | Loot+ |",
"connect": "216.39.240.121:29015",
"request": "216.39.240.121:29017",
"map": "RC-Servers.com",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1710067756,
"last_update": 1778650818,
"banned": false,
"wipe": 1778519158,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2473,
"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/3336613");
$data = json_decode($json, true);
var_dump($data);