nikosgram / gringotts

Gringotts is an item-based economy plugin for the Bukkit Minecraft server platform. Unlike earlier economy plugins, all currency value and money transactions are based on actual items in Minecraft, per default emeralds.
https://www.spigotmc.org/resources/gringotts.42071/
BSD 2-Clause "Simplified" License
43 stars 36 forks source link

Adding Enchants and HideFlags to custom currencies #137

Closed justaureus closed 1 year ago

justaureus commented 1 year ago

Describe the solution you'd like I would like to be able to add enchantments to custom currencies in order to get the "glowing" effect from them.
Beyond this, I would also like to be able to use the HideFlags functionality of vanilla items to hide the enchants of the item.

Describe alternatives you've considered Currently the only other alternative is to simply not have the functionality. This is definitely a low-priority addition to an already great plugin but I would love to see the functionality added! :)

Additional context Using the below give command you can see that while the item has the enchant glint, the tool tip does not show the echantments. /give @p emerald{display:{Name:'{"text":"Gem","color":"green","bold":true}'},HideFlags:1,Enchantments:[{id:"minecraft:unbreaking",lvl:1s}]} 1