#view_requirement isn't works
1 messages · Page 1 of 1 (latest)
selflock:
material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjZmODRiZjlhZTJjYTYzMDdlY2Y3MWI4ODYyNjllMmZiYzJhZTZkYzEzNzAxNjhmOWYwZWYyYmQ0OTY0Y2VkMCJ9fX0=
slot: 50
priority: 0
update: true
item_flags: [HIDE_ATTRIBUTES]
display_name: ' '
lore:
- ' &#FF0000Л&#F70000и&#F00000ч&#E80000н&#E10000ы&#D90000й &#CA0000т&#C30000и&#BB0000т&#B40000у&#AC0000л'
- ''
- ' &7| &fСтатус: &#f52249Заблокирован'
- ''
- ' &7| &fМожно купить на сайте: '
- ' &7| &eMy website '
- ''
click_commands:
- '[sound] entity_evoker_hurt'
- '[message] &f'
- '[message] &f &7• &#AD5BFFСайт проекта: &f&nMy website'
- '[message] &f'
- '[close]'
self_4yro4ka_unlock:
material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODllNDMzMzg0YWVmOTdkMTUzNzBiYWQ0NDI2YThmYTEzNDNkNWNkMzMwMDY3ZWFmZGYyOTg4MWJhMjYwMjhmMyJ9fX0=
slot: 50
priority: 5
update: true
item_flags: [HIDE_ATTRIBUTES]
display_name: ' '
lore:
- ' &fТитул &8| &#FF8A8A&lᴅ&#FF8791&lᴇ&#FF8499&lᴠ &#FF7FA8&lᴛ&#FF7CAF&lᴇ&#FF79B7&lᴀ&#FF76BE&lᴍ'
- ''
- ' &7| &fСтатус: eff65Разблокирован'
- ' &7| &fБудет выглядеть так:'
- ' &7• %luckperms_prefix%%player_name% &#FF8A8A&lᴅ&#FF8791&lᴇ&#FF8499&lᴠ &#FF7FA8&lᴛ&#FF7CAF&lᴇ&#FF79B7&lᴀ&#FF76BE&lᴍ'
- ''
- ' &7| eff65Нажмите, &fчтобы eff65установить &fтитул. '
- ''
click_commands:
- '[console] lp user %player_name% meta setsuffix " &#FF8A8A&lᴅ&#FF8791&lᴇ&#FF8499&lᴠ &#FF7FA8&lᴛ&#FF7CAF&lᴇ&#FF79B7&lᴀ&#FF76BE&lᴍ"'
- '[sound] BLOCK_NOTE_BLOCK_IRON_XYLOPHONE'
view_requirement:
requirements:
player_name:
type: string equals
input: "%player_is_op%"
output: "yes"
what exacly isn't working
what do you see when you are OP?
i also belive if you add the following view requirement to selflock: you will get your wanted result
view_requirement:
requirements:
player_name:
type: string equals
input: "%player_is_op%"
output: "no"
I don't see self_4yro4ka_unlock but I have op
No, I'm using priority, I think it won't help
if you are not willing to try, i don't see why you seek for help here.
cause it used to work before
despite of this ok, ill try tommorow
because now im going to sleep
I doubt it worked before. You need to swap priorities.
You can keep everything else the same.
I tried
Show me the current menu you have and that doesn't work.
Also, have you tested the placeholder to make sure that it works? Use /papi parse me %player_is_op%
Yes
Forget %player_is_op%, I need %player_name% in input
Full menu?
If possible, yes.
And /papi parse me %player_name% works?
Which item here you should see but you don't?
self_4yro4ka_unlock
Can you execute /papi parse me %player_name% and send me a screenshot please?
here is your problem. You have 2 items in slot: 50 with the same priority
it might be like that, cause I need to make so many the same items
or I must change priority for each?
Yeah, just change the priorities