API для [PB] Medieval Rust |Kingdoms|Low Upkeep|Custom Monuments|More
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 226,
"fps_avg": 225,
"entities_count": 197017,
"world_seed": 1906919879,
"world_size": 5400,
"steam_id": "90286376535390218",
"domain": null,
"id": 6649607,
"ip": "157.90.108.142",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "![[PB] Medieval Rust |Kingdoms|Low Upkeep|Custom Monuments|More](http://rustfiles.projectbackend.com/img/serverpanel.png)\nWelcome to the Project Backend Medieval Rust\r\n\r\nWe aimed to design exactly what is sounds like: Rust but in the late 15th century\r\n\r\nSome of the altered ascpects:\r\n\r\nNo Firearms more advanced then the eoka\r\nFully modified gernerated map including all new monuments\r\nNo tech tree / Random research\r\nNo wall / roof / foundation upgrades beyond stone with rebalanced raiding, in-game earned offline portection\r\nLow Upkeep: When building larger castles cost increases significantly less then vanilla\r\nWeapons can be upgraded in various aspects and ways equaly possible for pvp and pve player\r\n\r\nSpecial mentions:\r\nCommand & GUI less gameplay - all our changes and systems can be used without any commands.\r\nAnything that requires player inputs is integrated just like we imagine it would be in vanilla rust\r\nThis server is work in progress. Everthing included is ready to use, but it is not yet feature complete.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780088616,
"last_online": 1780585233,
"icon": null,
"name": "[PB] Medieval Rust |Kingdoms|Low Upkeep|Custom Monuments|More",
"connect": "157.90.108.142:28015",
"request": "157.90.108.142:28017",
"map": "Custom Map",
"gamemode": "Primitive",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1731487531,
"last_update": 1780585233,
"banned": false,
"wipe": 1778177078,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3007,
"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/6649607");
$data = json_decode($json, true);
var_dump($data);