API dla NEVERLAND X3 PVE, custom weapons, raidable bases, abandoned bas
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 100,
"fps_avg": 93,
"entities_count": 138419,
"world_seed": 697512345,
"world_size": 4250,
"steam_id": "90286950893456389",
"domain": null,
"id": 11759365,
"ip": "194.50.234.181",
"port": 28310,
"query": 28245,
"project_id": null,
"color": 0,
"city": "City of London",
"description": "\nWelcome to the Official Neverland PvE/PvP Rust server! \r\n \r\n Some custom weapons found in heli signals and bradley drops \r\n \r\n Different levels of spawnable raidbases!(they also spawn throughout the map randomly) \r\n Personal spawnable Mini! \r\n Base can be raided after 3 DAYS beign offline (vip grants you more offline time) \r\n Buy and call in personal Heli's / Bradleys! \r\n Server purge starts 24 hours for server wipe, all hell will break loose! \r\n Active Admins, we suggest to join our Discord for questions / problems / suggestions and more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781312631,
"last_online": 1781343027,
"icon": null,
"name": "NEVERLAND X3 PVE, custom weapons, raidable bases, abandoned bas",
"connect": "194.50.234.181:28310",
"request": "194.50.234.181:28245",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931710,
"last_update": 1781343027,
"banned": false,
"wipe": 1780597490,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5940,
"language": "en",
"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/11759365");
$data = json_decode($json, true);
var_dump($data);