#Items do not appear

1 messages · Page 1 of 1 (latest)

karmic bane
#

I have this code but when I open the menu, items with "view_requierment" are not displayed at all

I don't know where it comes :/

menu_title: 'Requirements Menu'
open_command: shopi
size: 9

items:
"Test":
material: DIAMOND
slot: 2

'Lundi':
material: DIAMOND
slot: 1
lore:
- 'Lundi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Mon"

'Mardi':
material: DIAMOND
slot: 1
lore:
- 'Mardi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Tue"

'Mercredi':
material: DIAMOND
slot: 1
lore:
- 'Mercredi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Wed"

'Jeudi':
material: DIAMOND
slot: 1
lore:
- 'Jeudi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Thu"

'Vendredi':
material: DIAMOND
slot: 1
lore:
- 'Vendredi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Fri"

'Samedi':
material: DIAMOND
slot: 1
lore:
- 'Samedi'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Sat"

'Dimanche':
material: DIAMOND
slot: 1
lore:
- 'Dimanche'
priority: 1
view_requirement:
requirements:
day_check:
type: equals
input: "%server_time_E%"
output: "Sun"

bitter drum
#

it's string equals, not equals

karmic bane
bitter drum
#

all of your items are on the same slot with the same priority

#

change the priorities

#

also make sure that %server_time_E% returns what you wrote in the output

karmic bane
bitter drum
#

you still need to give them different priorities