#PERMISSIONS DON'T WORK.

1 messages · Page 1 of 1 (latest)

devout rune
plucky path
#

your spacing is awful. of course it doesn't work.

#

also open_requirements should go with the menu options like menu_title, size, etc.

plucky path
#

support for internal menus will be removed soon

limber streamBOT
#
FAQ Answer:

1. Go to config.yml and make an entry for your menu

gui_menus:
  first:
    file: first_menu.yml
  second:
    file: second_menu.yml

2. Reload the plugin twice with /dm reload
3. You will see a new folder called gui_menus and your menu should be there
4. Open that menu and edit it to set it up or use the community-made menu maker
5. You are done! Open the menu in-game with /dm open first

devout rune
#

Undersand, thx

#

I have several kits in that menu, how do I put other permissions if that one is in the title..?

plucky path
#

those requirements are to be able to open the menu

#

not to click items

#

if you want to have requirements to click an item you need to use click requirements instead

devout rune
#

you have an example for me?

plucky path
#

also you might be interested in our wiki.

limber streamBOT
#
Wiki Result:

Options & Configurations - HelpChat Wiki
DeluxeMenus is a highly customizable plugin, it has many options and configurations to give you the ability to change everything you want to make your custom ...

devout rune
#

Now I was reading on the wiki, thanks a lot for the help

devout rune
#

I use the kit system from CMI, but the time set on that plugin to get the kits does not work when I enter DeluxeMenus, what should I do?

wanton geyser
#

You would need to replace the placeholders @devout rune id say so?

devout rune
#

You can help me with that? Im not sure where i need to replace the placeholders

devout rune
#

can someone help me with that?

devout rune
#
      - '[console] cmi kit Starter %player_name%'
      click_requirement:
        requirements:
          placeholder: cmi_user_kitcd_[Starter]
            deny_commands:
              - '[message] &cYou don''t have permission to do that!'
          permission:
            type: has permission
            permission: cmi.kit.Starter
            deny_commands:
              - '[message] &cYou don''t have permission to do that!'```
#

its ok?

#

does not work like this..

plucky path
#

no its not ok.

#

the first requirement isn't.

devout rune
#
          placeholder: cmi_user_kitcd_[Starter]```
#

this one?

plucky path
#

yes

devout rune
#

whats wrong?

#

spacing?

plucky path
#

well that's not a requirement at all

devout rune
#

Well, how should I do it?

plucky path
devout rune
#

type: placeholder ?

plucky path
#

you don't have a name there, you don't have a type, and you don't have other options either

plucky path
#

you can see valid types here:

limber streamBOT
#
Wiki Result:

Requirements - HelpChat Wiki
Everything about DeluxeMenus requirements! ... you also have their respective click commands. This is true even if you have set the success_commands option ...

devout rune
#

like type: has cooldown ?

plucky path
#

I Don't know what exactly you're trying to achieve

devout rune
#

I use the KIT system from CMI and I don't want to use their GUI, that's why I made a GUI in DeluxeMenus but the problem is when someone take a kit the countdown doesn't apply

plucky path
#

what's the placeholder that returns how much cooldown there is left?

devout rune
#

deleted

#

ops

#

no this one

#

placeholder

cmi_user_kitcd_[KitName]

plucky path
devout rune
#

yes

plucky path
# devout rune yes

can you do /papi parse me %cmi_user_kitcd_Starter% while you have cooldown left and then when you don't have cooldown left and send a screenshot of both outputs?

devout rune
#

i dont have acces to send screenshots here

limber streamBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

devout rune
plucky path
#

please

#

those both show the same thig

#

thing

devout rune
plucky path
#

there we go

#

ok. try this

plucky path
# devout rune https://imgur.com/PAPrAej
      click_commands:
      - '[console] cmi kit Starter %player_name%'
      click_requirement:
        requirements:
          cooldown:
            type: "string equals ignorecase"
            input: "%cmi_user_kitcd_Starter%"
            output: "-"
            deny_commands:
              - '[message] &cYou don''t have permission to do that!'
          permission:
            type: has permission
            permission: cmi.kit.Starter
            deny_commands:
              - '[message] &cYou don''t have permission to do that!'```
#

this should only let people click if they don't have a cooldown active and if they have the permission

devout rune
#

ok i try

#

It says I don't have access

#

but in luckperms i set the permissions

#

And with the OP, he says the same

#

Oh, its working :))

#

thanks for help. You can close the topic now, thank you very much sir.

#

❤️