BattleZone.gg — Pure PvE | Vanilla+ | Raidable Bases için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 150684,
"world_seed": 669039719,
"world_size": 4000,
"steam_id": "90286596076108827",
"domain": null,
"id": 11717887,
"ip": "66.51.99.137",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to BattleZone.gg's Pure PVE Server! Enjoy classic Rust in a casual, easy going PvE environment. There are a few QoL mods installed to improve protected items & lock events to players. There are also free spawning raidable bases all over the map for your pleasure!!\r\n\r\nRules\r\n- No Killing\r\n- No Stealing\r\n- No Raiding\r\n- Be kind & helpful\r\n- Take turns on monuments and don't hog them\r\n- 1 Minute locked crate timer",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780324091,
"last_online": 1780590630,
"icon": null,
"name": "BattleZone.gg — Pure PvE | Vanilla+ | Raidable Bases",
"connect": "66.51.99.137:28015",
"request": "66.51.99.137:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1780324091,
"last_update": 1780590630,
"banned": false,
"wipe": 1778176998,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2082,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11717887");
$data = json_decode($json, true);
var_dump($data);