Rust
[JP][PVE]天河の里Light|BPDrop|シーズン45.5|4/21-5/8 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9109906json
{
"response": {
"fps": 65,
"fps_avg": 60,
"entities_count": 148086,
"world_seed": 6738,
"world_size": 4096,
"steam_id": "90284801753745434",
"domain": null,
"id": 9109906,
"ip": "203.10.99.223",
"port": 28055,
"query": 28056,
"color": 0,
"city": "Tokyo",
"description": "![[JP][PVE]天河の里Light|BPDrop|シーズン45.5|4/21-5/8](https://villageoftenga.b-cdn.net/bnr/light_header_new.jpg)\nBPドロップ方式のサーバーです\r\n\r\n詳しいルールや仕様に関してはディスコードに参加してください。 \r\nhttps://discord.gg/tenganosato\r\n\r\n---------------------------------------\r\n●日本人専用サーバー(海外在住の方は許可制)\r\n●BOSSが湧きます\r\n●レイダブルベースあり\r\n●パトロールヘリの呼び出し方式&各種レベルあり\r\n●戦車の呼び出し方式&各種レベルあり\r\n●料理を各種作成可能(Cooking Mod)\r\n●NPCからダメージを受けますしプレイヤーが攻撃もできます(True PvE)\r\n●etc...\r\n\r\n■毎日AM5:00,17:00(JST)に2回定期再起動。\r\n■定期再起動以外にも都合により再起動をすることがあります\r\n■アイテムの補填はいかなる場合も(サーバーの再起動や不具合等のクラッシュ等によりロストした場合でも)致しません。ご了承ください。\r\n---------------------------------------\r\n〇当サーバーでは以下の行為を禁止します\r\n\r\n・迷惑行為・嫌がらせ・粘着・暴言・略奪・攻撃とみなされる行為等、他プレイヤーが不快に思う行為\r\n・他プレイヤーが攻略した物資の横取りや邪魔をすること\r\n・寝ているプレイヤーからアイテムを奪ったり、プレイヤーの死体からアイテムを奪うこと\r\n・他プレイヤーの拠点や所有物を攻撃、破壊行為、レイドすること\r\n・MPK (NPCやガチヘリ等を誘導し他プレイヤーの拠点やプレイヤーを攻撃させる行為)\r\n・チートや公式で認められていないグリッチ行為\r\n・管理者が不適切だと思う行為\r\n\r\n上記の禁止行為に該当した方はBANされることがあります。\r\n---------------------------------------",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776845001,
"score": 0,
"last_online": 1776852015,
"icon": null,
"name": "[JP][PVE]天河の里Light|BPDrop|シーズン45.5|4/21-5/8",
"connect": "203.10.99.223:28055",
"request": "203.10.99.223:28056",
"map": "Village of Tenga",
"gamemode": "Survival",
"version": "2623",
"numplayers": 29,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 74,
"add_date": 1747140969,
"last_update": 1776852015,
"banned": false,
"wipe": 1776703831,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 472,
"language": "ja",
"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.in/servers/9109906");
$data = json_decode($json, true);
var_dump($data);