Rust
[JP] RustEZ Pure PvE | No Decay | No Killing | No Raiding 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10871254json
{
"response": {
"fps": 46,
"fps_avg": 44,
"entities_count": 326024,
"world_seed": 875579057,
"world_size": 4500,
"steam_id": "90284710259519504",
"domain": null,
"id": 10871254,
"ip": "15.235.216.54",
"port": 29015,
"query": 28015,
"color": 0,
"city": "Singapore",
"description": "![[JP] RustEZ Pure PvE | No Decay | No Killing | No Raiding](https://www.rustez.com/uploads/manual/headers/server/purehead.jpg)\nPure is a well-balanced, high-performance vanilla server that offers players a pure experience so they can play the game as it's meant to be played without the fear of other players.\r\n\r\nInformation\r\n● Decay and upkeep disabled\r\n● Player and building damage disabled\r\n● Monthly wipes [Last wipe: 4/2]\r\n● Active admins and very helpful community\r\n● Inactive players removed after 10 days of inactivity\r\n\r\nFeatures\r\n● Commerce - Enjoy a rich player-driven economy.\r\n● Vehicles - Cars, minicopters, boats and hot air balloons.\r\n● Events - Organized or spontaneous events hosted by our admins for all players to enjoy.\r\n\r\nUse /help in chat for a full list of commands and helpful information.\r\n\r\nRules\r\n● No raiding, griefing or looting of any kind.\r\n● No mic or chat spam, player disrespect, racism or harassment.\r\n● No camping loot rooms, monuments or any highly concentrated areas.\r\n● You may build in caves but you must ensure safe passage for players.\r\n● No blocking waterways, building around monuments or large areas of land.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776715400,
"score": 0,
"last_online": 1776850817,
"icon": null,
"name": "[JP] RustEZ Pure PvE | No Decay | No Killing | No Raiding",
"connect": "15.235.216.54:29015",
"request": "15.235.216.54:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 15,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1768318546,
"last_update": 1776850817,
"banned": false,
"wipe": 1775152285,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1020,
"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/10871254");
$data = json_decode($json, true);
var_dump($data);