Rust
API для AfterShock | 1000000X | KITS |TP|CLANS|SKINBOX|PVP |
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10260963json
{
"response": {
"modded": true,
"fps": 40,
"fps_avg": 35,
"entities_count": 104848,
"world_seed": 1670264379,
"world_size": 4000,
"steam_id": "90284845745668096",
"domain": null,
"id": 10260963,
"ip": "69.30.244.178",
"port": 7649,
"query": 7650,
"color": 0,
"city": "Kansas City",
"description": "\nAfterShock 100000x Rust \r\n \r\n Wipe Schedule: \r\n Map – Every Monday & Friday @ 6PM (EST) \r\n Force Wipe – Follows official Rust force wipe \r\n \r\n Rates: \r\n Instant gather \r\n Instant craft \r\n Instant cooked materials on harvest \r\n Fast charcoal smelt \r\n \r\n Features: \r\n ♦ Custom plugins \r\n ♦ Custom anti-cheat detection \r\n ♦ Custom UI menu \r\n ♦ MyMini access \r\n ♦ Teleport commands \r\n ♦ Fast decay bases \r\n ♦ High-performance servers \r\n ♦ Fast PvP & raid action \r\n ♦ Active non-playing admins \r\n \r\n VIP Features: \r\n ♦ Skinbox \r\n ♦ Kits \r\n \r\n VIP: https://aftershockrust.com \r\n \r\n Rules: \r\n ♦ No hacking / scripting \r\n ♦ No intentional bug abuse \r\n ♦ No EAC / FP banned alts \r\n ♦ No ban evading \r\n ♦ No racism or signs \r\n ♦ No team limit",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776845597,
"score": 0,
"last_online": 1776957023,
"icon": null,
"name": "AfterShock | 1000000X | KITS |TP|CLANS|SKINBOX|PVP |",
"connect": "69.30.244.178:7649",
"request": "69.30.244.178:7650",
"map": "Wiped 20 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1757057710,
"last_update": 1776957023,
"banned": false,
"wipe": 1775159456,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3801,
"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/10260963");
$data = json_decode($json, true);
var_dump($data);