#HELP DELUXEMENUS
1 messages · Page 1 of 1 (latest)
'SILVERLOCKED':
material: RED_DYE
slot: 20
priority: 1
update: true
hide_attributes: true
display_name: '&e&lʟᴇɢᴀᴄʏ ᴡᴀʀᴘꜱ'
lore: []
left_click_commands: []
'SILVERUNLOCKED':
material: WHITE_DYE
slot: 20
priority: 2
update: true
hide_attributes: true
display_name: '&e&lʟᴇɢᴀᴄʏ ᴡᴀʀᴘꜱ'
lore: []
left_click_commands: []
- '[player] warp shulker'
view_requirement:
requirements:
permission:
type: has permission
permission: essentials.warps.test
deny_commands:
- "[message] &c✗ ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴀʟʟᴏᴡᴇᴅ ᴛᴏ ᴜꜱᴇ ᴛʜᴀᴛ ᴄᴏᴍᴍᴀɴᴅ."```
I am trying to make it so if the player does not have the permission it shows the red dye but if they do have the permission it shows the white dye selection. Does anyone know how this could be done?
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
https://paste.helpch.at/ofiyaqofol.yaml
There is the link:
The item with view requirement should have the lowest priority
Still does not fix my issue.
Why then that would show first would it not?
the item only shows if the view requirement is met
so if the view requirement is met for priority 1 item: it will show it
if it's not met for priority 1 item: it goes to the next item in line (priority 2) and the steps repeat
if there is no view requirement, it always will show
so that's why you gotta swap em
But I did do that now I swapped the 2 priorities and it still does not work, like the entire menu doesn't work now for some reason ?
hmm, send the entire menu file in a paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Have you found the issue ?
brother I wasn't even here
have some patience 😂
you took 6 hours to reply too lol
yes i see the issue
you shouldn't have had [] next to your left click commands that you defined, and I removed the useless lore and left_click_commands for the other item too
you also don't need update: true on the items unless you have an update_interval defined for the menu
Because I was not pinged.
If i get pinged I check it instantly.
I've pasted the new version,
I checked and when I open the menu for some reason it send me the deny commands message even though it is not there.
what deny commands did it send you
oh probably the open requirement i see
do you have warplegacy.menu? @ornate python
please do not ping me
No I do not not have that perm why?
that is your open requirement, you need that perm to open the menu
you also do not need the deny_commands in the view requirement
I removed that, did I not send the updated version here earlier.
i don't see it, no
There you go.
I did remove something, allow me to test it now.
Okay yes it still shows that error message that you cannot use this command.
And I removed all the deny commands messages.
do you have another plugin that might be sending that message?
and blocking the command
@ornate python
No I do not
have you restarted the server after making these changes by chance? Just to check
Yes
Oh wait now it works for some reason, like it does not show the message, that is weird. I will continue with what I wanted to do for this menu and if all goes well I will let you know to close the post. Thanks so much for your assistance thus far 🙂
ok, just fyi I can't close it, but you can