Rust
API для RustPlace xMillion [x1000000000|PVP|TP|SKINS|BATTLE|SHOP|KITS]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10869939json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 48293,
"world_seed": 1337,
"world_size": 2700,
"steam_id": "90285607193968656",
"domain": null,
"id": 10869939,
"ip": "185.207.125.7",
"port": 28020,
"query": 28019,
"color": 0,
"city": "Oradea",
"description": "![RustPlace xMillion [x1000000000|PVP|TP|SKINS|BATTLE|SHOP|KITS]](https://www.rustplace.ro/img/imgXmilion1.jpg)\nWelcome to RustPlace xMillion! \r\nWeekly Wipe on Friday @ 10AM UTC or when forced.\r\nVIP: rustplace.ro/vip \r\n\r\nUse /info for server info and commands \r\n\r\nServer settings:\r\n - High Gather Rates\r\n - 3k Custom MAP\r\n - Instant Crafting/Smelting\r\n - No Blueprints/Workbench needed\r\n - Custom Loot, Helivote(up to 2) \r\n - Build Grade(/bgrade), Teleport \r\n - Clans, SkinBox(/skin), Trade \r\n - Minicopter Combat, Night Skip \r\n - Double Foundation HP \r\n - Airdrops, Kits, Shop(/shop) and MORE \r\n \r\n Powered by RustPlace\r\n Join, Build, Raid, Fight and have FUN x100000000000000!\r\nrs0004K4*i1twmLWJ2NA^1",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777704190,
"score": 0,
"last_online": 1778539820,
"icon": null,
"name": "RustPlace xMillion [x1000000000|PVP|TP|SKINS|BATTLE|SHOP|KITS]",
"connect": "185.207.125.7:28020",
"request": "185.207.125.7:28019",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318375,
"last_update": 1778539820,
"banned": false,
"wipe": 1778176677,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3926,
"language": "ro",
"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/10869939");
$data = json_decode($json, true);
var_dump($data);