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.
Is your feature request related to a problem? Please describe.
Currently, Gringotts doesn't work well with custom item plugins. Luckily, ItemMeta is ConfigurationSerializable which means that it should be fairly trivial to add things like Enchantments, Flags, HideFlags, etc. to an item.
Ideally we'd also provide some command to set the denominations in the config based on the current held item so that things like NBT data could be copied over and stored in the internal field of ItemMeta, allowing support for plugins like Oraxen, MythicMobs, and ItemsAdder.
Describe the solution you'd like
Update the configuration format to allow for arbitrary ItemMeta.
Describe alternatives you've considered
Add fields to represent each piece of ItemMeta
Add partial matching so that only the given fields need to match on a given item for it to be considered currency -- I may still do this in my PR just because I think it might be useful.
Additional context
I'm going to open a PR for this in the next couple days.
Is your feature request related to a problem? Please describe. Currently, Gringotts doesn't work well with custom item plugins. Luckily, ItemMeta is ConfigurationSerializable which means that it should be fairly trivial to add things like Enchantments, Flags, HideFlags, etc. to an item.
Ideally we'd also provide some command to set the denominations in the config based on the current held item so that things like NBT data could be copied over and stored in the internal field of ItemMeta, allowing support for plugins like Oraxen, MythicMobs, and ItemsAdder.
Describe the solution you'd like Update the configuration format to allow for arbitrary ItemMeta.
Describe alternatives you've considered
Additional context I'm going to open a PR for this in the next couple days.