Minecraft
API pentru ◆ Ru Beacon | MC ◆ ⋘ ВАНИЛЛЬНОЕ ВЫЖИВАНИЕ И МИР! ⋙
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11488166json
{
"response": {
"steam_id": null,
"domain": "play.rubeaconmc.su",
"id": 11488166,
"ip": "81.176.176.33",
"port": 25565,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"9JXAj63Wiq\",\"type\":\"paragraph\",\"data\":{\"text\":\"RuBeaconMC • 1.21.11\\nКлассический ванильный сервер выживания с приватами и гриферством. Новая генерация мира и структуры. Экономика на алмазах с аукционом. Тюрьма вместо банов за игровые нарушения, активные модераторы, приятная атмосфера. Без доната на преимущества.\\n\\nТГ канал сервера - t.me/qicheserver\\nОфициальная группа VK -https://vk.com/rubeaconmc\\nDiscord сервера - https://discord.gg/a5fgamtNfu\"}}]",
"game": 9000034,
"owner": 185475,
"boosts": 1,
"last_offline": 1776265812,
"score": 3,
"last_online": 1776572409,
"icon": null,
"name": "◆ Ru Beacon | MC ◆ ⋘ ВАНИЛЛЬНОЕ ВЫЖИВАНИЕ И МИР! ⋙",
"connect": "play.rubeaconmc.su:25565",
"request": null,
"map": null,
"gamemode": null,
"version": "Purpur 1.21.11",
"numplayers": 1,
"maxplayers": 35,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 108,
"points": 299,
"add_date": 1775307583,
"last_update": 1776572409,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 4,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "stefan_shulsky",
"avatar": "no.jpg",
"last_online": 1776539570
},
"mods": [
{
"id": 1710,
"name": "TAB"
},
{
"id": 1601,
"name": "Essentials"
},
{
"id": 1718,
"name": "WorldEdit"
},
{
"id": 1720,
"name": "WorldGuard"
},
{
"id": 1595,
"name": "SkinsRestorer"
},
{
"id": 1598,
"name": "GSit"
},
{
"id": 1603,
"name": "AuctionHouse"
},
{
"id": 1935,
"name": "simple voice chat"
},
{
"id": 1934,
"name": "emotecraft"
}
],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11488166");
$data = json_decode($json, true);
var_dump($data);