yuan_kun
本帖最后由 yuan_kun 于 2021-7-14 13:07 编辑
dengyu 发表于 2021-7-14 13:03
看看你的配置可以吗?

    '8':    material:  grass
    display_name: '&2&l种植机器人'
    lore:
    - '&a点击购买'
    - '&c&l并且扣除10000游戏币'
    slots:
    - 22
    left_click_commands:
    - '[takemoney] 10000'
    - '[message] &8[&d小樱货币&8] &a恭喜您购买成功'
    - '[op] frobots give'
    - '[close]'

ABlueCat
[takemoney] 10000
[message] &8[&d小樱货币&8] &a恭喜您购买成功
[console] op <玩家名>
[player] sudo <玩家名> 命令
[console] deop <玩家名
[close]

https://deluxemenu.wiki.complexstudio.net/xuan-xiang-pei-zhi

yuan_kun
dengyu 发表于 2021-7-14 13:19
[takemoney] 10000
[message] &8[&d小樱货币&8] &a恭喜您购买成功
[console] op

能不能写个例子给我看一下
'8':    material:  grass
    display_name: '&2&l种植机器人'
    lore:
    - '&a点击购买'
    - '&c&l并且扣除10000游戏币'
    slots:
    - 22
    left_click_commands:
    - '[takemoney] 10000'
    - '[message] &8[&d小樱货币&8] &a恭喜您购买成功'
    - '[op] frobots give'
    - '[close]'
这里需要替换什么

ABlueCat
- '[takemoney] 10000'
- '[message] &8[&d小樱货币&8] &a恭喜您购买成功'
- '[console] op <玩家名>'
- '[player] sudo <玩家名> 命令'
- '[console] deop <玩家名>'
- '[close]'
把这些全部替换left_click_commands下面的

yuan_kun
dengyu 发表于 2021-7-14 13:32
- '[takemoney] 10000'
- '[message] &8[&d小樱货币&8] &a恭喜您购买成功'
- '[console] op '

你是不是不懂
还是没注意标题啊?

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