#Deluxemenus
1 messages · Page 1 of 1 (latest)
You can use ItemFlags to hide Minecraft attributes on items:
https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/item#item-flags
The formatting is correct, yes. As for which item flag specifically, I can never remember so you'll just need to try them all if the first one doesn't work.
Hm it doesn't work
Did you try other Item Flags?
Already.
Is it this or the whole lore you're trying to hide?
Yes I want to hide it
Which ItemFlags have you tried and what game version is your server?
1.20.4
I just tried a few but couldn't
Try the ItemFlags listed here: https://helpch.at/docs/1.20.4/org/bukkit/inventory/ItemFlag.html
declaration: package: org.bukkit.inventory, enum: ItemFlag
i had the same poblem and sadly it remained unfixed. the 'default lore' can only be removed with removing the whole JSON hover.
or at least for now
@candid zinc Is there a sample config file for requirements like this on the deluxemenus wiki?
I want requirements to convert 2 materials when permission is available or not
I couldn't find anything like that on wikiðŸ˜
items:
1:
material: dirt
display_name: 'NO PERMISSION'
slot: 0
priority: 0
view_requirement:
requirements:
hasperm:
type: '!has permission'
permission: 'my.permission'
2:
material: diamond
display_name: 'YAY! PERMISSION'
slot: 0
priority: 1
view_requirement:
requirements:
hasperm:
type: 'has permission'
permission: 'my.permission'
Note the following options:
slot has the same value for both items
priority, the lower the number, the higher the priority
view_requirement it is used to decide if a player can see the item or not.
If a player can see more than 1 item in the same slot, it will choose it based on priority.