API für SuM EU 1-2x OffProtect. BetterNPC
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 50,
"fps_avg": 77,
"entities_count": 130710,
"world_seed": 1337,
"world_size": 4750,
"steam_id": "90286603870483479",
"domain": null,
"id": 11501192,
"ip": "178.198.245.143",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Zurich",
"description": "\nDies ist ein Modded server mit diversen Events, Skill system, Verbesserten NPC in fast allen Monumenten. Kein Blueprint wipe wenn möglich. Statistic Board, Offline Protection für Drei Tage. Stacksize Holz,Steine,Metall 2k\r\n\r\nThis is a modded server with various events, skill system, improved NPC in almost all monuments. No blueprint wipe if possible. Statistic Board, Offline Protection for Three Days. Stacksize Wood.Stone,Metal 2k",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780598430,
"icon": null,
"name": "SuM EU 1-2x OffProtect. BetterNPC",
"connect": "178.198.245.143:28015",
"request": "178.198.245.143:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CH",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779207168,
"last_update": 1780598430,
"banned": false,
"wipe": 1780595464,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1743,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11501192");
$data = json_decode($json, true);
var_dump($data);