Rust
Rustik2. 2.4 EU/CZ/SK PVE/PVP zony/backapck/LVL/stacky के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10661189json
{
"response": {
"fps": 74,
"fps_avg": 74,
"entities_count": 125296,
"world_seed": 18709,
"world_size": 4500,
"steam_id": "90284797326557203",
"domain": null,
"id": 10661189,
"ip": "185.180.2.31",
"port": 28475,
"query": 27475,
"color": 0,
"city": "Prague",
"description": "\nServer pro pohodové hráče co rádi občas zkusí PVP v zónách\r\nDiscord https://discord.gg/GTA4p4F2BE\r\nNa serveru jsou PVP zony \r\nPluginy- Backpack\r\n - Stacksize (upravené stackovani předmětu\r\n -LVL system\r\n -Obrana základny \r\n -obrněny vlak\r\nTrailery: \r\nhttps://www.youtube.com/watch?v=H1KlZ9kc_g8\r\nhttps://www.youtube.com/watch?v=MftnKINexAY",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775154731,
"score": 0,
"last_online": 1776877821,
"icon": null,
"name": "Rustik2. 2.4 EU/CZ/SK PVE/PVP zony/backapck/LVL/stacky",
"connect": "185.180.2.31:28475",
"request": "185.180.2.31:27475",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1764544709,
"last_update": 1776877821,
"banned": false,
"wipe": 1775154703,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1822,
"language": "cs",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10661189");
$data = json_decode($json, true);
var_dump($data);