'Q':
display:
material: 'head:e47b37e67a89159bf4acc4a44d4328f4efc0181605142288e5eed1ab8aed913c'
name: '&e签到
lore:
- ''
actions:
all:
- condition: perm *group.v1
- condition: 'check papi *%playerpoints_points% >= *250'
actions:
- 'close'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-10'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-0<delay:4>'
- 'console: points give %player_name% 250'
- 'console: lp user %player_name% parent addtemp monthpointcard 30d'
- 'title: &3&l购买成功,&f感谢支持!'
deny:
- 'title: &E您的权限不足,&C无法购买!'
- 'close'
我想检测玩家如果拥有v1的权限点则可以购买,没有的话则deny
display:
material: 'head:e47b37e67a89159bf4acc4a44d4328f4efc0181605142288e5eed1ab8aed913c'
name: '&e签到
lore:
- ''
actions:
all:
- condition: perm *group.v1
- condition: 'check papi *%playerpoints_points% >= *250'
actions:
- 'close'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-10'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-0<delay:4>'
- 'console: points give %player_name% 250'
- 'console: lp user %player_name% parent addtemp monthpointcard 30d'
- 'title: &3&l购买成功,&f感谢支持!'
deny:
- 'title: &E您的权限不足,&C无法购买!'
- 'close'
我想检测玩家如果拥有v1的权限点则可以购买,没有的话则deny
 本帖最后由 Jiale233 于 2023-7-3 16:40 编辑 
复制代码
- all:
 
-   - condition: all [ perm *group.v1 check papi *%playerpoints_points% >= *250 ]
 
-     actions:
 
-     - 'close'
 
-     - 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-10'
 
-     - 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-0<delay:4>'
 
-     - 'console: points give %player_name% 250'
 
-     - 'console: lp user %player_name% parent addtemp monthpointcard 30d'
 
-     - 'title: &3&l购买成功,&f感谢支持!'
 
-     deny:
 
-     - 'title: &E您的权限不足,&C无法购买!'
 
- - 'close'
  actions:
- condition: all [ perm *group.v1 check papi *%playerpoints_points% >= *250']
actions:
- 'close'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-10'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-0<delay:4>'
- 'console: points give %player_name% 250'
- 'console: lp user %player_name% parent addtemp monthpointcard 30d'
- 'title: &3&l购买成功,&f感谢支持!'
deny:
- 'title: &E您的权限不足,&C无法购买!'
- 'close'
多检测请使用 all [ 权限 权限 权限 ]
- condition: all [ perm *group.v1 check papi *%playerpoints_points% >= *250']
actions:
- 'close'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-10'
- 'sound: UI_TOAST_CHALLENGE_COMPLETE-1-0<delay:4>'
- 'console: points give %player_name% 250'
- 'console: lp user %player_name% parent addtemp monthpointcard 30d'
- 'title: &3&l购买成功,&f感谢支持!'
deny:
- 'title: &E您的权限不足,&C无法购买!'
- 'close'
多检测请使用 all [ 权限 权限 权限 ]
这个检测权限组的 没法单独用捏
TDT-金鱼 发表于 2023-7-3 16:35
直接和你说,你那个 condition 写法是错的
要连缀条件就得用 all [ ] ,没有商量余地。
好 我就是要这个lp_啥的权限组