#PERMISSIONS DON'T WORK.
1 messages · Page 1 of 1 (latest)
your spacing is awful. of course it doesn't work.
also open_requirements should go with the menu options like menu_title, size, etc.
also you should really think about switching to external menus!! https://paste.helpch.at/katofupiwe.bash
support for internal menus will be removed soon
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
Undersand, thx
I have several kits in that menu, how do I put other permissions if that one is in the title..?
well open requirements are not meant to be used for items
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
you have an example for me?
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 ...
Now I was reading on the wiki, thanks a lot for the help
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?
You would need to replace the placeholders @devout rune id say so?
You can help me with that? Im not sure where i need to replace the placeholders
can someone help me with that?
- '[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..
yes
well that's not a requirement at all
Well, how should I do it?
this is how a valid requirement looks like
type: placeholder ?
you don't have a name there, you don't have a type, and you don't have other options either
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 ...
like type: has cooldown ?
that's not a valid type either. read the types in the link sent above
I Don't know what exactly you're trying to achieve
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
what's the placeholder that returns how much cooldown there is left?
and your kit name is Starter right?
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?
i dont have acces to send screenshots here
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.
I need one when you don't have a cooldown
please
those both show the same thig
thing
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