#  A DeluxeMenus basic configuration guide for beginners
#=========================================================
#
# This note will help you understand the basic functions and configuring of DeluxeMenus: commands, requirements, items and others, and from then on you can start to work with more advanced stuff. You can delete this note or any note below at any time. But if you are still here anyway, then let's move down below
#

# Open Command
#
# This setting is the command that will be used to open this menu. Supports normal String or a String List
# NOTE: Use "open_command: []" to create a menu with no commands needed
#
# open_command: <command>
# open_command:
#   - <command1>
#   - <command2>
#
open_command:
- ranks
- rank
- level
- levels

# Size
#
# This allows you to set the size of the menu inventory. Range from 9-54.
# If this option is not present in the menu configuration, it will default to 54.
#
size: 54

# Menu title
#
# This is the title of the menu. You can change it with your custom name
# Color codes and placeholders are supported
#
menu_title: '&f得斯'

# Open requirement
#
# This setting section allows you to define requirements the menu viewer must meet
# to be allowed to open this menu in game.
#
# Any menu you want to restrict access to based on permission
# should have a basic "has permission" requirement
#
# This setting and requirements can be explained more in depth by checking out
# the requirements_menu.yml file in your menus folder.
# For full reference, check https://github.com/help-chat/DeluxeMenus/wiki/Requirements
#

