Rust
Rust Beyond |PvE|PvP Deep Sea|Low Upkeep|Events|FRESH WIPED 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/7294661json
{
"response": {
"fps": 92,
"fps_avg": 78,
"entities_count": 109748,
"world_seed": 1998213707,
"world_size": 4000,
"steam_id": "90285729377732615",
"domain": null,
"id": 7294661,
"ip": "164.152.123.224",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Amsterdam",
"description": "\nRust Beyond - EU/NL PvE server with controlled PvP.\r\n\r\nRelaxed PvE gameplay with no random raiding.\r\nPvP is only active at Deep Sea zones.\r\nRaiding is only allowed during Purge before wipe.\r\n\r\nBiweekly wipes, low upkeep, active events and balanced QoL improvements.\r\n\r\nWebsite: www.rustbeyond.com\r\nDiscord: discord.rustbeyond.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778401983,
"score": 0,
"last_online": 1778780418,
"icon": null,
"name": "Rust Beyond |PvE|PvP Deep Sea|Low Upkeep|Events|FRESH WIPED",
"connect": "164.152.123.224:28015",
"request": "164.152.123.224:28017",
"map": "Rust Beyond - Next Wipe: 21-05",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1736724050,
"last_update": 1778780418,
"banned": false,
"wipe": 1778177724,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1770,
"language": "nl",
"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/7294661");
$data = json_decode($json, true);
var_dump($data);