API für WildVanilla-PVE
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 55,
"fps_avg": 56,
"entities_count": 212080,
"world_seed": 204885104,
"world_size": 6000,
"steam_id": "90286604358629405",
"domain": null,
"id": 10413282,
"ip": "66.51.99.75",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "\nImportant Rules:\r\n -NO killing, stealing from, or raiding other players without consent \r\n -Sleepers and decaying bases are off limits \r\n -Read #rules and the like on our discord for full details and expectations. \r\n Raid protection on. Upkeep at 50%",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780602029,
"icon": null,
"name": "WildVanilla-PVE",
"connect": "66.51.99.75:28015",
"request": "66.51.99.75:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 18,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1759823830,
"last_update": 1780602029,
"banned": false,
"wipe": 1780596965,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1201,
"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/10413282");
$data = json_decode($json, true);
var_dump($data);