#Deluxemenus
1 messages · Page 1 of 1 (latest)
Can you execute /papi parse me %xshards_balance% and send a screenshot of the output?
The %xshards_balance% is not a placeholder supported by papi its from the plugin itself
well, then it won't work in DeluxeMenus
Why?
Because it is not a PlaceholderAPI placeholder. There's no way for DeluxeMenus to know what value %xshards_balance% has
I just checked the papi parse and it returns 0 due to my shard balance being 0
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?
I can see deny command even when its above 50 thats kinda the issue im facing
Alright. Can you please send the menu using a paste bin here? Just the item you're having problems with is enough.
There u go
The error is just that its saying i dont have enough shards even tho i have enough.
Can you try this item: https://paste.helpch.at/ejacibosov.vbnet
Try the item with more than 50 shards and send a screenshot of the output.
It still sends the error
Ok, but can you send a screenshot please?
It doesn't seem that you use the item that I've sent. I've added a debug message there which is not present.
There is none
- "[message] &eShards: &7%xshards_balance%"
this I've added to the deny messages
is this in your menu?
There we go. We found the problem. The shards placeholder returns a formatted number.
Which DeluxeMenus doesn't know how to read.
Bc of the comma?
Yeah.
Well, there's a few possible solutions. I would suggest you take them in order
- See if your shards plugin maybe has a placeholder that returns an unformatted number.
- Use expansions such as JavaScript expansion to reformat the output of the shards placeholder
- Use the javascript requirement type instead of the comparator one