#how?!?!?
1 messages · Page 1 of 1 (latest)
menu_title: '&6<est'
size: 9
items:
1:
material: Dirt
slot: 4
priority: 2
display_name: '&6This is the item 1'
lore:
- '&7This is the lore of the first item'
click_commands:
- '[givepermission] second.item'
- '[refresh]'
2:
material: grass_block
slot: 4
priority: 1
view_requirement:
requirements:
perms:
type: has permission
permission: 'second.item'
display_name: '&4This is the item 2'
lore:
- '&7This is the lore of the second item'
this would probably work @echo umbra
Yo ima try tmrrw thx ❤️
np :d
just change the slot ig?
np
yo
but how do i do
like
if i change
the
slots
a barrier should appear
till
i buy the 1st one
just add a barrier in the same slot
u just make a permission based item
u ll use the '!has permission' as a requirement
which checks if the player doesnt have that permission
and when they buy the item u ll give them that permission
so they wont be able to view it anymore
also add a [refresh] so the menu will get updated once they buy the item
in the click actions
what type of requirement
view requirement
^ just like here
but instead use a ! before the has permission
and put it in ''
need an example?
i think i need
3:
material: dirt
slot: 4
priority: 2
display_name: '&4This is the item 3'
lore:
- '&7This is the lore of the third item'
click_commands:
- '[givepermission] third.item'
- '[refresh]'
3_purchased:
material: barrier
slot: 4
priority: 1
view_requirement:
requirements:
perms:
type: 'has permission'
permission: 'third.item'
display_name: '&4This is the item 3 [purchased]'
lore:
- '&7This is the lore of the third item'
try this
oh
tbh this would also work
its pretty much the same with here