Rust
API для RELAX PvE EU-CZ Friendly Vanilla for Beginners
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9919060json
{
"response": {
"fps": 20,
"fps_avg": 20,
"entities_count": 160694,
"world_seed": 1642071732,
"world_size": 5000,
"steam_id": "90284811027036162",
"domain": null,
"id": 9919060,
"ip": "185.180.2.14",
"port": 28861,
"query": 27861,
"color": 0,
"city": "Prague",
"description": "\nVanilla PvE server pro začátečníky.\r\nVanilla PvE server for beginners.\r\n\r\nNO KILLING - NO STEALING - NO RAIDING\r\n\r\nNext wipe (Map+BP): May 7, 2026 8:00 p.m.\r\n\r\n* Low Upkeep.\r\n* You can demolish/rotate everything without any kind of time limits\r\n* Theft/Raid prevention plugins installed\r\n\r\n* NpcRaiders - They will raid your base tell they find the tc or the time set\r\n /raidme - will show raid help menu\r\n /raidme buy - will show raid buy help menu and costs\r\n\r\n* MiniCopter / scraptransporthelicopter Lock Commands\r\n /lockmini.key - lock whith a key lock\r\n /lockmini.code - lock with a code lock\r\n /heli.kick - used by driver to kick passengers\r\n\r\n* Building and entity removal tool Command\r\n /remove - Enable RemoverTool",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776826995,
"score": 0,
"last_online": 1776873023,
"icon": null,
"name": "RELAX PvE EU-CZ Friendly Vanilla for Beginners",
"connect": "185.180.2.14:28861",
"request": "185.180.2.14:27861",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1753971519,
"last_update": 1776873023,
"banned": false,
"wipe": 1775152829,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3752,
"language": "cs",
"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/9919060");
$data = json_decode($json, true);
var_dump($data);