#/give command

1 messages · Page 1 of 1 (latest)

lime drift
#

In general, the problem is this: I created a command via Give Command Generator, checked it through the console - it works, quickly created a menu, typed dm reload, and that’s it, my menu doesn’t work. Tell me why this is so?

If anything is written in the config!

 armor:
    file: shop/armor.yml

MENU

menu_title: '&f'
open_command:
  - armor
  - unicalarmor
  - uarmor
size: 53
items:     
  '1':
    material: NETHERITE_HELMET
    slot: 20
    hide_attributes: true
    hide_enchantments: true
    enchantments:
    - 'SILK_TOUCH;1'
    display_name: '&#15EDFBᴢᴇᴜꜱ'
    lore:
      - ''
    left_click_requirement:
      requirements:
        balance_check:
          type: javascript
          expression: '%playerpoints_points% >= 99'
          deny_commands:
          - "[message]"
          - "[message]&e "
          - "[message]"
          - "[sound] BLOCK_NOTE_BLOCK_IRON_XYLOPHONE"
    left_click_commands:
      - '[console] points take %player_name% 99'
      - '[refresh]'
      - '[console] minecraft:give AKENASSS netherite_helmet{display:{Name:'[{"text":"ᴢᴇᴜꜱ","italic":false}]'},Enchantments:[{id:blast_protection,lvl:5},{id:fire_protection,lvl:5},{id:projectile_protection,lvl:5},{id:protection,lvl:5},{id:thorns,lvl:4},{id:unbreaking,lvl:5}]} 1'
      - '[sound] ENTITY_PLAYER_LEVELUP'