API для California 2 | 10x | TPA | Home |
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794888768,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "66.51.99.161:28005",
"country": "US",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": "https://i.imgur.com/IulM8nr_d.webp?maxwidth=760&fidelity=grand",
"id": 20214311,
"ip": "66.51.99.161",
"language": "en",
"last_update": 1794949998,
"map": "California2",
"maxplayers": 69,
"name": "California 2 | 10x | TPA | Home |",
"numplayers": 0,
"official": null,
"points": 30,
"port": 28005,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 28005,
"request": "66.51.99.161:28005",
"secured": true,
"status": true,
"steam_id": "85568392935723517",
"version": "3.26.3.15",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Даллас",
"description": null,
"disabled_modules": [],
"gamemode": "Semi Vanilla Arid Reborn 5x PVP",
"hidden": false,
"last_offline": null,
"last_online": 1794949998,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1382,
"wipe_period": null,
"Cfg_0": "Items.Spawn_Chance=0.25",
"Cfg_1": "Items.Despawn_Dropped_Time=700",
"Cfg_2": "Items.Respawn_Time=850",
"Cfg_3": "Items.Quality_Multiplier=0.9",
"Cfg_4": "Items.Gun_Bullets_Full_Chance=0.6",
"Cfg_5": "Items.Gun_Bullets_Multiplier=0.9",
"Cfg_6": "Items.Magazine_Bullets_Full_Chance=0.6",
"Cfg_7": "Items.Has_Durability=F",
"Cfg_8": "Items.Default_Spawns_At_Full_Quality=T",
"Cfg_9": "Items.Clothing_Has_Durability=F",
"Mod_0": "3707778928,3711646503",
"Cfg_10": "Items.Weapons_Have_Durability=F",
"Cfg_11": "Vehicles.Respawn_Time=10000",
"Cfg_12": "Vehicles.Max_Instances_Medium=36",
"Cfg_13": "Vehicles.Max_Instances_Large=85",
"Cfg_14": "Vehicles.Max_Instances_Insane=85",
"Cfg_15": "Vehicles.Min_Natural_Vehicles=80",
"Cfg_16": "Zombies.Spawn_Chance=0.25",
"Cfg_17": "Zombies.Loot_Chance=0.3",
"Cfg_18": "Zombies.Damage_Multiplier=0.75",
"Cfg_19": "Zombies.Armor_Multiplier=1.2",
"Cfg_20": "Zombies.Min_Drops=3",
"Cfg_21": "Zombies.Max_Drops=5",
"Cfg_22": "Zombies.Min_Mega_Drops=20",
"Cfg_23": "Zombies.Max_Mega_Drops=30",
"Cfg_24": "Zombies.Min_Boss_Drops=100",
"Cfg_25": "Zombies.Max_Boss_Drops=105",
"Cfg_26": "Zombies.Beacon_Max_Rewards=65",
"Cfg_27": "Zombies.Beacon_Max_Participants=4",
"Cfg_28": "Zombies.Beacon_Rewards_Multiplier=165",
"Cfg_29": "Players.Health_Default=90",
"Cfg_30": "Players.Food_Use_Ticks=320",
"Cfg_31": "Players.Water_Use_Ticks=350",
"Cfg_32": "Players.Leg_Regen_Ticks=950",
"Cfg_33": "Players.Can_Hurt_Legs=F",
"Cfg_34": "Players.Can_Start_Bleeding=F",
"Cfg_35": "Players.Spawn_With_Stamina_Skills=T",
"Cfg_36": "Objects.Resource_Drops_Multiplier=4.5",
"Cfg_37": "Events.Airdrop_Frequency_Min=0.5",
"Cfg_38": "Events.Airdrop_Frequency_Max=0.6",
"Cfg_39": "Events.Airdrop_Speed=128",
"Cfg_40": "Events.Airdrop_Force=8.5",
"Cfg_41": "Gameplay.Satellite=T",
"Cfg_42": "Gameplay.Compass=T",
"Cfg_43": "Gameplay.Friendly_Fire=T",
"Cfg_44": "Gameplay.Timer_Exit=15",
"Cfg_45": "Gameplay.Max_Group_Members=5",
"Cfg_46": "Gameplay.ThirdPerson_RecoilMultiplier=2",
"Cfg_47": "Gameplay.ThirdPerson_SpreadMultiplier=2",
"rocket": "4.9.3.18",
"Cfg_Count": "48",
"Mod_Count": "1",
"essversion": "999.82.41.51",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "ImperialPluginsLoader,uEssentials",
"players_complete": true,
"Browser_Desc_Hint": "Semi Vanilla Arid Reborn 5x PVP",
"Browser_Desc_Full_Count": "1",
"Browser_Desc_Full_Line_0": "VFBBIHwgSG9tZSA="
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20214311");
$data = json_decode($json, true);
var_dump($data);