https://github.com/nats-ji/yunzai-dynmap-stats
在Yunzai机器人中通过Dynmap获取Minecraft服务器状态。
https://github.com/nats-ji/yunzai-dynmap-stats
minecraft yunzai
Last synced: 3 months ago
JSON representation
在Yunzai机器人中通过Dynmap获取Minecraft服务器状态。
- Host: GitHub
- URL: https://github.com/nats-ji/yunzai-dynmap-stats
- Owner: Nats-ji
- License: mit
- Created: 2024-05-06T11:19:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-07T01:48:25.000Z (about 1 year ago)
- Last Synced: 2025-01-16T23:12:29.693Z (5 months ago)
- Topics: minecraft, yunzai
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yunzai-dynmap-stats
在Yunzai机器人中通过[Dynmap](https://github.com/webbukkit/dynmap)获取Minecraft服务器状态。
## 安装
```sh
git clone --depth=1 https://github.com/Nats-ji/yunzai-dynmap-stats ./plugins/dynmap-stats/
```## 设置
把 `configs/default_configs/config.yaml` 复制到 `configs/config.yaml`可配置项目:
```yaml
# Dynmap的网址
url:# 显示游戏时间
showServerTime: true# 显示游戏天气
showWeather: true# 显示玩家生命
showPlayerStats: true
```## 使用
查看服务器状态:`#MC状态`
> MC服务器当前有2人在线。
> 在线玩家:jeb(20❤️,6🦺)、Notch(20❤️,0🦺)。
> 服务器时间:14:26。
> 服务器天气:晴天。