API для The Hole | PvE, BossMonster, RaidableBases, SkillTree, Skills
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 8,
"fps_avg": 8,
"entities_count": 93841,
"world_seed": 29819,
"world_size": 3500,
"steam_id": "90286301886322719",
"domain": null,
"id": 11500877,
"ip": "85.215.81.6",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Berlin",
"description": "The Hole gets wiped on demand\r\n\r\nGeneral commands:\r\n/st -- SkillTree Plugin\r\n/skills -- Skills Plugin\r\n/shop -- Shop\r\n/remove -- Remove a construction\r\n/nv -- Nightvision\r\n/kit -- Opens the kit menu\r\n\r\nRaidable Bases:\r\n/buyraid -- Menue to buy raidable Bases\r\n/rbe despawn -- Despawn a raidable bases (doenst refund)\r\n\r\nVehicle License Plugin:\r\n/license -- Show help to the player.\r\n/buy -- Show help for buy commands. Buy a license\r\n/spawn -- Show help for spawn commands. Spawn a vehicle\r\n/recall -- Show help for recall commands. Recall vehicles to the vicinity of the player\r\n/kill -- Show help for kill commands. Kill the player's vehicle\r\n\r\nClans Plugin:\r\nhttps://umod.org/plugins/clans\r\n\r\nTeleport Plugin:\r\nhttps://umod.org/plugins/nteleportation",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780593213,
"last_online": 1780155029,
"icon": null,
"name": "The Hole | PvE, BossMonster, RaidableBases, SkillTree, Skills",
"connect": "85.215.81.6:28015",
"request": "85.215.81.6:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207164,
"last_update": 1780593213,
"banned": false,
"wipe": 1779180934,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10977,
"language": "de",
"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/11500877");
$data = json_decode($json, true);
var_dump($data);