Rust
API для MAINLOOT • BUILD • CREATIVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10661752json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 181821,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90285022343578631",
"domain": null,
"id": 10661752,
"ip": "64.7.1.4",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Wilmington",
"description": "\nWelcome to mainloot's build server. We wipe daily.\r\n\r\nRules:\r\n\r\nBE CIVIL TOWARDS EVERYONE • NO DISCRIMINATION • NO SPAMMING • NO DOXING • NO ADVERTISING • NO EXPLOITS • NO CHEATING • NO BLOCKING MONUMENTS • NO EXCESSIVELY LARGE BASES • NO BAN EVADING • NO IMPERSONATION • DO NOT CALL OUT CHEATERS OR STREAMERS IN CHAT\r\n\r\nIf you have any questions, comments, or need support, join our Discord: https://discord.gg/mainloot\r\n\r\nHave fun!\r\n\r\n[RS-c7f24b2b]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776320514,
"score": 0,
"last_online": 1777310418,
"icon": null,
"name": "MAINLOOT • BUILD • CREATIVE",
"connect": "64.7.1.4:28015",
"request": "64.7.1.4:28017",
"map": "discord.gg/mainloot",
"gamemode": "Survival",
"version": "2623",
"numplayers": 86,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1764544807,
"last_update": 1777310418,
"banned": false,
"wipe": 1777269714,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 584,
"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/10661752");
$data = json_decode($json, true);
var_dump($data);