[DE-PVE] Der Rentner Treff Vanilla 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 50,
"fps_avg": 51,
"entities_count": 208148,
"world_seed": 1092773526,
"world_size": 4800,
"steam_id": "90286581581501445",
"domain": null,
"id": 2442283,
"ip": "176.57.168.130",
"port": 28018,
"query": 28021,
"color": 0,
"city": "Frankfurt am Main",
"description": "![[DE-PVE] Der Rentner Treff Vanilla](https://images.marcopetersen.de/rust_server/banner/rust_vanillabanner.jpg)\nWelcome to [EU] Der Rentner Treff, \r\n In case you have build something wrong, you can ask one of the Admins to help you to remove it. Raiding and PVP is not allowed!\r\n -Mit dem Login auf diesem Server akzeptiere ich die Regeln\r\n- Last Full Wipe: 07.05.2026\r\n- Map Size:4800\r\n- Upkeep: 50%\r\n- Radiation: Yes\r\nDonate: https://der-rentner-treff.de/index.php?spenden/\r\nIf you want to support us we would be happy.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780545869,
"last_online": 1780572029,
"icon": null,
"name": "[DE-PVE] Der Rentner Treff Vanilla",
"connect": "176.57.168.130:28018",
"request": "176.57.168.130:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 5,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1704402756,
"last_update": 1780572029,
"banned": false,
"wipe": 1778177738,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1024,
"language": "de",
"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/2442283");
$data = json_decode($json, true);
var_dump($data);