API dla Scorchline PVE | Vanilla+Events | Monthly Wipes & BP Wipes
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 54,
"fps_avg": 52,
"entities_count": 119242,
"world_seed": 1347153747,
"world_size": 4500,
"steam_id": "90286740962099221",
"domain": null,
"id": 11159800,
"ip": "66.51.96.62",
"port": 28060,
"query": 28061,
"project_id": null,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to Scorchline PVE with Multi Events Us. Active Admin. The server wipes monthly, as well as the blueprints. The server has a daily restart at 2am, Eastern Standard Time. Upkeep is 50% Cheaper. The Server is Vanilla with a few tweaks for Quality of life improvements. Stack sizes for resources are doubled, everything else is Vanilla stacksize. The Rules are, No killing, No raiding, No looting players or there boxes. 3 days before wipe day. PVP and Raiding Will be enabled. When Looting a monument, call it out in chat to claim it. More to be added to server info as I work on the server. Please enjoy the server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780945833,
"icon": null,
"name": "Scorchline PVE | Vanilla+Events | Monthly Wipes & BP Wipes",
"connect": "66.51.96.62:28060",
"request": "66.51.96.62:28061",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228140,
"last_update": 1780945833,
"banned": false,
"wipe": 1780597279,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4619,
"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/11159800");
$data = json_decode($json, true);
var_dump($data);