#incorrect configuration was found

1 messages · Page 1 of 1 (latest)

frozen vortex
#

hey guys, whats wrong with that?

  key1:
    material: tripwire_hook
    display_name: " "
    slot: 20
    lore:
      - '&fОписание ключа (для примера афк)'
      - ' '
    click_requirement:
      requirements:
        has_ei:
          type: javascript
          expression: '%executableitems_checkamount_id:sertificat_def% >= 1'
          deny_commands:
            - '[close]'
          success_commands:
              - '[console] executableitems:ei take %player% sertificat_def 1'
            - '[console] excellentcrates givekey %player% afkcrate 1'
            - '[close]'
    click_commands:
      - '[console] executableitems:ei take %player% sertificat_def 1'
      - '[console] excellentcrates givekey %player% afkcrate 1'
      - '[close]'
flint nest
# frozen vortex hey guys, whats wrong with that? ``` key1: material: tripwire_hook dis...

You've got 2 extra spaces for the first success command

  key1:
    material: tripwire_hook
    display_name: " "
    slot: 20
    lore:
      - '&fОписание ключа (для примера афк)'
      - ' '
    click_requirement:
      requirements:
        has_ei:
          type: javascript
          expression: '%executableitems_checkamount_id:sertificat_def% >= 1'
          deny_commands:
            - '[close]'
          success_commands:
            - '[console] executableitems:ei take %player% sertificat_def 1'
            - '[console] excellentcrates givekey %player% afkcrate 1'
            - '[close]'
    click_commands:
      - '[console] executableitems:ei take %player% sertificat_def 1'
      - '[console] excellentcrates givekey %player% afkcrate 1'
      - '[close]'