API dla [US] Redzone101 - PVP|Max8|NoCraft|Random Gather|Kits
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 45,
"fps_avg": 44,
"entities_count": 91753,
"world_seed": 1861606390,
"world_size": 4250,
"steam_id": "90286609849854976",
"domain": null,
"id": 6459158,
"ip": "209.126.2.184",
"port": 28019,
"query": 28020,
"color": 0,
"city": "St Louis",
"description": "![[US] Redzone101 - PVP|Max8|NoCraft|Random Gather|Kits](https://i.imgur.com/Dw4nTbG.png)\nWelcome to Redzone101!\r\n\r\n• Random Gather\r\n• Max Team: 8\r\n• AlphaLoot Custom Loot Tables\r\n• No Crafting | No Tech Tree\r\n• Clans | Kits | Backpacks\r\n• XPerience | PlayerRanks | Virtual Shop\r\n• Events\r\n• Players receive 5 virtual cash every 10 minutes they play!\r\n• VIP Perks with access to more plugin's\r\n• SignArtist and more\r\n\r\nVisit (https://zonegaming.tebex.io/) for VIP\r\n Visit (https://dsc.gg/zonegaming) for Discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780606462,
"last_online": 1780608030,
"icon": null,
"name": "[US] Redzone101 - PVP|Max8|NoCraft|Random Gather|Kits",
"connect": "209.126.2.184:28019",
"request": "209.126.2.184:28020",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1730141765,
"last_update": 1780608030,
"banned": false,
"wipe": 1780598353,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5700,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/6459158");
$data = json_decode($json, true);
var_dump($data);