#Deluxe menu rankup

1 messages · Page 1 of 1 (latest)

faint quarry
#

Hi, I've just created a rankup menu with DeluxeMenu, but when I want to test nothing happens. Have I missed something? Here is my code ```menu_title: "&8&lᴘʀéʀᴇqᴜɪꜱ ᴅᴜ ɢʀᴀᴅᴇ :&f ꐚ"
open_command:

  • menurankupesclave
    size: 45
    items:
    "Retour":
    material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODE2ZWEzNGE2YTZlYzVjMDUxZTY5MzJmMWM0NzFiNzAxMmIyOThkMzhkMTc5ZjFiNDg3YzQxM2Y1MTk1OWNkNCJ9fX0=
    slot: 40
    display_name: '&2[*] &aʀᴇᴛᴏᴜʀ'
    lore: ''
    left_click_commands:
    • '[sound] ENTITY_ARROW_HIT_PLAYER'
    • '[openguimenu] grades'
      right_click_commands:
    • '[sound] ENTITY_ARROW_HIT_PLAYER'
    • '[openguimenu] grades'
      "besoins":
      material: PAPER
      slot: 10
      display_name: "&7ᴘʀéʀᴇqᴜɪꜱ:"
      lore: ""
      "1":
      material: PAPER
      slot: 12
      display_name: "&7ᴀʀɢᴇɴᴛ: &3100 000 &fꐤ"
      lore: ""
      "2":
      material: OAK_LOG
      slot: 13
      display_name: "&364x &7ʙᴜᴄʜᴇꜱ ᴅᴇ ᴄʜᴇɴᴇ"
      lore: ""
      "3":
      material: COBBLESTONE
      slot: 23
      display_name: "&364 &7ᴘɪᴇʀʀᴇꜱ"
      lore: ""
      "4":
      material: WHEAT
      slot: 14
      display_name: "&364x &7ʙʟéꜱ"
      lore: ""
      "5":
      material: COD
      slot: 21
      display_name: "&332 &7ᴍᴏʀᴜᴇ"
      lore: ""
      "6":
      material: RAW_IRON
      slot: 22
      display_name: "&332 &7ꜰᴇʀ ʙʀᴜᴛ"
      lore: ""
      "achat":
      material: lime_stained_glass_pane
      slot: 31
      display_name: "&7ᴀᴄʜᴇᴛᴇʀ ᴠᴏᴛʀᴇ &3ɢʀᴀᴅᴇ"
      lore: ""
      click_requirement:
      minimum_requirements: 6
      stop_at_success: true
      requirements:
      has_money:
      type: has money
      amount: 100000
      has_item:
      type: has item
      material: OAK_LOG
      amount: 64
      has_item:
      type: has item
      material: COBBLESTONE
      amount: 64
      has_item:
      type: has item
      material: WHEAT
      amount: 64
      has_item:
      type: has item
      material: COD
      amount: 32
      has_item:
      type: has item
      material: RAW_IRON
      amount: 32
      success_commands:
      • "[console] lp user %player_name% parent set esclave"
      • "[console] eco take %player_name% 100000"
      • "[console] clear %player_name% stone 64"
      • "[console] clear %player_name% OAK_LOG 64"
      • "[console] clear %player_name% WHEAT 64"
      • "[console] clear %player_name% COD 32"
      • "[console] clear %player_name% RAW_IRON 32"
      • "[broadcast] %player_name% est passé au grade ꐚ "
limpid seal
#

every requirement needs a different name

#

you have a lot named has_item, which means only the last one (RAW_IRON) exists

#

you are also incorrectly using success_commands instead of click_commands

#

they should be aligned with click_requirement

faint quarry
#

I should do this for all i want to do ?

limpid seal
#

I gave you a working config with all the changes

#

I sent you a picture (from the wiki) that explains success_commands should not be confused with click_commands