一个适用于监控多服务器的 Motd 工具。
Project description
nonebot-plugin-mc-watcher
✨ 一款基于 Motd 监控多个 Minecraft 服务器的 QQ 机器人插件。 ✨
📖 介绍
本插件可以帮助你监控多个 Minecraft 服务器的状态,并通过 QQ 机器人发送提醒,并且无需额外装任何插件或模组。目前已经实现的功能如下:
/mc或/minecraft指令,查看服务器状态。- 监控多个 Minecraft 服务器的状态,并且发送提醒。
💿 安装
你可以使用 nb plugin install nonebot_plugin_mc_watcher 来安装此插件。
⚙️ 配置
在 NoneBot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| minecraft_servers | 是 | 无 | 要监控的服务器名称和对应的地址(一个字典) |
| minecraft_update_interval | 否 | 30 | 向 Minecraft 服务器发送 Motd 请求的间隔 |
| minecraft_broadcast_server | 否 | True | 是否广播服务器开启/关闭消息 |
| minecraft_broadcast_player | 否 | False | 是否广播服务器玩家离开/加入消息 |
| minecraft_broadcast_groups | 否 | [] | 广播的 QQ 群号列表(若为空则上面的两个不生效) |
🎉 使用
可以在任意群里发送 /mc 或 /minecraft 指令来查看所有服务器状态。
指令表
| 名称 | 权限 | 说明 |
|---|---|---|
| mc / minecraft | 无 | 查看所有的服务器状态 |
🙏 鸣谢
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_mc_watcher-1.0.6.tar.gz.
File metadata
- Download URL: nonebot_plugin_mc_watcher-1.0.6.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af0e788249fa79fa92053dc186d9ea169374a41c1fb8602a3aaec4567e1bd20a
|
|
| MD5 |
f263e17076920e4dc84b1ab39d4f22ec
|
|
| BLAKE2b-256 |
a225a62b8d3602874fd89a64f969604ae577c4bf31186821b30fa90c75775e42
|
File details
Details for the file nonebot_plugin_mc_watcher-1.0.6-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_mc_watcher-1.0.6-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d61e9bdf2b865e3133d0cb055e012c87ba517b4f922a4ecb91ee1e50a9f71e68
|
|
| MD5 |
4fe6d6af009c3da6b4f8e5bae3f201aa
|
|
| BLAKE2b-256 |
df72086ac2bc36c5fd0af6810db7ea72043162ff378be981751a360f5dc4e4de
|