[EU] Grimlands.eu - PVE | Monthly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 50,
"fps_avg": 49,
"entities_count": 104125,
"world_seed": 1809250174,
"world_size": 4250,
"steam_id": "90286580558188561",
"domain": null,
"id": 11731541,
"ip": "158.174.102.177",
"port": 28021,
"query": 28022,
"color": 0,
"city": "Luleå",
"description": "*** Welcome to Grimlands ***\r\n The European Rust Community - Long Cycle PVE Server\r\n \r\n Server: PVE (Vanilla PVE)\r\n Map Size: 4250\r\n Max Population: 200\r\n \r\n → Wipe Schedule:\r\n • Map wipe: First Thursday of the month @ 16:00 CET / 17:00 CEST (forced wipe)\r\n • Blueprint wipe: First Thursday of each month (forced wipe)\r\n \r\n → Rules:\r\n • No racism, sexism, hate speech or harassment\r\n • No cheating, exploiting or game-breaking behavior\r\n • Respect other players and the community\r\n • Play fair - toxic behavior is not tolerated\r\n \r\n x Breaking the rules = ban, no exceptions\r\n \r\n *** Build long-term, survive long-term - Welcome to Grimlands PVE ***",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780542864,
"last_online": 1780552829,
"icon": null,
"name": "[EU] Grimlands.eu - PVE | Monthly",
"connect": "158.174.102.177:28021",
"request": "158.174.102.177:28022",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780411264,
"last_update": 1780552829,
"banned": false,
"wipe": 1778406174,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6110,
"language": "sv",
"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/11731541");
$data = json_decode($json, true);
var_dump($data);