# Item section. This is where you can start add items into menu, and add functions into each items that you did.
# For depth explanation on the functions, you can check on the note given from config.yml
# For full reference, check https://github.com/help-chat/DeluxeMenus/wiki/Item
#
items:
  # Here you need to set the name ID of the item. This name however, does not display on the menu. Every item must have a unique name ID.
  # In this example, we will call this item name ID: "teststone"
  'level1notdone':
    material: STONE
    slot: 12
    priority: 3
    display_name: "&2&lLEVEL ① &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &75 Iron Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $15"
      - "&8---"
      - "&4&l> &cFirst meet the requirements"
  'level1complete':
    material: STONE
    slot: 12
    priority: 2
    display_name: "&2&lLEVEL ① &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &75 Iron Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $15"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level1 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% iron_ingot 5"
      - "[takemoney] 15"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 15
  'level1done':
    material: STONE
    slot: 12
    priority: 1
    display_name: "&2&lLEVEL ① &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &7This rank is free and no reward"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7This rank is free and no reward"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level1
  'level2notdone':
    material: GRANITE
    slot: 13
    priority: 3
    display_name: "&2&lLEVEL ② &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &77 Iron Ingots"
      - " &8; &72 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $50"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 1"
  'level2complete':
    material: GRANITE
    slot: 13
    priority: 2
    display_name: "&2&lLEVEL ② &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &77 Iron Ingots"
      - " &8; &72 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $50"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level2 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% iron_ingot 7"
      - "[console] give %player_name% gold_ingot 2"
      - "[takemoney] 50"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 50
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level1
  'level2done':
    material: GRANITE
    slot: 13
    priority: 1
    display_name: "&2&lLEVEL ② &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &77 Iron Ingots"
      - " &8; &72 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $50"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level2
  'level3notdone':
    material: POLISHED_GRANITE
    slot: 14
    priority: 3
    display_name: "&2&lLEVEL ③ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Redstone"
      - " &8; &75 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $100"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 2"
  'level3complete':
    material: POLISHED_GRANITE
    slot: 14
    priority: 2
    display_name: "&2&lLEVEL ③ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Redstone"
      - " &8; &75 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $100"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level3 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% redstone 2"
      - "[console] give %player_name% gold_ingot 7"
      - "[takemoney] 100"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 100
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level2
  'level3done':
    material: POLISHED_GRANITE
    slot: 14
    priority: 1
    display_name: "&2&lLEVEL ③ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Redstone"
      - " &8; &75 Gold Ingots"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $100"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level3
  'level4notdone':
    material: DIORITE
    slot: 20
    priority: 3
    display_name: "&2&lLEVEL ④ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword Sharpness I"
      - " &8; &72 TNT"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $200"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 3"
  'level4complete':
    material: DIORITE
    slot: 20
    priority: 2
    display_name: "&2&lLEVEL ④ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword Sharpness I"
      - " &8; &72 TNT"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $200"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level4 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% tnt 2"
      - "[console] give %player_name% iron_sword{Enchantments:[{id:sharpness,lvl:1}]} 1"
      - "[takemoney] 200"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 200
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level3
  'level4done':
    material: DIORITE
    slot: 20
    priority: 1
    display_name: "&2&lLEVEL ④ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword Sharpness I"
      - " &8; &72 TNT"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $200"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level4
  'level5notdone':
    material: POLISHED_DIORITE
    slot: 21
    priority: 3
    display_name: "&2&lLEVEL ⑤ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &73 Apples"
      - " &8; &71 Diamond Hoe"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $300"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 4"
  'level5complete':
    material: POLISHED_DIORITE
    slot: 21
    priority: 2
    display_name: "&2&lLEVEL ⑤ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &73 Apples"
      - " &8; &71 Diamond Hoe"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $300"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level5 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% apple 3"
      - "[console] give %player_name% diamond_hoe 1"
      - "[console] give %player_name% compass 1"
      - "[takemoney] 300"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 300
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level4
  'level5done':
    material: POLISHED_DIORITE
    slot: 21
    priority: 1
    display_name: "&2&lLEVEL ⑤ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &73 Apples"
      - " &8; &71 Diamond Hoe"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $300"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level5
  'level6notdone':
    material: ANDESITE
    slot: 22
    priority: 3
    display_name: "&2&lLEVEL ⑥ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &732 Cobblestones"
      - " &8; &78 Oak logs"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $400"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 5"
  'level6complete':
    material: ANDESITE
    slot: 22
    priority: 2
    display_name: "&2&lLEVEL ⑥ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &732 Cobblestones"
      - " &8; &78 Oak logs"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $400"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level6 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% map 1"
      - "[console] give %player_name% cobblestone 32"
      - "[console] give %player_name% oak_log 8"
      - "[takemoney] 400"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 400
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level5
  'level6done':
    material: ANDESITE
    slot: 22
    priority: 1
    display_name: "&2&lLEVEL ⑥ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &732 Cobblestones"
      - " &8; &78 Oak logs"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $400"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level6
  'level7notdone':
    material: POLISHED_ANDESITE
    slot: 23
    priority: 3
    display_name: "&2&lLEVEL ⑦ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Pickaxe"
      - " &8; &78 Gold Ingots"
      - " &8; &732 Coals"
      - " &8; &716 Experience Bottle"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $500"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 6"
  'level7complete':
    material: POLISHED_ANDESITE
    slot: 23
    priority: 2
    display_name: "&2&lLEVEL ⑦ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Pickaxe"
      - " &8; &78 Gold Ingots"
      - " &8; &732 Coals"
      - " &8; &716 Experience Bottle"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $500"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level7 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% iron_pickaxe 1"
      - "[console] give %player_name% gold_ingot 8"
      - "[console] give %player_name% coal 32"
      - "[console] give %player_name% experience_bottle 16"
      - "[takemoney] 500"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 500
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level6
  'level7done':
    material: POLISHED_ANDESITE
    slot: 23
    priority: 1
    display_name: "&2&lLEVEL ⑦ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Pickaxe"
      - " &8; &78 Gold Ingots"
      - " &8; &732 Coals"
      - " &8; &716 Experience Bottle"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $500"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level7
  'level8notdone':
    material: GRASS_BLOCK
    slot: 24
    priority: 3
    display_name: "&2&lLEVEL ⑧ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Sword Sharpness II"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $600"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 7"
  'level8complete':
    material: GRASS_BLOCK
    slot: 24
    priority: 2
    display_name: "&2&lLEVEL ⑧ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Sword Sharpness II"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $600"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level8 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% iron_sword{Enchantments:[{id:sharpness,lvl:2}]} 1"
      - "[console] give %player_name% iron_chestplate 1"
      - "[console] give %player_name% iron_sword 1"
      - "[takemoney] 600"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 600
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level7
  'level8done':
    material: GRASS_BLOCK
    slot: 24
    priority: 1
    display_name: "&2&lLEVEL ⑧ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Sword"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Sword Sharpness II"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $600"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level8
  'level9notdone':
    material: PODZOL
    slot: 29
    priority: 3
    display_name: "&2&lLEVEL ⑨ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Diamond"
      - " &8; &74 Iron Block"
      - " &8; &764 Coal"
      - " &8; &71 Rare Crate Key"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $700"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 8"
  'level9complete':
    material: PODZOL
    slot: 29
    priority: 2
    display_name: "&2&lLEVEL ⑨ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Diamond"
      - " &8; &74 Iron Block"
      - " &8; &764 Coal"
      - " &8; &71 Rare Crate Key"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $700"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level9 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% diamond 1"
      - "[console] give %player_name% iron_block 4"
      - "[console] crate givekey %player_name% rare 1"
      - "[console] give %player_name% coal 64"
      - "[takemoney] 700"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 700
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level8
  'level9done':
    material: PODZOL
    slot: 29
    priority: 1
    display_name: "&2&lLEVEL ⑨ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Diamond"
      - " &8; &74 Iron Block"
      - " &8; &764 Coal"
      - " &8; &71 Rare Crate Key"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $700"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level9
  'level10notdone':
    material: CRIMSON_NYLIUM
    slot: 30
    priority: 3
    display_name: "&2&lLEVEL ①⓪ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Emerald"
      - " &8; &78 Gold Ingots"
      - " &8; &74 Diamonds"
      - " &8; &71 Diamond Helmet"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1000"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 9"
  'level10complete':
    material: CRIMSON_NYLIUM
    slot: 30
    priority: 2
    display_name: "&2&lLEVEL ①⓪ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Emerald"
      - " &8; &78 Gold Ingots"
      - " &8; &74 Diamonds"
      - " &8; &71 Diamond Helmet"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1000"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level10 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% emerald 1"
      - "[console] give %player_name% gold_ingot 8"
      - "[console] give %player_name% diamond 4"
      - "[console] give %player_name% diamond_helmet 1"
      - "[takemoney] 1000"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 1000
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level9
  'level10done':
    material: CRIMSON_NYLIUM
    slot: 30
    priority: 1
    display_name: "&2&lLEVEL ①⓪ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Emerald"
      - " &8; &78 Gold Ingots"
      - " &8; &74 Diamonds"
      - " &8; &71 Diamond Helmet"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1000"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level10
  'level11notdone':
    material: COBBLESTONE
    slot: 31
    priority: 3
    display_name: "&2&lLEVEL ①① &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Piston"
      - " &8; &75 TNT"
      - " &8; &710 Redstone Torch"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1250"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 10"
  'level11complete':
    material: COBBLESTONE
    slot: 31
    priority: 2
    display_name: "&2&lLEVEL ①① &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Piston"
      - " &8; &75 TNT"
      - " &8; &710 Redstone Torch"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1250"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level11 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% piston 1"
      - "[console] give %player_name% tnt 5"
      - "[console] give %player_name% redstone_torch 10"
      - "[takemoney] 1250"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 1250
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level10
  'level11done':
    material: COBBLESTONE
    slot: 31
    priority: 1
    display_name: "&2&lLEVEL ①① &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Piston"
      - " &8; &75 TNT"
      - " &8; &710 Redstone Torch"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1250"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level11
  'level12notdone':
    material: OAK_PLANKS
    slot: 32
    priority: 3
    display_name: "&2&lLEVEL ①② &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &710 White Stained Glass"
      - " &8; &75 Oak Sapling"
      - " &8; &716 Coal Block"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1500"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 11"
  'level12complete':
    material: OAK_PLANKS
    slot: 32
    priority: 2
    display_name: "&2&lLEVEL ①② &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &710 White Stained Glass"
      - " &8; &75 Oak Sapling"
      - " &8; &716 Coal Block"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1500"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level12 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% white_stained_glass 10"
      - "[console] give %player_name% oak_sapling 5"
      - "[console] give %player_name% coal_block 16"
      - "[takemoney] 1500"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 1500
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level11
  'level12done':
    material: OAK_PLANKS
    slot: 32
    priority: 1
    display_name: "&2&lLEVEL ①② &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &710 White Stained Glass"
      - " &8; &75 Oak Sapling"
      - " &8; &716 Coal Block"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1500"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level12
  'level13notdone':
    material: SPRUCE_PLANKS
    slot: 32
    priority: 3
    display_name: "&2&lLEVEL ①③ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Helmet"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1750"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 12"
  'level13complete':
    material: SPRUCE_PLANKS
    slot: 33
    priority: 2
    display_name: "&2&lLEVEL ①③ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Helmet"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1750"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level13 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% iron_chestplate 1"
      - "[console] give %player_name% iron_helmet 1"
      - "[console] give %player_name% compass 1"
      - "[takemoney] 1750"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 1750
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level12
  'level13done':
    material: SPRUCE_PLANKS
    slot: 33
    priority: 1
    display_name: "&2&lLEVEL ①③ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Iron Chestplate"
      - " &8; &71 Iron Helmet"
      - " &8; &71 Compass"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $1750"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level13
  'level14notdone':
    material: BIRCH_PLANKS
    slot: 39
    priority: 3
    display_name: "&2&lLEVEL ①④ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Enderpearl"
      - " &8; &75 Bonemeal"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2000"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 13"
  'level14complete':
    material: BIRCH_PLANKS
    slot: 39
    priority: 2
    display_name: "&2&lLEVEL ①④ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Enderpearl"
      - " &8; &75 Bonemeal"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2000"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.14 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% enderpearl 2"
      - "[console] give %player_name% bonemeal 5"
      - "[takemoney] 2000"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 2000
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level13
  'level14done':
    material: BIRCH_PLANKS
    slot: 39
    priority: 1
    display_name: "&2&lLEVEL ①④ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &72 Enderpearl"
      - " &8; &75 Bonemeal"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2000"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level14
  'level15notdone':
    material: JUNGLE_PLANKS
    slot: 40
    priority: 3
    display_name: "&2&lLEVEL ①⑤ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Night Vision 3:00"
      - " &8; &710 Firework"
      - " &8; &710 Book and quill"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2500"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 14"
  'level15complete':
    material: JUNGLE_PLANKS
    slot: 40
    priority: 2
    display_name: "&2&lLEVEL ①⑤ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Night Vision 3:00"
      - " &8; &710 Firework"
      - " &8; &71 Book and quill"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2500"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level15 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% firework 10"
      - "[console] give %player_name% book_and_quill 1"
      - "[takemoney] 2500"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 2500
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level14
  'level15done':
    material: JUNGLE_PLANKS
    slot: 40
    priority: 1
    display_name: "&2&lLEVEL ①⑤ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Night Vision 3:00"
      - " &8; &710 Firework"
      - " &8; &710 Book and quill"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $2500"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level15
  'level16notdone':
    material: ACACIA_PLANKS
    slot: 41
    priority: 3
    display_name: "&2&lLEVEL ①➅ &8| &4LOCKED"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &71 Compass"
      - " &8; &7Protection I Enchanted book"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $3000"
      - "&8---"
      - "&4&l> &cFirst meet the requirements, be level 15"
  'level16complete':
    material: ACACIA_PLANKS
    slot: 41
    priority: 2
    display_name: "&2&lLEVEL &#4666ff①⑥ &8| &2COMPLETE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &71 Compass"
      - " &8; &7Protection I Enchanted book"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $3000"
      - "&8---"
      - "&2&l> &2Left click to level up"
    left_click_commands:
      - "[console] lp user %player_name% permission set deluxemenus.levelgui.level16 true"
      - "[console] levels give %player_name% 1"
      - "[console] give %player_name% map 1"
      - "[console] give %player_name% 1 Compass"
      - "[takemoney] 3000"
      - "[close]"
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 3000
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level15
  'level16done':
    material: ACACIA_PLANKS
    slot: 41
    priority: 1
    display_name: "&2&lLEVEL ①⑥ &8| &aDONE"
    lore:
      - "&8---"
      - "&#99FF33Rewards ▾"
      - " &8; &71 Map"
      - " &8; &71 Compass"
      - " &8; &7Protection I Enchanted book"
      - ""
      - "&#99FF33Requirements ▾"
      - " &8; &7Balance $3000"
      - "&8---"
      - "&a&l> &aYou have done this already"
    view_requirement:
      requirements:
        perm:
          type: "has permission"
          permission: deluxemenus.levelgui.level16
  'glass1':
    material: GREEN_STAINED_GLASS_PANE
    slots:
      - 0
      - 3
      - 4
      - 5
      - 8
      - 11
      - 15
      - 19
      - 25
      - 28
      - 34
      - 38
      - 42
      - 45
      - 48
      - 50
      - 53
    display_name: "&f"
  'glass2':
    material: BLACK_STAINED_GLASS_PANE
    slots:
      - 1
      - 2
      - 6
      - 7
      - 9
      - 10
      - 16
      - 17
      - 18
      - 26
      - 27
      - 35
      - 36
      - 37
      - 43
      - 44
      - 46
      - 52
      - 47
    display_name: "&f"
  'nextpage':
    material: paper
    slots:
      - 51
    display_name: "&a&lNEXT PAGE"
    left_click_commands:
      - '[player] levelgui2'
      - '[close]'
  'close':
    material: BARRIER
    slots:
      - 49
    display_name: "&c&lCLOSE THE MENU"
    left_click_commands:
      - '[close]'


