Rust
[SEA/KR/JP] Rusty Malaysia | Biweekly | Vanilla 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10684851json
{
"response": {
"steam_id": 90284789806972930,
"domain": null,
"id": 10684851,
"ip": "139.99.124.11",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Singapore",
"description": "![[SEA/KR/JP] Rusty Malaysia | Biweekly | Vanilla](https://www.dropbox.com/scl/fi/cpu9drtxbe3v8tjjyctb6/sea-rustymalaysia.png?rlkey=uz11laycck16u8fuhcgcj5xyt&st=kwdud585&dl=1)\nNON PLAYING ADMIN ACTIVE \r\n Be Nice and Politely ! \r\n RULES \r\n Max team of 6 for Squads Server. \r\n Teaming, Cheating will be banned! (Teaming ban will be on admins discretion depending on the server impact of the team) Can be Perma-ban or timed ban. \r\n Using macros/scripts to lessen recoil will be considered cheating. \r\n Team of cheaters will be banned. \r\n Toxic voice/chat will be time-banned/muted. \r\n No to racism and discrimination. (Admins discretion to mute players involved depending on the severity of the offense) \r\n VAC/Game Bans within 100 days will automatically be banned from the servers. \r\n VAC/Game Bans that happened while playing on the server will automatically be PERMA-BANNED. \r\n Promoting other servers will be banned. \r\n Exposing personal information of other players will not be taken lightly and will likely cause you Timed-ban. (Names, Birthdays, Addresses, etc..) \r\n Exposing ADMIN's personal information will not be taken lightly and will likely cause you to be banned. This includes mentioning ADMIN's name in chat. \r\n Admins will rename players that have bad words names or something similar \r\n Accusations against ADMINS/MODS will not be taken lightly. Spreading of false information about the admins will be subject to time-ban or perma-ban depending on severity of the offense. You will first receive a warning and if you still continue to accuse the ADMINS/MODS, we will have you banned. \r\n Respect Admins \r\n Be nice and we will try our best to resolve the issue. \r\n Threats of any kind will not be taken lightly and will result in a permanent ban.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776813195,
"score": 0,
"last_online": 1776850827,
"icon": null,
"name": "[SEA/KR/JP] Rusty Malaysia | Biweekly | Vanilla",
"connect": "139.99.124.11:28015",
"request": "139.99.124.11:28017",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 4,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1764589601,
"last_update": 1776850827,
"banned": false,
"wipe": 1776266223,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2240,
"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/10684851");
$data = json_decode($json, true);
var_dump($data);