API dla Misfits PVP server! 10x stack sizes, and gather rates.
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 89161,
"world_seed": 563985573,
"world_size": 4000,
"steam_id": "90286584604444703",
"domain": null,
"id": 10939463,
"ip": "66.51.99.77",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to the Misfits PVP Server. Max team limit = 8. \r\n 10x stack sizes, and 10x gather/pickup rates for wood, ore and hemp.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780253596,
"last_online": 1780588235,
"icon": null,
"name": "Misfits PVP server! 10x stack sizes, and gather rates.",
"connect": "66.51.99.77:28015",
"request": "66.51.99.77:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768494596,
"last_update": 1780588235,
"banned": false,
"wipe": 1778187747,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4092,
"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/10939463");
$data = json_decode($json, true);
var_dump($data);