星空Starry
比如以下这段配置:
  TreeDiagramB9:
    RewardType: playercommand
    Reward:
    - suicide
    PriceType: free
    MenuItem:
    - name:&e**
    - 'lore:/suicide'
    - type:totem_of_undying
    - amount:1
    InventoryLocation: 34

我想让玩家只能点一次,就不能再点了,。,或者说也可以多少秒后才能点
我已经黔驴技穷了,wiki翻烂了,求求好心人。大佬帮我看看!

小晴M
本帖最后由 小晴M 于 2022-7-13 12:43 编辑

限制权限,点一下获取权限,有权限就隐藏不就实现点一次了吗
点击延迟配置文件内有个ClickDelay: 200改下就搞定了给你个模板
  1.   1:
  2.     MenuItem:
  3.     - name:你已经购买过了
  4.     - type:BARRIER
  5.     - '你已经买不了了'
  6.     RewardType: NOTHING
  7.     PriceType: NOTHING
  8.     Message: ''
  9.     ExtraPermission: ''
  10.     InventoryLocation: 1
  11.     Condition:
  12.     - type:permission
  13.     - match:xxx
  14.   2:
  15.     MenuItem:
  16.     - type:map
  17.     - amount:1
  18.     - name:12121
  19.     - 'lore1:1'
  20.     - durability:0
  21.     RewardType: command
  22.     Reward:
  23.     - 'manuaddp %player% xxx'
  24.     PriceType: money
  25.     Price: 9999
  26.     ExtraPermission: ''
  27.     InventoryLocation: 1
复制代码



下一页 最后一页