mirai-console-jhr-plugin/README.md
2022-01-14 21:44:20 +08:00

29 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# J Horse Racing
## 一个简单的赛马插件
### 赛马指令
- `开启` - 在本群中启用赛马功能(需管理身份)
- `关闭` - 在本群中禁用赛马功能(需管理身份)
- `签到` - 获得签到奖励(可配置)
- `赛马` - 比赛开盘
- `马[1-5] \d+` - 押n号马m币 例押马5#1000
- `开始` - 开始进行比赛
- `结束` - 结束进行中的比赛
- `查询` - 查询余额(指令可配置)
- `增加好事 message` - 增加前进事件消息
- `增加坏事 message` - 增加后退事件消息
- `增加胜利词 message` - 增加胜利消息
### 插件指令
- `/jhr enable <group>` - 启用指定群赛马
- `/jhr disable <group>` - 禁用指定群赛马
### 游戏流程
通过签到得到初始资金进行赛马游戏
需要管理员或通过命令在群内启用赛马,然后发送`赛马`开盘,下注完成后,通过`开始`来进行比赛。
等待比赛结束,结算奖励。
发送`查询`或者其它查询余额命令来查询当前余额。(可私聊查询)