Rust
Rusticated.com - US Premium Long 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5616363json
{
"response": {
"fps": 40,
"fps_avg": 40,
"entities_count": 299222,
"world_seed": 458749847,
"world_size": 4255,
"steam_id": "90284183027045393",
"domain": null,
"id": 5616363,
"ip": "185.248.134.85",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nMonthly Map & BP WIPES\r\nBuy SkipQueue at: www.rusticated.com/vip\r\nDiscord: www.rusticated.com/discord\r\n\r\nPlease follow the rules below: \r\n- English in chat \r\n- No Racism, Homophobia, Harassment or Excessive Toxicity \r\n- No Advertising \r\n- Any form of cheats / hacking is not allowed \r\n- Staff have final say, being toxic to staff will get you automatically removed \r\n- Any association with a gamebanned rust account or playing with a user with a old gamebanned rust account will cause you to be banned",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775214131,
"score": 0,
"last_online": 1775906412,
"icon": null,
"name": "Rusticated.com - US Premium Long",
"connect": "185.248.134.85:28010",
"request": "185.248.134.85:28015",
"map": "Rusticated Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 56,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 78,
"add_date": 1723694957,
"last_update": 1775906412,
"banned": false,
"wipe": 1775151747,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 594,
"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/5616363");
$data = json_decode($json, true);
var_dump($data);