API для SURVIVAL OF THE DEAD
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1783799532,
"app": {
"id": 49,
"name": "7 Days to Die",
"steam_id": 251570,
"url": "7-days-to-die"
},
"color": 0,
"connect": "69.164.250.174:27126",
"country": "US",
"domain": null,
"game": 251570,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11989900,
"ip": "69.164.250.174",
"language": "en",
"last_update": 1794770711,
"map": "Leberu Mountains",
"maxplayers": 8,
"name": "SURVIVAL OF THE DEAD",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27126,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27126,
"request": "69.164.250.174:27126",
"secured": false,
"status": true,
"steam_id": "90295853040356367",
"version": "01.03.40",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Даллас",
"description": null,
"disabled_modules": [],
"gamemode": "7 Days To Die",
"hidden": false,
"last_offline": 1793035217,
"last_online": 1794770711,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2708,
"wipe_period": null,
"IP": "69.164.250.174",
"Ping": "-1",
"Port": "27126",
"Region": "NorthAmericaEast",
"SteamID": "90295853040356367",
"DayCount": "3",
"GameHost": "SURVIVAL OF THE DEAD",
"GameMode": "Survival",
"GameName": "SURVIVALOFTHEDEAD",
"GameType": "7DTD",
"IsPublic": "True",
"Language": "English",
"Platform": "LinuxServer",
"UniqueId": "cb62d927d85e44bb9990e7370e5cd1d2",
"JarRefund": "60",
"PlayGroup": "Standalone",
"StormFreq": "50",
"WorldSize": "8192",
"DropOnQuit": "0",
"EACEnabled": "True",
"MaxPlayers": "8",
"StockFiles": "True",
"ZombieMove": "0",
"ZombiesRun": "-1",
"listentype": "d",
"AISmellMode": "0",
"BuildCreate": "False",
"DropOnDeath": "3",
"IsDedicated": "True",
"MaxChunkAge": "-1",
"RequiresMod": "False",
"SandboxCode": "AAAIABIAEJAKEAJDASIENFBAAAZABBDGFDGGDGEBBDCGHJAUBFZFBTFGDFGBFANBAOBBJABKABLABNABOABZFCABCCBCFBCHACOHCPJCKDCLECMECXBCYBDMKDAKDBJDEJDFLDGKDIKDKKEHKDLODXKDNLDOLDYLDPBELCDTBDUCDVFDZIEBBECCEDAEEBEFCEGBFWBFXCFYBGIAAVCEXGFCBCNEFEEFIEFDBFHBFAJFBCFFKESDETAERFFPG",
"environment": "l",
"DeathPenalty": "0",
"ModdedConfig": "False",
"XPMultiplier": "200",
"ZombieBMMove": "0",
"a2s_protocol": 17,
"AirDropMarker": "True",
"BlockDamageAI": "100",
"LandClaimSize": "41",
"LootAbundance": "200",
"SandboxPreset": "",
"ServerVersion": "V.3.40.6",
"StockSettings": "False",
"AllowCrossplay": "True",
"Architecture64": "True",
"BloodMoonRange": "0",
"CurrentPlayers": "0",
"DayLightLength": "20",
"DayNightLength": "120",
"EnemySpawnMode": "True",
"GameDifficulty": "-1",
"LandClaimCount": "5",
"BlockDamageAIBM": "100",
"EnemyDifficulty": "0",
"FreePlayerSlots": "8",
"LootRespawnDays": "5",
"ZombieFeralMove": "0",
"ZombieMoveNight": "0",
"AirDropFrequency": "1",
"BiomeProgression": "True",
"BloodMoonWarning": "1",
"CombinedNativeId": "",
"SanctionsIgnored": "False",
"ServerVisibility": "2",
"ServerWebsiteURL": "",
"ZombieFeralSense": "0",
"players_complete": true,
"BedrollExpiryTime": "45",
"BlockDamagePlayer": "100",
"CombinedPrimaryId": "EOS_00025446e3124235bcde1d29bd18c30f",
"CurrentServerTime": "929001",
"LandClaimDeadZone": "10",
"MaxSpawnedAnimals": "50",
"MaxSpawnedZombies": "64",
"PlayerKillingMode": "2",
"ServerDescription": "SURVIVE",
"BloodMoonFrequency": "7",
"LandClaimDecayMode": "2",
"BedrollDeadZoneSize": "15",
"BloodMoonEnemyCount": "16",
"IsPasswordProtected": "True",
"LandClaimExpiryTime": "7",
"AllowSpawnNearFriend": "1",
"PartySharedKillRange": "100",
"LandClaimOfflineDelay": "0",
"ShowFriendPlayerOnMap": "True",
"AllowSpawnNearBackpack": "True",
"BlockDurabilityModifier": "-1",
"QuestProgressionDailyLimit": "-1",
"ServerLoginConfirmationText": "",
"LandClaimOnlineDurabilityModifier": "4",
"LandClaimOfflineDurabilityModifier": "4"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11989900");
$data = json_decode($json, true);
var_dump($data);