API dla NEVERLAND X3 PVE, custom weapons, raidable bases, abandoned bas
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 1,
"fps_avg": 1,
"entities_count": 113987,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286539361192990",
"domain": null,
"id": 11435534,
"ip": "212.117.170.252",
"port": 2432,
"query": 2433,
"project_id": null,
"color": 0,
"city": "Luxembourg",
"description": "\n\r\nWelcome to the Official Neverland PvE/PvP Rust server!Some custom weapons found in heli signals and bradley dropsDifferent levels of spawnable raidbases!(they also spawn throughout the map randomly)Personal spawnable Mini!Base can be raided after 3 DAYS beign offline (vip grants you more offline time)Buy and call in personal Heli's / Bradleys!Server purge starts 24 hours for server wipe, all hell will break loose!Active Admins, we suggest to join our Discord for questions / problems / suggestions and more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781360589,
"last_online": 1780597229,
"icon": null,
"name": "NEVERLAND X3 PVE, custom weapons, raidable bases, abandoned bas",
"connect": "212.117.170.252:2432",
"request": "212.117.170.252:2433",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "LU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977193,
"last_update": 1781360589,
"banned": false,
"wipe": 1779361948,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10297,
"language": "lb",
"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/11435534");
$data = json_decode($json, true);
var_dump($data);