#I want help with Deluxemenus

1 messages · Page 1 of 1 (latest)

ornate tinsel
#

Hi, I have a question about deluxemenus, im trying to create a shop menu but idk why it doesnt work, im trying to use wiki but still not working as I want, this is my menu example:

https://pastebin.com/z8bJWasX

#

error is on requirements

#

but still dont know how to fix it

flat plank
#

Ah. I see what's going on

#

You're combining the has item requirement type with the checkitem placeholder.

ornate tinsel
#

I can buy the item with a white candle without rename and without enchant

flat plank
#

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

ornate tinsel
#

I want to specify enchantment and name so I guess I have to use checkitem expansion

ornate tinsel
flat plank
#

yeah

#

also you can remove the name: and enchantments: option

#

from the requirements

ornate tinsel
#

Ye I removed it

#

I still can buy it without item renamed

flat plank
ornate tinsel
#

it says no

#

but checkitem is installed

flat plank
#

Now if you add 4 white candles with no name and execute that again what does it say?

ornate tinsel
#

it says no again

flat plank
#

Ah. I see

#

Can you send me the menu

#

in a paste bin?

ornate tinsel
#

y

tardy remnantBOT
#
📋 Paste Converted!
https://paste.helpch.at/fitumixufu

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

flat plank
#

the type is still has item

#

It needs to be string equals ignorecase

ornate tinsel
#

Ill change it

#

Now I cant buy it with normal white candles, thats good

#

But still cant buy it with the renamed white candle

flat plank
#

hmm. that's very weird. can you send your latest menu?

ornate tinsel
tardy remnantBOT
#
📋 Paste Converted!
https://paste.helpch.at/kogubuguvi

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

flat plank
#

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?

ornate tinsel
#

yep

manic cedar
#

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)

ornate tinsel
#

ill check it later

ornate tinsel
#

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

manic cedar
ornate tinsel
#

can u send me an example?

manic cedar
#

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

ornate tinsel
#

niceee

#

now it works

manic cedar
#

noice

ornate tinsel
#

ty guys

#

your support is always amazing, really fast and useful

#

u can close this if u want

manic cedar
#

nice, appreciate it

#

I can't close it tho

#

i think you can but not sure

ornate tinsel
#

how?

#

oh y I can

#

its closed now right?

manic cedar
#

i think it's automatically re-opened with every messag

#

😂

#

oh well