#DeluxeMenus Help

1 messages · Page 1 of 1 (latest)

grand hill
#

Hey there! I need some help with this configuration. The requirements do not work, and I need it fixing (if possible). Thanks in advance!

open_command: seasonpass
register_command: true
size: 45
items:
  '1':
    material: YELLOW_SHULKER_BOX
    slot: 9
    display_name: '&#FBF901&lᴘʀᴇᴍɪᴜᴍ sᴇᴀsᴏɴᴘᴀss'
    lore: 
        - '&8ɪɴғᴏʀᴍᴀᴛɪᴏɴ'
        - ''
        - '&cʀᴇǫᴜɪʀᴇᴍᴇɴᴛs:'
        - '&7■  ʏᴏᴜ ᴍᴜsᴛ ʜᴀᴠᴇ ᴛʜᴇ ᴘʀᴇᴍɪᴜᴍ ᴘᴀss'
        - '&7■  ᴛᴏ ᴄʟᴀɪᴍ ᴛʜᴇsᴇ ʀᴇᴡᴀʀᴅs'
        - ''
        - '&eʟᴇᴠᴇʟs:'
        - '&7■  &7ᴛʜᴇ ᴘʀᴇᴍɪᴜᴍ &#9400FBsᴇᴀsᴏɴ&#1F3CFBᴘᴀss &7ᴄᴏɴᴛᴀɪɴs 25 ʟᴇᴠᴇʟs.'
        - ''
        - '&aᴘᴇʀᴍɪssɪᴏɴ sᴛᴀᴛᴜs: &7%luckperms_check_permission_deluxemenus.seasonpass1%'
  'infofree':
    material: LIME_SHULKER_BOX
    slot: 18
    display_name: '&#00FB12&lғʀᴇᴇ sᴇᴀsᴏɴᴘᴀss'
    lore: 
        - '&8ɪɴғᴏʀᴍᴀᴛɪᴏɴ'
        - ''
        - '&cʀᴇǫᴜɪʀᴇᴍᴇɴᴛs:'
        - '&7■  ᴛʜᴇʀᴇ ᴀʀᴇ ɴᴏ ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs'
        - ''
        - '&eʟᴇᴠᴇʟs:'
        - '&7■  &7ᴛʜᴇ ғʀᴇᴇ &#9400FBsᴇᴀsᴏɴ&#1F3CFBᴘᴀss &7ᴄᴏɴᴛᴀɪɴs 15 ʟᴇᴠᴇʟs.'
  'PREMIUM_1': 
    material: YELLOW_CANDLE
    slot: 10
    display_name: '&#fbe900&lʟ&#fbe005&lᴇ&#fcd80a&lᴠ&#fccf0f&lᴇ&#fcc715&lʟ &#fcbe1a&lᴏ&#fdb61f&lɴ&#fdad24&lᴇ'
    left_click_requirement:
      requirements:
        playtime:
          type: '>='
          input: '%playtime_time_hours%'
          output: 2
          deny_commands:
            - '[message] &cYou do not have the correct amount of Playtime!'
            - '[sound] BLOCK_ANVIL_PLACE'
        money:
          type: has money
          amount: 1000
          deny_commands:
            - '[sound] BLOCK_ANVIL_PLACE'
        permission:
          type: has permission
          permission: deluxemenus.seasonpass1
          deny_commands:
            - '[message] You don''t have the premium Season Pass! Purchase it from &6/starshop &cor &6/store&c!'
            - '[sound] BLOCK_ANVIL_PLACE'
    lore:
        - '&8ᴘʀᴇᴍɪᴜᴍ ᴘᴀss'
        - ''
        - '&#FB0000ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs:'
        - '&7■ &eᴘʟᴀʏᴛɪᴍᴇ: &72ʜ &8[%playtime_time%]'
        - '&7■ &aᴍᴏɴᴇʏ: &7$1000 &8[%vault_eco_balance%]'
        - ''
        - '&#FBF901ʀᴇᴡᴀʀᴅs:'
        - '&7■ &2ᴄʟᴀɪᴍ ʙʟᴏᴄᴋs: &7100'
        - '&7■ &6sᴛᴀʀs: &710'
    click_commands:
        - '[console] stars add %player_name% 10'
        - '[console] adjustbonusclaimblocks %player_name% 100'
        - '[message] &8[&aᴄʟᴀɪᴍs&8] &7You received &2100 Claim Blocks&7!'
        - '[console] lp user %player_name% permission set deluxemenus.seasonpass2 true'
  'PREMIUM_2': 
    material: YELLOW_CANDLE
    slot: 11
    amount: 2
    display_name: '&#fbe900&lʟ&#fbe005&lᴇ&#fcd80a&lᴠ&#fccf0f&lᴇ&#fcc715&lʟ &#fcbe1a&lᴛ&#fdb61f&lᴡ&#fdad24&lᴏ'
    left_click_requirement:
      requirements:
        playtime:
          type: '>='
          input: '%playtime_time_hours%'
          output: 5
          deny_commands:
            - '[message] &cYou do not have the correct amount of Playtime!'
            - '[sound] BLOCK_ANVIL_PLACE'
        money:
          type: has money
          amount: 2500
          deny_commands:
            - '[sound] BLOCK_ANVIL_PLACE'
        permission:
          type: has permission
          permission: deluxemenus.seasonpass2
          deny_commands:
            - '[message] &cYou need to unlock level 1 first!'
            - '[sound] BLOCK_ANVIL_PLACE'
    lore:
        - '&8ᴘʀᴇᴍɪᴜᴍ ᴘᴀss'
        - ''
        - '&#FB0000ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs:'
        - '&7■ &eᴘʟᴀʏᴛɪᴍᴇ: &75ʜ &8[%playtime_time%]'
        - '&7■ &aᴍᴏɴᴇʏ: &7$2500 &8[%vault_eco_balance%]'
        - ''
        - '&#FBF901ʀᴇᴡᴀʀᴅs:'
        - '&7■ &2ᴄʟᴀɪᴍ ʙʟᴏᴄᴋs: &7500'
        - '&7■ &6sᴛᴀʀs: &750'
    click_commands:
        - '[console] stars add %player_name% 50'
        - '[console] adjustbonusclaimblocks %player_name% 500'
        - '[message] &8[&aᴄʟᴀɪᴍs&8] &7You received &2500 Claim Blocks&7!'```
#

There are no errors that pop up in console, and the menu loads correctly. Neither are currently working

foggy wind
#

can you type /papi parse me %playtime_time_hours%

#

tell me what it returns

grand hill
#

It's not the playtime, it's the money...

#

On this screenshot, I have $0. I had an old version of this menu, with more than 2 levels, that didn't work correctly due to the requirements. I made this one to try re-write it, and it still didnt work...

#

All of this is new as well

foggy wind
#

can you explain what you mean by the requirements are not working?

#

Oh wait I see it

#

you're using left_click_requirement for click_commands, which is incorrect

#

you need to use click_requirement

#

@grand hill

grand hill
#

oh i'm so stupid