#Deluxemenus

1 messages · Page 1 of 1 (latest)

fringe matrix
#

For some reason it keeps saying the deny commands even tho my shard balance is over 50 can someone help me with that?

limpid light
fringe matrix
limpid light
#

well, then it won't work in DeluxeMenus

fringe matrix
#

Why?

limpid light
#

Because it is not a PlaceholderAPI placeholder. There's no way for DeluxeMenus to know what value %xshards_balance% has

fringe matrix
limpid light
#

Well, that means you have no shards. So the deny commands will always show. Right? Or are you seeing the deny commands even when the value of the placeholder is above 50?

fringe matrix
limpid light
fringe matrix
#

There u go

#

The error is just that its saying i dont have enough shards even tho i have enough.

limpid light
#

Try the item with more than 50 shards and send a screenshot of the output.

fringe matrix
limpid light
limpid light
# fringe matrix

It doesn't seem that you use the item that I've sent. I've added a debug message there which is not present.

limpid light
#

- "[message] &eShards: &7%xshards_balance%"

#

this I've added to the deny messages

#

is this in your menu?

fringe matrix
limpid light
#

There we go. We found the problem. The shards placeholder returns a formatted number.

#

Which DeluxeMenus doesn't know how to read.

fringe matrix
#

Bc of the comma?

limpid light
#

Yeah.

fringe matrix
#

Ohh

#

Is there a way to fix it?

limpid light
#

Well, there's a few possible solutions. I would suggest you take them in order

  1. See if your shards plugin maybe has a placeholder that returns an unformatted number.
  2. Use expansions such as JavaScript expansion to reformat the output of the shards placeholder
  3. Use the javascript requirement type instead of the comparator one