InventoryDB: Metadata ignored/changed
When using the InventoryDB option, there is no way to specify a metadata value for different items used as the major and minor currency increments.
For example, if I wanted to use lapis lazuli as one type of currency, I would need to be able to specify both the Item ID (351) and the metadata value (4) for that item.
Currently, the data value is ignored and all items with the same ID are counted together. In this example case, that would mean that all other items with the same ID (ink sac, bonemeal, cocoa beans, and all various types of dye) are counted together as currency. Worse, performing any transactions replaces every different item with data value zero (For example, I have 10 lapis, 10 cocoa beans, and 10 bonemeal in inventory, and someone /pays me 10 credits -- I now have 40 ink sacs).
To specify an item to use as currency (or for anything), you need to be able to define both the item ID and its metadata value in the configuration file.
For example, if I wanted to use lapis lazuli as one type of currency, I would need to be able to specify both the Item ID (351) and the metadata value (4) for that item.
Currently, the data value is ignored and all items with the same ID are counted together. In this example case, that would mean that all other items with the same ID (ink sac, bonemeal, cocoa beans, and all various types of dye) are counted together as currency. Worse, performing any transactions replaces every different item with data value zero (For example, I have 10 lapis, 10 cocoa beans, and 10 bonemeal in inventory, and someone /pays me 10 credits -- I now have 40 ink sacs).
To specify an item to use as currency (or for anything), you need to be able to define both the item ID and its metadata value in the configuration file.
Leave a comment