API für [US] Scrap Kings 2X | Monthly | Vanilla +
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 47,
"fps_avg": 56,
"entities_count": 117416,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286590852347921",
"domain": null,
"id": 11502396,
"ip": "66.51.96.58",
"port": 28030,
"query": 28031,
"color": 0,
"city": "Ashburn",
"description": "![[US] Scrap Kings 2X | Monthly | Vanilla +](https://i.imgur.com/B3JML73.png)\nWelcome to Scrap Kings, Join the discord to give us your feedback and help improve the server!\r\n\r\nFEATURES\r\n- Map wipes on forcewipe\r\n- BPs do not wipe\r\n- QoL Improvements such as:\r\n - Box sorter\r\n - Building workbench\r\n - Occasional mini spawns near roads\r\n - no food spoilage\r\n- Custom outpost casino\r\n- Drone marketplace and minicopter vendors at all fishing villages\r\n- Half crafting time (excluding guns/ammo/raiding supplies)\r\n\r\nCOMMANDS\r\n- /help shows the list of commands\r\n- /sil [url] while pointing at a sign to upload an image\r\n- /pop displays current player count\r\n- /time displays current in-game time\r\n- /wipe displays upcoming wipe information\r\n- /auth generates a code to link your discord\r\n- /deauth removes discord link",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779522163,
"last_online": 1780573235,
"icon": null,
"name": "[US] Scrap Kings 2X | Monthly | Vanilla +",
"connect": "66.51.96.58:28030",
"request": "66.51.96.58:28031",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207200,
"last_update": 1780573235,
"banned": false,
"wipe": 1779507519,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4938,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11502396");
$data = json_decode($json, true);
var_dump($data);