API dla Mines of Moria - PVE - No raiding/killing/stealing
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 81,
"fps_avg": 80,
"entities_count": 147049,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90286589677777932",
"domain": null,
"id": 566907,
"ip": "51.81.218.89",
"port": 28215,
"query": 28218,
"color": 0,
"city": "Hillsboro",
"description": "\nWelcome to Mine of Moria, a friendly PVE server with active admins. A great place to learn the game of Rust!\r\n\r\nRules:\r\n -No killing, stealing, or looting\r\n -No raiding/Griefing\r\n -Don't enter other bases without permission\r\n\r\nDecay at 50%\r\n\r\nDiscord Channel invite link - https://discord.gg/thkVWgX7Fv",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780170813,
"last_online": 1780583432,
"icon": null,
"name": "Mines of Moria - PVE - No raiding/killing/stealing",
"connect": "51.81.218.89:28215",
"request": "51.81.218.89:28218",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1668889487,
"last_update": 1780583432,
"banned": false,
"wipe": 1778178088,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1596,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/566907");
$data = json_decode($json, true);
var_dump($data);