Mc_chuan
  '1':
    update: [25, 20, -1, -1]
    display:
      material: blue Stained Glass Pane
      name: ['&c&ltp传送',]
    actions:
      left:
        actions:
        - 'command: tpa'
    catcher:
        target:
         type: SING
         before: 'tell: 请输入一名玩家的名称'
         cancel: 'tell: 已取消捕获器'
          reactions:
            - condition: 'isOnline.${input_target}'
              execute: 'tell: 名称确认. ${input_target}'
          deny:
            - 'tell: 抱歉, 但玩家 ${input_target} 不在线'
            - 'return'
#麻烦哪个大佬帮我修改成正确格式 使得正常使用 点击后 输入玩家ID 后 自动 执行tpa



MrXiaoM
我没用过 TrMenu (因为 DeluxeMenus 配合 CommandPrompt 对我来说够用了)

但是凭我的经验我觉得是将
  1. execute: 'tell: 名称确认. ${input_target}'
复制代码

改成
  1. execute: 'commands: tpa ${input_target}'
复制代码


试试看吧

傻狐狐
本帖最后由 傻狐狐 于 2021-8-18 02:21 编辑

  '1':
    update: [25, 20, -1, -1]
    display:
      material: blue Stained Glass Pane
      name: ['&c<p传送',]
    actions:
      all:
       - catcher:

           target:
             type: SING
              before: 'tell: 请输入一名玩家的名称'
              cancel: 'tell: 已取消捕获器'
              reactions:
                - condition: 'isOnline.${input_target}'
                 execute:
                   - 'tell: 名称确认. ${input_target}'
                   - 'command: tpa ${input_target}'
                 deny:
                    - 'tell: 抱歉, 但玩家 ${input_target} 不在线'
                   - 'return'

Mc_chuan
傻狐狐 发表于 2021-8-18 02:11
'1':
    update: [25, 20, -1, -1]
    display:

不对。。。

Mc_chuan
bilibili_Xiao_M 发表于 2021-8-18 02:07
我没用过 TrMenu (因为 DeluxeMenus 配合 CommandPrompt 对我来说够用了)

但是凭我的经验我觉得是将

现在主要是那个格式都对不上 后面的都不识别

第一页 上一页 下一页 最后一页