#I want help with Deluxemenus
1 messages · Page 1 of 1 (latest)
What error exactly?
Ah. I see what's going on
You're combining the has item requirement type with the checkitem placeholder.
Try changing the requirement type to string equals ignorecase like this: https://paste.helpch.at/ececibohan.lua
I tried, it fixed an error but still having a problem with the item name and enchant.
I can buy the item with a white candle without rename and without enchant
well yes. because the name and enchantments: options don't work with the string equals ignorecase type
they only work with the has item type
You have to decide which type you use, and use all the options of that type
if you want to continue with the checkitem expansion and string equals ignorecase type you'll have to update the placeholder
to specify enchantment and name
%checkitem_mat:white_candle,amt:4,nameequals:&f❃ &7Yeso Pulido &f❃,enchantments:unbreaking;10%
This is how it would probably look
You can find more info on that expansion here: https://github.com/PlaceholderAPI/CheckItem-Expansion
I want to specify enchantment and name so I guess I have to use checkitem expansion
Ill try, I should put that on input right?
If you have an empty inventory and you do /papi parse me %checkitem_mat:white_candle,amt:4,nameequals:&f❃ &7Yeso Pulido &f❃,enchantments:unbreaking;10% what does it say
Now if you add 4 white candles with no name and execute that again what does it say?
it says no again
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Ill change it
Now I cant buy it with normal white candles, thats good
But still cant buy it with the renamed white candle
hmm. that's very weird. can you send your latest menu?
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
And if you hold just 4 normal white candles in your inventory and you execute /papi parse me %checkitem_mat:white_candle,amt:4,nameequals:&f❃ &7Yeso Pulido &f❃,enchantments:unbreaking;10% it returns no?
yep
still an issue?
1 thing that is standing out to me is the enchantments part
It should look like enchantments:unbreaking=10
the ; separator is for multiple enchantments (enchantments:unbreaking=10;sharpness)
yeah that was the error
still having a problem because I buy the item but It doesnt remove the enchanted white candle from my inventory
but I think that error is on /clear command part
use checkitem to remove it
can u send me an example?
sorry I never really checked the whole menu after I saw that
v simple
here is your placeholder: %checkitem_mat:white_candle,amt:4,nameequals:&f❃ &7Yeso Pulido &f❃,enchantments:unbreaking=10%
here is the remove placeholder %checkitem_remove_mat:white_candle,amt:4,nameequals:&f❃ &7Yeso Pulido &f❃,enchantments:unbreaking=10%
😄
so instead of [console] clear ... you [placeholder] %checkitem_remove_...
noice