API для 【玖月】仿官/萌新/纯净无特权/长久公益服/5.26
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 54,
"fps_avg": 56,
"entities_count": 119971,
"world_seed": 1755010,
"world_size": 4500,
"steam_id": "90286536040676355",
"domain": null,
"id": 11677464,
"ip": "202.60.229.25",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Kwun Tong",
"description": "\n新手服务器,纯公益,无特权、无售卖,建议加QQ群:780252147\r\n本服务器原汁原味还原官方新手服务器玩法,无任何改。\r\n新手服务器基础常识:\r\n1.被敌方杀死后,身上只会掉落一半物体\r\n2.前哨战、强盗营地有复活点\r\n3.当基地被他人突袭后(抄家),他在你的领地范围是无法放置领地柜的,并且你的物品只会被拿走一半,意味着等敌人走后你可以用工具锤对你的家具和领地柜进行还原,减少损失。\r\n4.他人在没有领地权限时,无法掠夺你箱子里面的任何东西\r\n5.队伍最高限制4人。",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780335858,
"last_online": 1780555226,
"icon": null,
"name": "【玖月】仿官/萌新/纯净无特权/长久公益服/5.26",
"connect": "202.60.229.25:28015",
"request": "202.60.229.25:28017",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 8,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "HK",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1780216211,
"last_update": 1780555226,
"banned": false,
"wipe": 1779756362,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 697,
"language": "zh",
"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/11677464");
$data = json_decode($json, true);
var_dump($data);