API для Relaxed PvE/5X Harvest/Only mandatory wipes
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 55,
"fps_avg": 51,
"entities_count": 120202,
"world_seed": 2147483647,
"world_size": 4500,
"steam_id": "90286617794505728",
"domain": null,
"id": 11606820,
"ip": "148.113.159.48",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Montreal",
"description": "This is a relaxed PvE focused server. Running the BUILT DIFFERENT Update! Please be aware that PVP is NOT restricted here.\r\nMany NPC related mods have been broken, abandoned, or paywalled so alternatives have to be used in the meantime.\r\n\r\nNo wipes unless mandatory!\r\n\r\nModifications:\r\nGuarded Crates\r\nDangerous Treasures\r\nFully customizable signs and sign art\r\n5x gathering for all resources\r\nActive Admins\r\nExtra loot\r\nWipes disabled unless forced\r\nSoftcore Enabled",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602268,
"last_online": 1780632025,
"icon": null,
"name": "Relaxed PvE/5X Harvest/Only mandatory wipes",
"connect": "148.113.159.48:28000",
"request": "148.113.159.48:28001",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2627",
"numplayers": 5,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1779915485,
"last_update": 1780632025,
"banned": false,
"wipe": 1780602479,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 896,
"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/11606820");
$data = json_decode($json, true);
var_dump($data);