#custom permission
1 messages · Page 1 of 1 (latest)
dont crosspost.
'Home 1 [Home Set]':
material: LIGHT_BLUE_BED
slot: 12
priority: 1
view_requirements:
requirements:
hasHome:
type: has permission
permission: 'home1.set'
Did I do something wrong? I can still see it even if I dont have the permissions
try removing '' from both the ends
of permission
I already tried that
I've been working on this for 2 days
home1.set is made custom by LP
what permission did you enter in the group, using the editor
group name: home1set
permission: home1.set
do u have multiple requirements?
no
'Home 1 [Home Set]':
material: LIGHT_BLUE_BED
slot: 12
priority: 1
view_requirements:
requirements:
hasHome:
type: has permission
permission: home1.set
display_name: '&#AE2012ɴ&#AE2012ᴏ &#AE2012ʜ&#AE2012ᴏ&#AE2012ᴍ&#AE2012ᴇ &#AE2012ꜱ&#AE2012ᴇ&#AE2012ᴛ'
lore:
- "&#FFFFFFC&#F"
'Home 1':
material: STONE
slot: 12
priority: 2
display_name: '&#AE2012ɴ&#AE2012ᴏ &#AE2012ʜ&#AE2012ᴏ&#AE2012ᴍ&#AE2012ᴇ &#AE2012ꜱ&#AE2012ᴇ&#AE2012ᴛ'
lore:
- "&#FF
Here it is
It should show the stone right if i dont have the perms
but it shows the light blue bed
the priority
even if i am deoped and not having the luck perms group
it shouldn't show becuase i dont have the permission
hello
the one with low priority is considered as higher
yeah but if i dont have the perms it goes to the second one
yeah correct?
yeah but i dont have the home1.set permisssion
and it still shows the firs tone
the documentation is wirtten so shit no one understand
and the discor dsrever eis inaxctive
would you mind giving your editor link?
Its just a test server so do naything with it
so currently, purlish is able to see the menu?
you can see a bed?
okok
try switching the priority of 'Home 1 [Home Set]': to 2 and 'Home 1':'s to 1
wait no
yes try it
nope
what does it show
The item that has the highest priority will be checked first if the player has the required view requirement. It will display the item if they have the requirements and if not, it will check the next item and so on.
so is it not working?
yeah
wait ill come in 20 mins, we'll check by creating a different menu
till then, dont give up. keep trying!
whats the plugin version you're using
lets give this a try @simple otter
open_command:
- homemenu
size: 27
register_command: false
update_interval: 1
open_commands:
- '[sound] BLOCK_CHEST_OPEN'
items:
# menu which will be shown to players with permission
'sethome1':
material: LIGHT_BLUE_BED
slot: 13
priority: 1 #this will be checked first
view_requirement:
requirements:
permission:
type: has permission
permission: sethometest
display_name: 'Set home'
lore:
- ''
- 'Click to set home here!'
- ''
click_commands:
- '[exit]'
- '[message] Current location was set as home successfully!!'
# menu which will be shown to players with no permission
'sethome':
material: STONE
slot: 13
priority: 2
display_name: 'Set home'
lore:
- ''
- 'You currently dont have permission to set home!'
- ''
click_commands:
- '[exit]'
- '[message] "sethometest" permission is required!!'```
just want to make sure, did this work?
Haven't test it out yet sorry
Dont have the time
I'll let U know tho