API dla Project PVE | RaidableBases | Events
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 10,
"fps_avg": 10,
"entities_count": 130807,
"world_seed": 243248384,
"world_size": 4500,
"steam_id": "90286876673995806",
"domain": null,
"id": 11759305,
"ip": "162.19.95.94",
"port": 28015,
"query": 28014,
"project_id": null,
"color": 0,
"city": "Gravelines",
"description": "\nProject PVE! A server made by a developer duo. \r\n Our goal is to make a balance in our rust server between fun PVE events and interactions, and at times intense PVP fights. \r\n • RaidableBases \r\n • NPCs at monuments \r\n • Custom Bosses \r\n • Custom Items \r\n • Kits \r\n • Tons of Events \r\n • Skill Tree \r\n We have custom-made raidable bases. Our own items in the game to make it more fun and engaging to loot, it is up to you to find out what these items are! \r\n Leveling system and custom bosses and much much more! \r\n We have an active developer team and suggestions are open! Discord: https://discord.gg/wk6wyGXvgx \r\n \r\n Powered by EthoByte.net",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780931707,
"last_online": 1781358031,
"icon": null,
"name": "Project PVE | RaidableBases | Events",
"connect": "162.19.95.94:28015",
"request": "162.19.95.94:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931707,
"last_update": 1781358031,
"banned": false,
"wipe": 1780596706,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5953,
"language": "fr",
"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/11759305");
$data = json_decode($json, true);
var_dump($data);