Rust
API для RustroCity | PVE/PVP Zones, RP Friendly, Blood Moon + ICBM Even
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11261041json
{
"response": {
"fps": 183,
"fps_avg": 186,
"entities_count": 107158,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90285593887967232",
"domain": null,
"id": 11261041,
"ip": "40.160.19.134",
"port": 27027,
"query": 28015,
"color": 0,
"city": "Oakton",
"description": "\nFeatures \r\n ● Blood Moon Event - Rare drops and chances to fight undead \r\n ● ICBM Nuclear Event - Launch a nuke from Missile Silo at specified grids \r\n ● Daily Rewards - Claim items each day, extra for Supporters or Discord linked \r\n ● Skill Tree - Earn Skill Points to spend on soft skills that never wipe unless you respec \r\n ● Chat Tags - Customize your tags with text or emojis \r\n ● Furnace Splitter - Easily manage furnace smelting \r\n ● Reduced Base Upkeep by 50% for more fun builds \r\n ● Extended Workbench Ranges so crafting is easier \r\n ● Auto Turret Auth - Team mates won't get instant slimed \r\n ● Sort Button - Clean up messing team mate loot \r\n \r\n Information \r\n ● In-house exclusive plugins and optimized systems. \r\n ● Active Discord - Over 2,000 awesome people \r\n ● Active admins and very helpful community \r\n ● Powerful Hardware - Ryzen 9800X3D DDR5 64GB via us.ovhcloud \r\n ● Map Wipe – Bi-Weekly 5PM Thursdays \r\n ● Blue Prints – Monthly First Thursday of the Month \r\n \r\n Discord: \r\n fwkzt.com/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778384578,
"score": 0,
"last_online": 1778605220,
"icon": null,
"name": "RustroCity | PVE/PVP Zones, RP Friendly, Blood Moon + ICBM Even",
"connect": "40.160.19.134:27027",
"request": "40.160.19.134:28015",
"map": "Wiped 4 Days ago",
"gamemode": "Survival",
"version": "2625",
"numplayers": 4,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1774555216,
"last_update": 1778605220,
"banned": false,
"wipe": 1778186882,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2570,
"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/11261041");
$data = json_decode($json, true);
var_dump($data);