🎉 [精灵]CompanionsPlus v3.0.0 版本已发布 ✨ 点击查看
Skip to content

确认菜单 ​

确认菜单(1.9.0+) ​

  • confirm

confirm 表示这个按钮需要在gui中二次确认

yaml
  '33':
    index: 33
    name: '   &8[&c确认菜单&8]'
    material: EMERALD
    lore:
      - "&f- &7点击后先弹出确认菜单"
      - "&f- &7确认后再继续执行"
    isEnchant: false
    custom-model-data: 0
    # 开启点击后确认
    confirm: true
    commands:
      - '[command] say 确认后执行命令'