API для Stillwater Shores PVE | PVP
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 86,
"fps_avg": 85,
"entities_count": 138356,
"world_seed": 1808670345,
"world_size": 5000,
"steam_id": "90286604841899033",
"domain": null,
"id": 11725653,
"ip": "168.100.162.13",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "\nWelcome To Stillwater Shores PVE | PVP!\r\nPlease read the full list of rules on our discord server: https://discord.gg/J563SWextP\r\n\r\n\\tRULES\r\n\\t• PVP or killing on site (KOS) is NOT ALLOWED unless you AND THE TARGET are\r\n\\tin a designated PVP Zone!\r\n\\t• Raiding anyone or anything is NOT ALLOWED unless you are in the Raid Zone!\r\n\\t• Looting anything that is not yours or looting a sleeper is NOT ALLOWED,\r\n\\t unless it is a decaying base, but do not kill anyone or break anything.\r\n\r\n\\tINFO\r\n\\t• This is a Vanilla, PVE and PVP Server!\r\n\\t\r\n\\tWIPE SCHEDULES\r\n\\t• Map and BPs wipe monthly with the Facepunch update\r\n\r\nRemember to have fun and stay Rusty!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780602625,
"icon": null,
"name": "Stillwater Shores PVE | PVP",
"connect": "168.100.162.13:28015",
"request": "168.100.162.13:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 37,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1780388555,
"last_update": 1780602625,
"banned": false,
"wipe": 1780598214,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 647,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11725653");
$data = json_decode($json, true);
var_dump($data);