API для Ducks PVE Community Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 111,
"fps_avg": 110,
"entities_count": 132739,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286627861622784",
"domain": null,
"id": 11018224,
"ip": "66.51.99.41",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Ducks PVE Community Server!\r\nA chill, friendly Rust experience built for players who want to build, explore, and survive without the constant threat of PvP.\r\n\r\nServer Features:\r\nCustom maps for fresh exploration\r\nVanilla decay\r\nMonthly map wipes / Quarterly BP wipes\r\nSolo, Duo, Trio + Quads allowed\r\nAlliances welcome\r\nNoobs encouraged — everyone can learn and grow here\r\nDaily restarts at 3:00 AM PST\r\n\r\nEnglish-speaking server & admins\r\n\r\nPVE Rules:\r\nNO killing other players — includes sleepers.\r\nNO stealing — this covers bases, loot, horses, vehicles, and anything that isn’t yours.\r\nBase Protection & Entity Protection enabled to keep your builds safe when you upgrade higher then Twig.\r\n\r\nBradley Day:\r\nBegins 2 days before force wipe — a perfect time to gear up and take on the challenge together.\r\n\r\nPlaystyle:\r\nBuild, explore, farm, and enjoy Rust without the stress of PvP. Work together, form alliances, and create your own community stories.\r\n\r\nRule:\r\nNo VPN usage allowed.\r\nUser must not have been banned within the last 182 days.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779876805,
"last_online": 1780673431,
"icon": null,
"name": "Ducks PVE Community Server",
"connect": "66.51.99.41:28015",
"request": "66.51.99.41:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769944477,
"last_update": 1780673431,
"banned": false,
"wipe": 1780596641,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3021,
"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/11018224");
$data = json_decode($json, true);
var_dump($data);