1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2026-06-04 15:28:21 +08:00

chore: 适配依赖更新,移除冗余代码 (#33)

* feat(actions): 为单个前缀的选择添加可配置的操作

* feat(actions): 实现在前缀选择时执行操作

* chore: 适配新接口,删除冗杂代码

* chore: 适配新接口,删除冗杂代码

* chore: 修改repo
This commit is contained in:
2022-09-10 01:57:45 +08:00
committed by GitHub
parent e3c911d375
commit cc0122f9ba
9 changed files with 51 additions and 71 deletions
@@ -24,7 +24,8 @@ permission: "yc.pro"
# 选择这个前缀时执行的操作 [非必须]
# 用于在玩家选择/取消选择前缀时执行相应动作,以便于实现一些特殊的功能。
# 具体操作类型详见 https://github.com/CarmJos/UserPrefix/tree/master/.documentation/ACTIONS.md
# 具体操作类型详见介绍,前缀操作不支持限定点击类型。
# https://github.com/CarmJos/UserPrefix/tree/master/.documentation/ACTIONS.md
actions:
- "[CONSOLE] say %player_name% 选择了 Pro会员前缀 "