# pupbot-plugin-mcmotd
![npm (scoped)](https://img.shields.io/npm/v/pupbot-plugin-mcmotd?color=527dec&label=pupbot-plugin-mcmotd&style=flat-square)
[![dm](https://shields.io/npm/dm/pupbot-plugin-mcmotd?style=flat-square)](https://npm.im/pupbot-plugin-mcmotd)
<br>

## 简介
快速查询`我的世界`服务器信息，支持**基岩版/java版**.<br>
## 默认指令
- `!motd` 查看帮助

```
使用帮助:
!motd <服务器IP> (Java版)
!motdpe <服务器IP> (基岩版) 
!on <服务器IP> (Java版玩家在线列表)
(查在线列表不好使)
```

例子:
```js
!motd mc.hypixel.net
默认端口25565或19132可以不用加
//!motd mc.hypixel.net:25565
```
返回:
```js
[MCJE服务器信息]
协议版本：575
游戏版本：Requires MC 1.8 / 1.19
描述文本：                Hypixel Network [1.8-1.19]
          HOLIDAY SALE | UP TO §l85% §lOFF!
在线人数：24094/100000
存档名称：undefined
游戏延迟：199ms
```
***
## 安装

对机器人发送
```js
/plugin add mcmotd
```
启用插件
```js
/plugin on mcmotd
```