#DeluxeMenus Error

1 messages · Page 1 of 1 (latest)

mild fiber
#

'kitvip_0': material: basehead slot: 13 priority: 0 update: true view_requirement: requirements: permission: type: has permission permission: essentials.kits.kitvip left_click_requirement: requirements: available: type: string equals ignorecase input: '%essentials_kit_is_available_kitvip%' output: 'yes' deny_commands: - "[close]" - '[message]' - '[message] &cSei in cooldown&c!' - '[message]' right_click_requirement: requirements: available: type: string equals ignorecase input: '%essentials_kit_is_available_kitvip%' output: 'yes' deny_commands: - "[close]" - '[message]' - '[message] &cSei in cooldown&c!' - '[message]' display_name: '&aKit VIP' lore: - '&7Riscatta il kit VIP' - '&7Stato: &aSbloccato' - '' - '&eClicca per riscattare' left_click_commands: - '[player] essentials:kit kitvip' - '[refresh]' - '[refresh]<delay=100>' right_click_commands: - '[player] essentials:kit kitvip' - '[refresh]' - '[refresh]<delay=100>' 'kitvip_1': material: basehead slot: 13 priority: 1 update: true display_name: '&aKit VIP' lore: - '&7Riscatta il kit VIP' - '&7Stato: &cBloccato' - '' - '&eCompra su &b&nstore.zeromc.it' left_click_commands: - '[close]' - '[message] ' - '[message] &cNon possiedi il VIP' - '[message] ' right_click_commands: - '[close]' - '[message] ' - '[message] &cNon possiedi il VIP' - '[message] '

My menu should make it so that having the permission essentials.kits.kitvip allows me to see the item "kitvip_0" (checking the cooldown). Whereas not having the permission essentials.kits.kitvip should allow me to see the item "kitvip_1"

#

how can I solve it?

rocky hedge
#

Another issue might be that you're OP so then you bypass the view requirement

mild fiber
#

wait, I know, i removed the value after the basehead because there were too many characters. I'm not OP.

#

server is paper 1.8, java 11, DeluxeMenus-1.13.3-DEV-87

rocky hedge
# mild fiber server is paper 1.8, java 11, DeluxeMenus-1.13.3-DEV-87

Both your server version and your DeluxeMenus versions are a bit old. It might just be a bug on one of the older versions of DeluxeMenus for all I know. Unfortunately from looking at the menu itself I can't see any problems.

Can you do /papi parse YOUR-USERNAME %player_has_permission_essentials.kits.kitvip% from console?

Replace YOUR-USERNAME with your ingame name. Also make sure you're not OP when executing the command.