#dkcoins,deluxemenu,deluxetags problem
1 messages · Page 1 of 1 (latest)
you have to set up requirements. DeluxeMenus just executes the commands if you don't tell it to check for anything.
- '[console] lp user %player_name% permission set deluxetags.tag.Lietuva' problem?
No. DeluxeMenus just takes the list of click commands and executes it all because you didn't tell it to check for the coins
You can read more about "requirements" here: https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements
click_requirement:
- '[console] coin remove %player_name% 200' ?
What coin plugin do you use?
ah dkcoins. 1 second
dkcoins
left_click_commands:
- '[sound] entity_experience_orb_pickup'
- '[close]'
- '[console] coin remove %player_name% 200'
- '[console] lp user %player_name% permission set deluxetags.tag.Lietuva'
left_click_requirement:
requirements:
coins:
type: '>='
input: '%dkcoins_balance%'
output: 200
Something like this
thanks bro
java.lang.NumberFormatException: For input string: "§4Error"
at jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) ~[?:?]
at jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) ~[?:?]
at java.lang.Double.parseDouble(Double.java:651) ~[?:?]
at com.extendedclip.deluxemenus.requirement.InputResultRequirement.evaluate(InputResultRequirement.java:45) ~[?:?]```
not working
IF you do /papi parse me %dkcoins_balance% what does it say?
write error
You'll have to ask the dkcoins developer what the placeholder to see how many coins you have is then. The documentation said it was %dkcoins_balance% but I'm guessing the documentation might be either wrong or outdated.
After you get the correct placeholder, just replace in the example I gave
I'm going to sleep now so if you need more help it might take a long while to get a response unless someone else is going to be around
Table of contents
%dkcoins_balance_[currency]%
%dkcoins_player_<player>balance[currency]%
%dkcoins_top_<rank>name[currency]%
%dkcoins_top_<rank>balance[currency]%
%dkcoins_toppos_[currency]%
%dkcoins_bank_<bank>balance[currenc
dkcoins placeholder
%dkcoins_balance_[currency]%
this is the one I used as well. it said currency is optional
do you know the name of your currency? if so try that
if your currency name is gems for example, try %dkcoins_balance_gems%
Important things to remember: * Required arguments are declared with <example> * Optional arguments are declared with [example]
yeah. so [currency] should be optional. which is why I thought %dkcoins_balance% should've worked. but it clearly didn't
change? %% to []?
i got some issue, when i gave myself more than 1000 dkcoins, i can't buy anything, its telling that i not enough coins to buy...