Skip to content

Commit c4e6f78

Browse files
committed
更新PF-gugubot文档,新增游戏消息用户@功能和指令解绑说明,添加忽略服务器指令模式的配置说明,修正mg_events版本支持说明。
1 parent 495b258 commit c4e6f78

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

data/PF-gugubot/前置依赖.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ graph LR
2424
- `player_ip_logger ≥ 1.1.0` 区分真实玩家
2525
- `online_player_api ≥ 1.0.0` 在线玩家记录
2626
- `whitelist_api ≥ 1.3.0` 白名单管理
27-
- `mg_events ≥ 0.2.3` 死亡消息和成就消息
27+
- `mg_events ≥ 1.0.0` 死亡消息和成就消息
2828

29-
请注意,**GUGUbot** 尚未支持 `mg_events ≥ 1.0.0` 的版本。
29+
请注意,**GUGUbot** 在v1.9.13版本之前尚未支持 `mg_events ≥ 1.0.0` 的版本。
3030

3131
详情参考:[反馈:死亡和成就消息不可用解决方案 #162](https://github.com/LoosePrince/PF-GUGUBot/issues/162)
3232

data/PF-gugubot/功能列表.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- 转发消息到游戏中时会显示群聊名称,悬停可以显示群号,点击复制群号。
1313
- 关闭了 bound_notice(配置:绑定提示) 后将会将未绑定群成员的消息转发到游戏中。
14+
- 可以在游戏消息任意位置中使用 [@qq] @群中用户,优先级:@qq号、@绑定的游戏ID、@qq昵称
1415

1516
### 游戏内指令
1617

@@ -33,6 +34,7 @@
3334
#服务器 -> 同时获取在线玩家和假人列表
3435
#绑定 <游戏ID> -> 绑定您的游戏ID
3536
#绑定 @xxx <游戏ID> -> 【管理员功能,在群中使用】 给指定用户绑定游戏ID
37+
#绑定 解绑 -> 解绑自己的游戏ID
3638
#mc <消息> -> 向游戏内发送消息(可以触发游戏内关键词)
3739
#风格 -> 机器人风格帮助
3840
#游戏关键词 列表 -> 显示现有游戏内关键词列表

data/PF-gugubot/配置.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@
433433

434434
- 退群时是否自动移除白名单
435435

436+
#### ignore_mc_command_patterns
437+
438+
默认值:
439+
440+
```yaml
441+
- ".*?\\[Command: /.*\\]" # carpet 指令记录
442+
- ".*?xaero-waypoint:.*" # 忽略 Xaero Waypoint 的共享
443+
```
444+
445+
- 忽略的服务器指令模式
446+
- 使用正则表达式,可以忽略某些指令的转发
447+
436448
## 其它-问题
437449
438450
Q: 关于 MC → 群内 转发时,玩家ID包裹方式不一

0 commit comments

Comments
 (0)