#Deluxemenu view requirement not working

1 messages · Page 1 of 1 (latest)

blissful oasis
#

'LapisAvailable':
update: true
priority: 2
material: DIAMOND_CHESTPLATE
slot: 10
hide_attributes: true
view_requirement:
requirements:
permission:
type: has permission
permission: essentials.kits.Lapis
available:
type: string equals ignorecase
input: '%essentials_kit_is_available_Lapis%'
output: 'yes'
display_name: '&b&l&nLapis Kit'
lore:
- ''
- '&b&l∙ STATUS&f: &aAvailable'
- '&b&l∙ COOLDOWN&f:&f 3 Days'
- ''
- '&b&oLeft-Click to claim your kit'
left_click_commands:
- '[player] ekit Lapis'
- '[refresh]'
right_click_commands:
- '[player] ekit Lapis'
- '[refresh]'
'LapisCOOLDOWN&f:':
update: true
priority: 1
material: DIAMOND_CHESTPLATE
slot: 10
hide_attributes: true
view_requirement:
requirements:
permission:
type: has permission
permission: essentials.kits.Lapis
available:
type: string equals ignorecase
input: '%essentials_kit_is_available_Lapis%'
output: 'no'
display_name: '&b&l&nLapis Kit'
lore:
- ''
- '&b&l∙ STATUS&f: &cUnavailable'
- '&b&l∙ REMAINING&f:&f %essentials_kit_time_until_available_Lapis%'
- '&b&l∙ COOLDOWN&f:&f 3 Days'
- ''
- '&b&oLeft-Click to claim your kit.'
left_click_commands:
- '[player] ekit Lapis'
- '[refresh]'
right_click_commands:
- '[player] ekit Lapis'
- '[refresh]'
'LapisNoPerm':
update: true
priority: 3
material: DIAMOND_CHESTPLATE
slot: 10
hide_attributes: true
display_name: '&b&l&nLapis Kit'
lore:
- ''
- '&b&l∙ STATUS&f: &c&nLocked'
- '&b&l∙ COOLDOWN&f:&f 3 Days'
- ''
- '&b&obuy.YourServer.com'
left_click_commands:
- '[player] ekit Lapis'
- '[refresh]'
right_click_commands:
- '[player] ekit Lapis'
- '[refresh]'

#

Does anyone know why this doesn't show the noperm slot
it only shows cooldown and available

stiff sun
#

'LapisCOOLDOWN&f:':

winged spire
#

@blissful oasis

blissful oasis
#

It still does not work

#

here is another example kit that doesnt work

#

?help

high hingeBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

blissful oasis
#

?paste

high hingeBOT
#
FAQ Answer:

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

blissful oasis
#

please help

blissful oasis
#

@winged spire

winged spire
#

Sec

#

Can you check console for errors and send them

#

I think instead of using deluxemenus for the kits. You should use playerkits plugin

blissful oasis
#

there are no errors

winged spire
#

Oh

#

As I said, it is better for you to use playerkits instead of essentials

blissful oasis
#

whats wrong with deluxemenus?