API для Dutch 7DTD server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1780177474,
"app": {
"id": 49,
"name": "7 Days to Die",
"steam_id": 251570,
"url": "7-days-to-die"
},
"color": 0,
"connect": "185.137.93.253:26900",
"country": "DE",
"domain": null,
"game": 251570,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11645426,
"ip": "185.137.93.253",
"language": "de",
"last_update": 1794767694,
"map": "Malijuvu County",
"maxplayers": 10,
"name": "Dutch 7DTD server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 26900,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 26900,
"request": "185.137.93.253:26900",
"secured": false,
"status": true,
"steam_id": "90290224627347472",
"version": "01.03.10",
"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": 1794230277,
"last_online": 1794767694,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2026,
"wipe_period": null,
"IP": "185.137.93.253",
"Ping": "-1",
"Port": "26900",
"Region": "Europe",
"SteamID": "90290224627347472",
"DayCount": "3",
"GameHost": "Dutch 7DTD server",
"GameMode": "Survival",
"GameName": "survival v",
"GameType": "7DTD",
"IsPublic": "True",
"Language": "English/dutch",
"Platform": "LinuxServer",
"UniqueId": "af7a9ac9df1f4ed6a91f3ca0046980bd",
"JarRefund": "60",
"PlayGroup": "Standalone",
"StormFreq": "100",
"WorldSize": "10240",
"DropOnQuit": "0",
"EACEnabled": "False",
"MaxPlayers": "10",
"StockFiles": "True",
"ZombieMove": "0",
"ZombiesRun": "-1",
"listentype": "d",
"AISmellMode": "2",
"BuildCreate": "False",
"DropOnDeath": "1",
"IsDedicated": "True",
"MaxChunkAge": "-1",
"RequiresMod": "False",
"SandboxCode": "AAAJABJACJADJARFAGIAIDAJBFZEBNCBOACVHBZECACCCCCPJCKECMECXBDMLDAKDBJDCJDDJDEJDFJDGJDHJDIJDJJDKJEHJDLKDTCDUCEBBECDEXGFCBETKFLCFMKFOB",
"environment": "l",
"DeathPenalty": "1",
"ModdedConfig": "True",
"XPMultiplier": "100",
"ZombieBMMove": "3",
"a2s_protocol": 17,
"AirDropMarker": "True",
"BlockDamageAI": "100",
"LandClaimSize": "41",
"LootAbundance": "200",
"SandboxPreset": "",
"ServerVersion": "V.3.10.14",
"StockSettings": "False",
"AllowCrossplay": "False",
"Architecture64": "True",
"BloodMoonRange": "0",
"CurrentPlayers": "0",
"DayLightLength": "20",
"DayNightLength": "60",
"EnemySpawnMode": "True",
"GameDifficulty": "-1",
"LandClaimCount": "5",
"BlockDamageAIBM": "100",
"EnemyDifficulty": "0",
"FreePlayerSlots": "10",
"LootRespawnDays": "5",
"ZombieFeralMove": "3",
"ZombieMoveNight": "3",
"AirDropFrequency": "2",
"BiomeProgression": "True",
"BloodMoonWarning": "1",
"CombinedNativeId": "",
"SanctionsIgnored": "False",
"ServerVisibility": "2",
"ServerWebsiteURL": "",
"ZombieFeralSense": "0",
"players_complete": true,
"BedrollExpiryTime": "100",
"BlockDamagePlayer": "150",
"CombinedPrimaryId": "EOS_00020572e03c4a9287245afcfbad3aa4",
"CurrentServerTime": "345960",
"LandClaimDeadZone": "30",
"MaxSpawnedAnimals": "100",
"MaxSpawnedZombies": "64",
"PlayerKillingMode": "0",
"ServerDescription": "Dutch 7DTD server modded",
"BloodMoonFrequency": "7",
"LandClaimDecayMode": "0",
"BedrollDeadZoneSize": "15",
"BloodMoonEnemyCount": "12",
"IsPasswordProtected": "True",
"LandClaimExpiryTime": "7",
"AllowSpawnNearFriend": "2",
"PartySharedKillRange": "100",
"LandClaimOfflineDelay": "0",
"ShowFriendPlayerOnMap": "True",
"AllowSpawnNearBackpack": "True",
"BlockDurabilityModifier": "-1",
"QuestProgressionDailyLimit": "10",
"ServerLoginConfirmationText": "Welcome to the server. Everyone is happy with you at this server!",
"LandClaimOnlineDurabilityModifier": "4",
"LandClaimOfflineDurabilityModifier": "4"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11645426");
$data = json_decode($json, true);
var_dump($data);