API dla Rust4Noobs.com | Solo/Duo/Trio | Softcore 50% Monthly | No BP W
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 76550,
"world_seed": 25352,
"world_size": 3750,
"steam_id": "90286603841478673",
"domain": null,
"id": 10249205,
"ip": "217.182.197.185",
"port": 28014,
"query": 28015,
"color": 0,
"city": "Saarbrücken",
"description": "\nWelcome to Rust4Noobs.com \r\nMap - Monthly @ Force \r\nBPs - Never \r\n\r\n→ Group limit: 3 \r\n→ 50% upkeep \r\n→ Mini's spawn on roads \r\n→ Map size: 3750 \r\n\r\nRules:\r\n- No hacking / scripting\r\n- No intentional bug abuse\r\n- No EAC / FP banned alts\r\n- No ban evading\r\n- No racism\r\n\r\nActive non playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780599630,
"icon": null,
"name": "Rust4Noobs.com | Solo/Duo/Trio | Softcore 50% Monthly | No BP W",
"connect": "217.182.197.185:28014",
"request": "217.182.197.185:28015",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2627",
"numplayers": 5,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1756984090,
"last_update": 1780599630,
"banned": false,
"wipe": 1780595815,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1434,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10249205");
$data = json_decode($json, true);
var_dump($data);