#Cant buy items tho i have balance

1 messages · Page 1 of 1 (latest)

uncut kelp
#

So i am basically facing a issue where i do have balance but i am not able to buy any items from the menu it simply says You do not have enough money or your inventory is full

fossil glen
#

its slightly differnt

#

Im using deluxemenus and for some reason the left click command isnt working

#
      left_click_requirement:
        requirements:
          has_money:
            type: has money
            amount: 500000
        deny_commands:
          - '[message] &cYou don''t have enough money for this!'
        left_click_commands:
          - '[console] lp user %player_name% promote rank-upgrade'
          - '[takemoney] 500000'
          - '[message] &6`Done'
spare igloo
#

you have it indented a bit wrong @fossil glen

#
      left_click_requirement:
        requirements:
          has_money:
            type: has money
            amount: 500000
        deny_commands:
        - '[message] &cYou don''t have enough money for this!'
      left_click_commands:
      - '[console] lp user %player_name% promote rank-upgrade'
      - '[takemoney] 500000'
      - '[message] &6`Done'
spare igloo
#

?paste

gleaming tinselBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

fossil glen
#

what did i just find

spare igloo
uncut kelp
spare igloo
#

umm

#

that config is not supposed to contain an actual menu

#

this is your issue

    left_click_requirement:
      requirements:
        anything_here:
          type: has money
          amount: 1500000
        inventory:
          type: string equals
          input: '%javascript_inv%'
          output: 'true'
      deny_commands:
      - '[message] &c&lError &8» &fYou don''t have enough money or your inventory is full.'
#

you downloaded a pre-fab that relies on %javascript_inv%

#

which, presumably, is not working

#

although you can accomplish the same thing by doing this


        inventory:
          type: string equals
          input: '%player_has_empty_slot%'
          output: 'yes'
#

make sure you have the player expansion /papi ecloud download player /papi reload

#

also, you could have more specific deny_commands messages by lining it up with the type