Locked & Loaded [EU] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286305323910164",
"domain": null,
"id": 11501447,
"ip": "193.25.252.90",
"port": 28226,
"query": 28227,
"color": 0,
"city": "Frankfurt am Main",
"description": "![Locked & Loaded [EU]](https://www.reloadedservers.co.uk/reloaded-shield.png)\n**Locked & Loaded [EU] Rules**\r\n\r\n- Respect all players – no racism, hate speech, or harassment\r\n- No cheating, scripting, or exploiting bugs\r\n- No spam, advertising, or mic abuse\r\n- English only in global chat\r\n- No actions or builds that cause server lag\r\n- No abusing safe zones, monuments, or terrain glitches\r\n- Follow team limits (if active)\r\n- Admins have final say\r\n- Use common sense at all times",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780581226,
"last_online": 1779947428,
"icon": null,
"name": "Locked & Loaded [EU]",
"connect": "193.25.252.90:28226",
"request": "193.25.252.90:28227",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207172,
"last_update": 1780581226,
"banned": false,
"wipe": 1778569924,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11180,
"language": "de",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11501447");
$data = json_decode($json, true);
var_dump($data);