#Requirement problem

1 messages · Page 1 of 1 (latest)

burnt depot
#

I am trying to create a Shop with DM. In that Menu is one Item a player should only be able to buy, if he has enough Points.
Problem, I am using two Plugins on my Server with economy functions. One Money Currency and one Points Currency.
So what I want to have is, that in the requirement lines, DM should check if the player has enough Points and ignore the Money Currency. If the Player does not have enough money, the player should not be able to click the item.

Should I use javascript? I tryed a few things but couldnt figure it out so far.

My config for the items looks like this right now:
https://paste.helpch.at/uhatecewut.yaml

deft lark
#

If there's a placeholder you can use for your points currency, you can use that for your requirement:

left_click_requirement:
  requirements:
    points:
      type: >=
      input: '%your_placeholder%'
      output: 100