API für Rusty Hook 3X Offline Protections
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 68,
"fps_avg": 65,
"entities_count": 184864,
"world_seed": 1946918406,
"world_size": 5000,
"steam_id": "90286584382856201",
"domain": null,
"id": 10534624,
"ip": "147.135.105.5",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Hillsboro",
"description": "\nRusty Hook 3X: Offline protections: No pay-to-win ever. Solo friendly. 3x Resources and Loot. Raidable Bases & Random NPC Raiders! Doomsday wipe event! Offline protections last 24 hours, at which point the structure will begin to take more and more damage from players the longer you stay disconnected.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780556669,
"last_online": 1780584634,
"icon": null,
"name": "Rusty Hook 3X Offline Protections",
"connect": "147.135.105.5:28015",
"request": "147.135.105.5:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 2,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518701,
"last_update": 1780584634,
"banned": false,
"wipe": 1778177073,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3763,
"language": "en",
"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/10534624");
$data = json_decode($json, true);
var_dump($data);