Scrapland x10000000 |BATTLEFIELD|KITS|TP|CLANS|SKINBOX|PVP| 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"modded": true,
"fps": 25,
"fps_avg": 25,
"entities_count": 228454,
"world_seed": 223340405,
"world_size": 3750,
"steam_id": "90286547953736729",
"domain": null,
"id": 7659020,
"ip": "104.143.2.86",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Dallas",
"description": "\nScrapland.gg - x1000000\r\nThe best MillionX battlefield server!\r\n\r\n• Backpacks\r\n• Teleportation\r\n• Custom Ranks\r\n• Shop\r\n• Personal Minicopter\r\n• Skinbox\r\n• Clans\r\n• Ultra performance\r\n• Active Admins\r\n• Kits\r\n• Gambling\r\n• Custom UI's\r\n\r\n• Instant Bug Patches\r\n• Updates every week!\r\n• Amazing events every other weekend!\r\n\r\nWipes 2 times per week!\r\nMonday & Friday @ 8 PM CEST\r\n\r\nWebsite: @SCRAPLAND.GG | Discord: @discord.gg/SCRAPLAND",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194329,
"last_online": 1780521615,
"icon": null,
"name": "Scrapland x10000000 |BATTLEFIELD|KITS|TP|CLANS|SKINBOX|PVP|",
"connect": "104.143.2.86:28015",
"request": "104.143.2.86:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 240,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 99,
"add_date": 1739549733,
"last_update": 1780521615,
"banned": false,
"wipe": 1780337062,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 133,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7659020");
$data = json_decode($json, true);
var_dump($data);