#dkcoins,deluxemenu,deluxetags problem

1 messages · Page 1 of 1 (latest)

somber vortex
#

who can help im have problem

#

I don't have coins, but I still get permission

karmic flint
somber vortex
#
  • '[console] lp user %player_name% permission set deluxetags.tag.Lietuva' problem?
karmic flint
#

No. DeluxeMenus just takes the list of click commands and executes it all because you didn't tell it to check for the coins

somber vortex
#

click_requirement:
- '[console] coin remove %player_name% 200' ?

karmic flint
#

ah dkcoins. 1 second

somber vortex
#

dkcoins

karmic flint
#
    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

somber vortex
#

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

karmic flint
somber vortex
#

write error

karmic flint
# somber vortex 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.

karmic flint
#

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

somber vortex
#

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

karmic flint
#

%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%

somber vortex
#

Important things to remember: * Required arguments are declared with <example> * Optional arguments are declared with [example]

karmic flint
#

yeah. so [currency] should be optional. which is why I thought %dkcoins_balance% should've worked. but it clearly didn't

somber vortex
#

change? %% to []?

somber vortex
#

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...