#Help with DeluxeMenus please
1 messages · Page 1 of 1 (latest)
As I've said in #general-plugins, use ItemFlags. These can differ based on server verison and whether you use Spigot or Paper.
If you share your exact server version, I can give you the exact item flag you need.
(or at least try to find the exact one)
Server version: 1.21.4
Core: Leaf
Try
item_flags:
- 'HIDE_ADDITIONAL_TOOLTIP'
It doesn't work for some reason
Try all of them. See if any work. And if they do, remove 1 by 1 until you find the correct one. There's not that many:
item_flags:
- HIDE_ADDITIONAL_TOOLTIP
- HIDE_ARMOR_TRIM
- HIDE_ATTRIBUTES
- HIDE_DESTROYS
- HIDE_DYE
- HIDE_ENCHANTS
- HIDE_PLACED_ON
- HIDE_STORED_ENCHANTS
- HIDE_UNBREAKABLE
Fine
Are '' not needed?
I put all these flags at once, and everything remained as it was 😦
No. In YAML, unless the value contains some special value (don't remember what they are), you don't need to surround the value with quotes.
Hmm. The item flags might be different on Leaf. I can't find the JavaDocs for leaf unfortunately. Do you by any chance have any way to contact the Leaf developers? And ask them to share a link to the JavaDocs?
And if I use Purpur, will the flags work?
It seems to be the JavaDocs of the Leaf core: https://www.leafmc.one/docs/
Performant fork of Paper
Those are just Docs. Not JavaDocs. Unfortunatelly, I can't tell you if it will work or not.
So you haven't encountered the Purpur core?
If I write something that is not clear, sorry, I'm bad at English
Well, I know what it is, I just don't know if those items flags will work or not on Purpur. The same way they don't work on leaf, they could also not work on Purpur.
What's the matter?)
You will have to test it yourself. I don't have the time to test and tell you if it will work or not.
How to check? What should I do?