Rust
API для Amateur World 2x Raidable Bases (New bases), 24h offline protec
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6125194json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 79136,
"world_seed": 691654268,
"world_size": 3500,
"steam_id": "90284558678268938",
"domain": null,
"id": 6125194,
"ip": "65.21.78.175",
"port": 28020,
"query": 28021,
"color": 0,
"city": "Helsinki",
"description": "\nThis server is for amateurs! 2x server with couple plugins! Raidable Bases (new bases added 6.12.25), furnace splitter, 5min night, little faster melting, minis spawn on roads and 24h offline raid protection (after 24h its 0% protect) ! be nice to others and have fun! Discord: https://discord.gg/qaDcDuSc",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776353623,
"score": 0,
"last_online": 1776827418,
"icon": null,
"name": "Amateur World 2x Raidable Bases (New bases), 24h offline protec",
"connect": "65.21.78.175:28020",
"request": "65.21.78.175:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1727883291,
"last_update": 1776827418,
"banned": false,
"wipe": 1776353981,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2026,
"language": "fi",
"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/6125194");
$data = json_decode($json, true);
var_dump($data);