#How to do it?
1 messages · Page 1 of 1 (latest)
can you provide a code example? please
items:
dirt:
slot: 0
priority: 1
display_name: '&eDIRT'
click_commands:
- '[console] lp user %player_name% permission set clicked.dirt'
- '[refresh]'
view_requirement:
requirements:
clicked_dirt:
type: '!has permission'
permission: 'clicked.dirt'
diamond:
slot: 0
priority: 2
display_name: '&eDIAMOND'
click_commands:
- '[console] lp user %player_name% permission unset clicked.dirt'
- '[refresh]'
It would look something like this @sour owl
👀 🧐
I will try to do it now.
Isn't it refresh?
Update became outdated
I see update doesn't work but refresh does
Oh yeah. Update isn't outdated. It was never an action.
I don't know. I use deluxemenus 1.12.0
Why not 1.14.0?
Yes it will work with minecraft 1.13.2
also I've changed the example I gave above
and you need luckperms for it to work
luckperms and vault
okey second i update server and test
If you have a different permission plugin than luckperms you will need to change the command in my example to whatever it is for your plugin
i use luckyperms
no I dropped deluxemenus 1.14.0 in server and it doesn't work, it doesn't even load
after these changes it still doesn't work for some reason
Ok, what doesn't work?
everything. when I click, nothing changes, and after manually issuing the permit. the land still hasn't changed to diamond
Are you OP when testing the menu?
yes
without op it still doesn't work
Do you have LuckPerms installed?
yes
items:
dirt:
slot: 0
priority: 1
display_name: '&eDIRT'
click_commands:
- '[console] lp user %player_name% permission set clicked.dirt'
- '[message] &aClicked!'
- '[refresh]'
view_requirement:
requirements:
clicked_dirt:
type: '!has permission'
permission: 'clicked.dirt'
click_requirement:
requirements:
clicked_dirt:
type: '!has permission'
permission: 'clicked.dirt'
deny_commands:
- '[message] &cCould not click!'
diamond:
slot: 0
priority: 2
display_name: '&eDIAMOND'
click_commands:
- '[console] lp user %player_name% permission unset clicked.dirt'
- '[refresh]'
Try this and tell me what message is shown in chat?
when you click the dirt
Then you've probably misformatted something. I want you to copy your menu and put it in https://paste.helpch.at and then send the link here
ready
I haven't configured anything yet, I want to figure it out and then do what I want.
alot of menus setups use update for some reason
There is an update feature but it isn't an action. It would look something like update: true and then only some parts of the menu update and it does this automatically every 10 seconds (configurable value). But it only updates item display names and item lores.
Hmm. I'll have to test this menu later when I get off work. I can't see anything wrong with it right now
Yea I know that but there is still an action that I saw in a menu which was update
So, I've copied your menu exactly and I am able to use the menu just fine. Are you 100% sure you do not have OP and you do not have the * permission?
yes absolutely. I don't know it doesn't work for me
Can you execute /papi dump and send the generated link here?
okey
by the way, to configure this menu, I use a test server (it's not the one on which I've done everything in the whole time) so I can reset anything
Can you update DeluxeMenus and PlaceholderAPI to the latest versions? You are using old ones
new version deluxemenus didnt work
and placholder api i can update
deluxemenus 1.12.0 glows red and the new one doesn't even load
Umm, can you send the startup logs when you try the latest version?
okey second
Strangely, 1.12.0 stopped working for me, although everything was fine last time.
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)
@sour owl, DeluxeMenus is not starting because your server runs java 8 but it requires java 11 now. Is there a reason you're sticking with java 8?
As far as I know 1.13 works on this version. Can it work on a newer one?
and will everything be okay. I don't know
You are using Paper so it will work just fine with java 11
Java is backwards compatible 99.99% of time. I can tell you that Paper and DeluxeMenus will not break. I can't promise you other plugins won't but I have never heard of a plugin that broke like that unless it intentionally doesn't support a higher java version.
I personally would suggest java 11 and not higher for your server version
okay, thank you very much
now I need to remember or watch the guide on how to change the version
Probably watch a tutorial if you're not sure. There are plenty of those
Why is that?
If you want, I can try to guide you step by step. It should not take more than 5-10 minutes at most
Now I'm trying to do it with chatgpt because in my language the guides are only through the website and there with one button change Java 8 to Java 11
Are you doing it on linux or on windows?
windows
Download it from here
"Download MSI"
or .msi
it will download an executable that will let you install easily with a few clicks
What should I press here?
1
javasoft no?
no
What should I change here?
ok I'll try now
System Info: Java 11 (OpenJDK 64-Bit Server VM 11.0.26+4) Host: Windows 11 10.0 (amd64)
Loading libraries, please wait...
he used java 11😆
wow it work
:)
thank you very very very much!)
Now I'll try what I started it for.
oh my god finally I was able to do it! thank you!!!!
🩶
The menu works?
Well, it was the older plugin version at fault but I'm happy you got it to work now