API для nn [PVE-2] - 2x Modded
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 53,
"fps_avg": 51,
"entities_count": 145477,
"world_seed": 597409907,
"world_size": 5000,
"steam_id": "90286580806146048",
"domain": null,
"id": 11731607,
"ip": "66.51.99.41",
"port": 28010,
"query": 28011,
"color": 0,
"city": "Dallas",
"description": "![nn [PVE-2] - 2x Modded](https://www.anoners.com/tugboat_nn_pve.png)\nWelcome to the Noob Navy 2x Modded PVE server.\r\n\r\nThe server map wipes monthly with a Blueprint wipe on odd months.\r\nNo Decay or Upkeep on buildings, horses, or tug boats. Helicopters have standard decay outdoors and doubled decay when covered. Other vehicles have standard decay.\r\nPurge is announced on the Tuesday just before forced wipe.\r\n\r\nBasic Server Rules:\r\n• No killing or looting of players or sleepers.\r\n• No raiding or looting of player buildings or deployables.\r\n• Call out looting of major monuments, PvE Events, and random air drops when you arrive and is safe to do so.\r\n• If you Join together, you leave together. Friends of banned players will be banned, too.\r\n\r\nAdditional rules and translations can be found on the Noob Navy Discord.\r\nServer Commands:\r\n!help • !rules • !discord • !wipe • !pop • !purge",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780544065,
"last_online": 1780573234,
"icon": null,
"name": "nn [PVE-2] - 2x Modded",
"connect": "66.51.99.41:28010",
"request": "66.51.99.41:28011",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780411278,
"last_update": 1780573234,
"banned": false,
"wipe": 1780447254,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6101,
"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/11731607");
$data = json_decode($json, true);
var_dump($data);