Rust
API für xMilion - x1000000000 | BATTLEFIELD | MILLION | 21/4
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11018099json
{
"response": {
"fps": 28,
"fps_avg": 28,
"entities_count": 107908,
"world_seed": 1337,
"world_size": 2800,
"steam_id": "90284793608715273",
"domain": null,
"id": 11018099,
"ip": "23.161.169.68",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Poplar",
"description": "\nWelcome to XMILION\nMap Wipe: Tuesday and Friday @ 6PM (CEST)\n\nServer settings:\n-No Components\n-x10000000 gather rate\n-Free Build \n-Custom loot\n-Fun kits\n-Build INSTA HQM\n-Instacraft/Smetl\n-Unlimited Teleports\n-Shop\n-Trade\n-Clan\n-Skinbox\nWebsite: www.discord.xmilion.com\nStore: www.store.xmilion.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1773951117,
"score": 0,
"last_online": 1776886817,
"icon": null,
"name": "xMilion - x1000000000 | BATTLEFIELD | MILLION | 21/4",
"connect": "23.161.169.68:28015",
"request": "23.161.169.68:28017",
"map": "XMILION.com | Wiped - 1d ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 40,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1769944425,
"last_update": 1776886817,
"banned": false,
"wipe": 1776787012,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 521,
"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/11018099");
$data = json_decode($json, true);
var_dump($data);