#Issue Registering Commands
1 messages · Page 1 of 1 (latest)
can u send the first lines of your menu?
that r the commands and the register command
sure
1 sec
open_command:
- pcmds
register_command: true
size: 27
update_interval: 1```
👍 k ill give that a try
lmk if its fixed
this is correct?
open_command:
- pcmds
register_command: true
size: 27
update_interval: 1```
testing it now
awesome
nice no error but my menu doesnt open now...
after the restart?
correct, and no errors in console about syntax
i have the permission deluxemenus.open
do i need more?
yes i have a has permission type and checked that the player does have the specified permission
is this correct?
requirements:
permission:
type: has permission
permission: example.permission```
do u have the example.permission yourself?
i do
i do use luckperms and i added the permission directly to my user and it worked so it must be a permissions issue
probably
does it work without the open requirement?
u dont rly need an open requirement if your menu is public
and not smth for vips
i have different menus per rank and lower ranks shouldnt be able to see higher ranks menus
it does work without the open requirement btw
if i were to use "deluxemenus.menu.pcmds" as the permission would that mess up anything?
nah u can set any permission u like
open_requirement:
requirements:
has_permission:
type: 'has permission'
permission: 'test.menu'
deny_commands:
- '[message] &7[&c&l!&7] &7Oops Access denied!'
copy past this
and do your changes
i tested it and it works fine for me
i think i just had an issue with inheritances. i changed my rank to the exact rank for the menu and it worked 😄
ty
feel free to close this ticket. Thanks again
u can close the post yourself
right click on the post