Rust
[EU] CzechRust.eu Vanilla Solo/Duo | Monthly | WIPED 2/4 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8158149json
{
"response": {
"fps": 93,
"fps_avg": 91,
"entities_count": 120625,
"world_seed": 616816,
"world_size": 4500,
"steam_id": "90284793058377735",
"domain": null,
"id": 8158149,
"ip": "185.180.2.19",
"port": 28400,
"query": 27400,
"color": 0,
"city": "Prague",
"description": "![[EU] CzechRust.eu Vanilla Solo/Duo | Monthly | WIPED 2/4](https://czechrust.eu/public/img/czechreklama_vanilla.png)\nGeneral informations:\r\n This is the [EU] server hosted in Czech Republic\r\n\r\nServer settings:\r\n • Full wipe on force update \r\n • Max 2 players authorized on TC\r\n • Max 2 players in a group\r\n • Max 2 players basing together\r\n • Max 2 players raiding together\r\n • Teaming with other groups is not allowed\r\n • Just Vanilla\r\n\r\nSocial media:\r\n Webpage: czechrust.eu\r\n Twitter: twitter.com/CzechRust\r\n Discord: discord.czechrust.eu\r\n Facebook: facebook.com/CzechRustServers\r\n Steam group: Czech Rust Servers\r\n\r\nSponsors and Partners:\r\n fakaheda.eu - game & voice server hosting",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775152930,
"score": 0,
"last_online": 1776879619,
"icon": null,
"name": "[EU] CzechRust.eu Vanilla Solo/Duo | Monthly | WIPED 2/4",
"connect": "185.180.2.19:28400",
"request": "185.180.2.19:27400",
"map": "CzechRust.eu",
"gamemode": "Survival",
"version": "2623",
"numplayers": 4,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1742011497,
"last_update": 1776879619,
"banned": false,
"wipe": 1775153388,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1110,
"language": "cs",
"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/8158149");
$data = json_decode($json, true);
var_dump($data);