API dla UK | Rusty Plums | PvP | 10x | Events | Loot+ | MyMini | Offlin
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 54,
"fps_avg": 57,
"entities_count": 118144,
"world_seed": 196591,
"world_size": 4500,
"steam_id": 90286590951610380,
"domain": null,
"id": 11511310,
"ip": "66.51.97.53",
"port": 28030,
"query": 28031,
"color": 0,
"city": "City of London",
"description": "\n..::Welcome to RUSTY PLUMS PvP server::..\r\n\r\nMonthly wipe, first Thurs of the month @7pm GMT.\r\n\r\nDeep Sea is active on this server\r\n\r\nThe server is set at 10x\r\n\r\n..::SERVER FEATURES::..\r\nSkinbox\r\nOffline Protection\r\nAuto Auth (TC's-Turrets-Samsites-Locks etc)\r\nFurnace Upgrades\r\nGrid Power\r\nWater Bases\r\nBasements\r\nAuto Farm\r\nBackpack\r\nChest Stacks\r\nInsta Craft\r\nFurnace Stacks\r\nHomes\r\nKits\r\n50% Upkeep\r\nSpawn Heli\r\nEvents Sputnik-Convoy-raidable Bases-Armored Train-Radtown-Airfield + more\r\nVote Day\r\nMany QOL plugins\r\nVIP PERKS are available\r\nDiscord is available\r\nREAD THE RULES ON ENTERING THE SERVER\r\n\r\n\r\nAdmin is Dickencider",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779896607,
"last_online": 1780591236,
"icon": null,
"name": "UK | Rusty Plums | PvP | 10x | Events | Loot+ | MyMini | Offlin",
"connect": "66.51.97.53:28030",
"request": "66.51.97.53:28031",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353841,
"last_update": 1780591236,
"banned": false,
"wipe": 1778178182,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5075,
"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/11511310");
$data = json_decode($json, true);
var_dump($data);