#How do I limit a player to certain gui,s?

1 messages · Page 1 of 1 (latest)

normal owl
#

I have got all the menus working etc, I just need to assign them to roles.
Do I add some kind of permission inside the gui-config? and then add it to luckperms?

Currently the player has access to all gui open commands, and I would like to remove certain ones from default, example /moderatorguide.

gilded estuary
#

something like

open_requirement:
 requirements:
   admin_permission:
     type: 'has permission'
     permission: 'guis.admins'
normal owl
#

Thank you 🙏

#

I’ll work on this tomorrow, if I have any problems with it, can I ask for some extra help?

normal owl
#

`menu_title: ' &#2956B9⚓ Moderator Guide ⚓'
open_command:

  • modhelp
    size: 36
    open_requirement:
    requirements:
    admin_permission:
    type: 'has permission'
    permission: 'guis.admins'`
#

Would this work?

#

@gilded estuary

gilded estuary
#

yup

#

just give the perm to the group u wanna access the menu

normal owl
#

what would be the perm in this case

gilded estuary
#

also you can add register_command: true so it will come up as a command

#

guis.admins ;-;

#

it says it already

normal owl
#

thats all I put in

#

restarting since the perm did not work after reload

#

omg

#

tysm

#

it works so good wow

#

man I love deluxemenus