Rust
API для EU Rustinity 2x Monthly Large Vanilla+ [No BP Wipes]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11093070json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 134774,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284838961204230",
"domain": null,
"id": 11093070,
"ip": "185.248.134.170",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "![EU Rustinity 2x Monthly Large Vanilla+ [No BP Wipes]](https://cdn.rusticated.com/u/85a42207c9-512x256.png)\nMonthly map wipes on Forced wipes (first Thursday of each month @ 19:00 BST/20:00 CEST)\r\nBlueprints don't wipe unless forced by Facepunch, last BP wipe was December 2021\r\nDiscord: Rustinity.com/discord\r\nVIP (no kits): store.rustinity.com\r\nNo group limit\r\n\r\nAll server changes:\r\n2x gather rates on everything\r\n2x craft times, recycler & smelting speed\r\n2x stack sizes on some resources\r\nSome minicopters spawn on the roads\r\nDrone marketplaces at Fishing Villages & Ranches\r\nBandit Camp merged into outpost for better FPS performance\r\nIncreased shoreside boat spawns\r\nRecyclers at Dome, Oilrigs, Cargo, Ranches & Fishing Villages\r\nNights are 5 minutes long\r\nFood doesn't burn\r\nActive admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776685397,
"score": 0,
"last_online": 1776988221,
"icon": null,
"name": "EU Rustinity 2x Monthly Large Vanilla+ [No BP Wipes]",
"connect": "185.248.134.170:28010",
"request": "185.248.134.170:28015",
"map": "Rustinity Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770027736,
"last_update": 1776988221,
"banned": false,
"wipe": 1775151639,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4472,
"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/11093070");
$data = json_decode($json, true);
var_dump($data);