# ==============================================================
#
# Random tips, tricks, and useful info below
#
# ==============================================================
#
# PER ITEM PERMISSION AND PRIORITY INFO:
#
# Per item permissions and priorities are optional.
# High priority = 1, Lowest priority = 2147483647.
# This allows you to show different items for a specific menu slot depending on the highest priority
# item permission a player has. This makes your menus very dynamic :)
#
# You CAN NOT specify a permission without a priority!
# You CAN specify a priority without a permission.
# You should always create a low priority item without a permission which will act as the no permission
# item if a player does not have permission for any of the items that require permission, otherwise
# no item will be set in the slot if a player does not have permission for any of the permission items.
#
# ==============================================================
#
# You specify the command which opens the menu. Make sure this command
# does not conflict with any existing commands on your server!
# A GUI menu without an open command specified will not be loaded!
#
# Menus configuration layout:
# menu_title: '<title of menu goes here>'
# command: <command to open this menu goes here>
# inventory_type: '<add this option if you want to create a menu of a different InventoryType aside from chest>'
# open_requirement:
#   requirements:
#     <unique name for this requirement>:
#    type: <type for this requirement>
#    <unique options per requirement type would go here>
#    deny_commands:
#    - '[message] you do not meet requirements to open this menu'
#   size: <size of this menu, increments of 9, max size is 54>
#   update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
#   items:
#     <item identifier>:
#       material: <name or id>
#       material: head-<name of player>
#       material: hdb-<HeadDatabase id> (requires plugin HeadDatabase)
#       data: <integer, used for data values for wool etc>
#       amount: <amount of this item to show>
#       slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
#       priority: <this is used if you have multiple items set for the same slot>
#       view_requirement: <see view requirement info below. The lowest priority item a player meets all view requirements for will be shown>
#       update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
#       hide_attributes: <true/false if this item should display item attributes>
#       hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
#       hide_effects: <true/false if this item should display item effect attributes>
#       hide_unbreakable: <true/false if this item should display item unbreakable attributes>
#       banner_meta: (this is used if you want to display a custom banner with specific patterns)
#       - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
#       - 'RED;BASE'
#       - 'WHITE;CREEPER'
#       display_name: <display name to show for this item>
#       lore:
#       - 'This is the lore of the itemm'
#       - 'placeholders can be used in the display_name or lore.'
#       enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
#       - '<ENCHANTMENT>;<LEVEL>'
#       - 'SILK_TOUCH;1'
#       left_click_commands:
#       right_click_commands:
#       shift_left_click_commands:
#       shift_right_click_commands:
#       middle_click_commands:
#       click_commands:
#       left_click_requirement: <Learn how to use this option in the requirements_menu.yml>
#       right_click_requirement: <Learn how to use this option in the requirements_menu.yml>
#       shift_left_click_requirement: <Learn how to use this option in the requirements_menu.yml>
#       shift_right_click_requirement: <Learn how to use this option in the requirements_menu.yml>
#       middle_click_requirement: <Learn how to use this option in the requirements_menu.yml>
#       click_requirement: <Learn how to use this option in the requirements_menu.yml>
#
#
# You can specify if a GUI menu should be loaded from another file:
#
# gui_menus:
#   <menuName>:
#     file: 'menuName.yml'
#
# This allows you to keep your config clean and not have tons of GUI menus cluttering it.
# The file format the GUI menu is loaded from must end in .yml
# GUI menus loaded from other configuration files must follow a specific format as well...
# To get started loading GUI menus from different files, simply create a GUI menu in this config and specify the file it will load from.
# After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
# If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
# From here you can edit it to your liking and use /dm reload to update your GUI menu!
#
# This loading from external config files is only available for gui menus and will not work for click menus yet....
#
# banner_meta must be listed with a specific format:
# banner_meta:
# - <DyeColor>;<PatternType>
#
# Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
# Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
# ==============================================================
#
# Requirement information
#
# Requirements can be set as the following:
#
# open_requirement: This requirement is checked when a menu is opened
# view_requirement: This requirement determines if an item should be set in a menu slot
# left_click_requirement: This requirement is checked when an item is left clicked
# right_click_requirement: This requirement is checked when an item is right clicked
#
# Requirement types:
#   javascript - Evaluates a javascript expression that must return true or false
#     configuration options:
#       expression
#
#   has item - Checks if a player has a specific item
#     configuration options:
#       material
#       amount
#       data
#       name
#       lore
#
#   has money - Checks if a player has enough money (Vault required)
#     configuration options:
#       amount
#
#   has permission - Checks if a player has a specific permission
#     configuration options:
#       permission
#
#   string contains - Checks if a string contains another string
#     configuration options:
#       input
#       output
#
#   string equals - Checks if a string equals another string
#     configuration options:
#       input
#       output
#
#   stringequalsignorecase - Checks if a string equals another string ignoring case
#     configuration options:
#       input
#       output
#
#   > - Checks if a number is greater than another number
#     configuration options:
#       input
#       output
#
#   >= - Checks if a number is greater than or equal to another number
#     configuration options:
#       input
#       output
#
#   == - Checks if a number is equal to another number
#     configuration options:
#       input
#       output
#
#   <= - Checks if a number is less than or equal to another number
#     configuration options:
#       input
#       output
#
#   < - Checks if a number is less than another number
#     configuration options:
#       input
#       output
#
#   regex matches - Checks if a placeholder parsed string matches a regex pattern
#     configuration options:
#       input
#       regex
#
#
#
# So why would we want to use requirements?
# By default, DeluxeMenus does not require a player meet any conditions to open your menu.
# If you want to require a menu need a certain permission node for it to be accessed, or a certain amount of money
# for a menu to be opened, You do that with an 'open_requirement'.
# Below is an example of how you would deny opening a menu if the viewer does not have permission:
#
# menu_title: 'Menu that requires permission to open'
# open_command: testmenu
# size: 9
# open_requirement:
#   requirements:
#     this_requirement_name:
#       type: has permission
#       permission: 'testmenu.open'
#       deny_commands:
#       - '[message] you do not have permission to open testmenu'
#
# ==============================================================
#
# Every item in the items list must have a unique <item identifier>
#
# If you choose to update placeholders for a specific item, you must specify update_interval: <time>
# in the menu options for the specific menu.
#
# Every click_command must start with a specific identifier to know what to do for the execution.
# Valid click_command identifiers:
#
# [console] - Execute a command from the console
# Usage: - '[console] <command with no slash>'
#
# [player] - Execute a command for the menu viewer
# Usage: - '[player] <command with no slash>'
#
# [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
# Usage: - '[commandevent] <command with no slash>'
#
# [message] - Send a message to the menu viewer
# Usage: - [message] <message to send to the player
#
# [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
# Usage: - '[openguimenu] <guiMenuName>'
#
# [connect] - Connect to the specified bungee server
# Usage: - '[connect] <serverName>'
#
# [close] - Close the viewers open menu
# Usage: - '[close]
#
# [refresh] - Refresh items in the current menu view
# Usage: - '[refresh]
#
# [broadcastsound] - Broadcast a sound to the server
# Usage: - '[broadcastsound]
#
# [sound] - Play a sound for a the specific player
# Usage: - '[sound]
#
# [json] - Send a json message to the menu viewer
# Usage: - '[json] {"text":"message"}'
#
#
#
# You can delay any of the click command being performed by ending the command with
# <delay=(time in TICKS)>
# example:
#     - '[close]'
#     - '[message] it has been 5 seconds since the menu closed!<delay=100>'
#     - '[message] it has been 10 seconds since the menu closed!<delay=200>'
#
sweet: true