The Sanctuary | PVE | Never Wipe | Kits के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 48,
"fps_avg": 45,
"entities_count": 180969,
"world_seed": 352165132,
"world_size": 5500,
"steam_id": "90286576215140357",
"domain": null,
"id": 11511363,
"ip": "145.40.168.101",
"port": 28015,
"query": 28016,
"color": 0,
"city": "New Haw",
"description": "Welcome to The Sanctuary!\r\n\r\nThis is a PVE server with NPCs and a never wipe* policy, \r\nStructures belonging to players that have been inactive for \r\nlonger than 1 month will become raidable for anyone on the server\r\n\r\n● Kits\r\n● Shop\r\n● Skill Levels\r\n● Events\r\n● Custom NPCs\r\n● Custom Monuments\r\n \r\n*The only instance where we may have to wipe is on a major update that affects terrain generation. In this scenario we will run a vote on our Discord server wether to fully wipe or just wipe the map bases.\r\nAuto Restart at 2AM GMT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780535664,
"last_online": 1780575041,
"icon": null,
"name": "The Sanctuary | PVE | Never Wipe | Kits",
"connect": "145.40.168.101:28015",
"request": "145.40.168.101:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353842,
"last_update": 1780575041,
"banned": false,
"wipe": 1773424783,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5211,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11511363");
$data = json_decode($json, true);
var_dump($data);