DeluxeMenus Help | [close] and material not working

Discussion in 'Spigot Plugin Help' started by Ppeckc, Sep 1, 2017.

  1. So, I have this config:
    Code (Text):
    gui_menus:
      effectme:
        menu_title: '&aParticles'
        open_command: effectme
        size: 36
        open_requirement:
          requirements:
            permission:
              type: has permission
              permission: effectme.use
              deny_commands:
              - '[message] You dont have permission to open the effectme menu'
        items:
          '1':
            material: STONE
            slot: 11
            display_name: '&3Jump Boost'
            lore:
            - '&bThis is small jumpboost'
            - '&bThis will jump 3 blocks'
            left_click_commands:
            - '[console] effect %player_name% minecraft:jump_boost 1000000 3
            - '[close]'
            right_click_commands:
            - '[console] effect %player_name% minecraft:jump_boost 1000000 3
            - '[close]'
          '2':
            material: STONE
            slot: 13
            display_name: '&3Glowing'
            lore:
            - '&bThis is glowing'
            - '&bYou will glow'
            left_click_commands:
            - '[console] effect %player_name% minecraft:glowing 1000000 3
            - '[close]'
            right_click_commands:
            - '[console] effect %player_name% minecraft:glowing 1000000 3
            - '[close]'
          '3':
            material: STONE
            slot: 15
            display_name: '&3Nightvision'
            lore:
            - '&bThis is Nightvision'
            - '&bYou can see in the dark'
            left_click_commands:
            - '[console] effect %player_name% minecraft:night_vision 1000000 3
            - '[close]'
            right_click_commands:
            - '[console] effect %player_name% minecraft:night_vision 1000000 3
            - '[close]'
          '4':
            material: STONE
            slot: 20
            display_name: '&3Jump Boost'
            lore:
            - '&bThis is large jumpboost'
            - '&bThis will jump 10+ blocks'
            left_click_commands:
            - '[console] effect %player_name% minecraft:jump_boost 1000000 11
            - '[close]'
            right_click_commands:
            - '[console] effect %player_name% minecraft:jump_boost 1000000 11
            - '[close]'
          '5':
            material: BUCKET
            slot: 13
            display_name: '&cClear Effects'
            lore:
            - '&bThis will clear'
            - '&bYour effects'
            left_click_commands:
            - '[console] effect %player_name% clear
            - '[close]'
            right_click_commands:
            - '[console] effect %player_name% clear
            - '[close]'
          '6':
            material: BARRIER
            slot: 15
            display_name: '&4Close'
            lore:
            - '&cThis will close'
            - '&cthe EffectMe Menu'
            left_click_commands:
            - '[close]'
            right_click_commands:
            - '[close]'
    and when I do /dm reload it says it can't work because if '[close]' and 'material:'

    Images:
    [​IMG]

    @clip

    Please help!
     
  2. ----------------------------------
    ====== | BUMP | ======
    ----------------------------------
     
  3. Try this:
    Code (Text):
    Material: 1