Rust
PUNK [EU] | NO DECAY | FREE HELIS BOATS 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11189144json
{
"response": {
"fps": 113,
"fps_avg": 112,
"entities_count": 115949,
"world_seed": 124545,
"world_size": 4500,
"steam_id": "90284790718954511",
"domain": null,
"id": 11189144,
"ip": "65.108.238.15",
"port": 60400,
"query": 60402,
"color": 0,
"city": "Helsinki",
"description": "![PUNK [EU] | NO DECAY | FREE HELIS BOATS](https://i.gyazo.com/d6732aefa33f73b15918640d85a7690c.png)\nhttps://discord.gg/ewW7t3GRjn (discord) \r\n - No decay/upkeep \r\n - Only forced wipes monthly \r\n - Rules of survival (admins can always kick/ban based on your behaviour) \r\n - Helis and boats spawn in map \r\n - Lower decay on helis \r\n - English only in general chat \r\n\r\n No rules in regarding to gameplay other than prohibiting another player from progressing for the sake of it, this includes excessive door camping or repeatedly raiding the same player. Everyone deserves to have fun! Any issue will be dealt with aon case by case basis by admin team, plase see Discord for extensive rules list. \r\n Full rules on Discord: https://discord.gg/ewW7t3GRjn",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775607202,
"score": 0,
"last_online": 1776828022,
"icon": null,
"name": "PUNK [EU] | NO DECAY | FREE HELIS BOATS",
"connect": "65.108.238.15:60400",
"request": "65.108.238.15:60402",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699033,
"last_update": 1776828022,
"banned": false,
"wipe": 1775170766,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4727,
"language": "fi",
"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/11189144");
$data = json_decode($json, true);
var_dump($data);