#custom permission

1 messages · Page 1 of 1 (latest)

simple otter
#

How do I make custom permissions [custom luckperms permissions dont work] [ping me]

real totem
#

dont crosspost.

simple otter
#

'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

real totem
#

of permission

simple otter
#

I already tried that

#

I've been working on this for 2 days

#

home1.set is made custom by LP

real totem
#

what permission did you enter in the group, using the editor

simple otter
#

group name: home1set
permission: home1.set

real totem
simple otter
#

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

real totem
#

the priority

simple otter
#

even if i am deoped and not having the luck perms group

#

it shouldn't show becuase i dont have the permission

#

hello

real totem
#

the one with low priority is considered as higher

simple otter
#

yeah but if i dont have the perms it goes to the second one

real totem
#

yeah correct?

simple otter
#

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

real totem
#

would you mind giving your editor link?

simple otter
#
#

Its just a test server so do naything with it

real totem
#

so currently, purlish is able to see the menu?

simple otter
#

yeah

#

without any perms

real totem
#

you can see a bed?

simple otter
#

i can still see the lgithb lue bed

#

yep

real totem
#

okok

#

try switching the priority of 'Home 1 [Home Set]': to 2 and 'Home 1':'s to 1

#

wait no

#

yes try it

simple otter
#

yeah

#

now i see the stone

real totem
#

now give yourself home1.set permission

#

and check again

simple otter
#

nope

real totem
#

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.

simple otter
#

yeah

#

Thats what I meant

real totem
#

so is it not working?

simple otter
#

the highest prioirty is 1

#

yes

real totem
#

yeah

simple otter
#

i tired everything

#

this shit is bugged or smth

real totem
#

wait ill come in 20 mins, we'll check by creating a different menu

#

till then, dont give up. keep trying!

simple otter
#

like the plugin doens't even recognize any type of perms

#

yeah ok

#

ping me

real totem
simple otter
#

yeah see

#

i bet

#

the plugins bugged

#

wait 1 sec

#

1.14

real totem
#

i think thats the latest

#

wait we'll try with different menu

simple otter
#

yeah that is

#

ok

#

does it work for you tho

real totem
#

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!!'```
real totem
#

just want to make sure, did this work?

simple otter
#

Dont have the time

#

I'll let U know tho

simple otter
#

Ah yes it worked

#

Ty very much

#

But I created a new server for it tho