ChestShop (iConomyChestShop)

ChestShop (iConomyChestShop)

6M Downloads

Ability to ignore lore on certains items

Limeen opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.

Yes, the issue arises when items automatically receive a lore upon crafting, such as "Crafted by [player] on [date]". Since ChestShop treats items with different lore as completely distinct, this prevents identical items (e.g., two stone swords) from being recognized as the same item in shop transactions. This makes it difficult for players to sell or buy these items through ChestShop.

Additionally, Axolotl Buckets do not stack properly in ChestShops, even when they contain Axolotls of the same color. This happens because the NBT data includes the Age tag ({Age:<time>}), making each bucket technically a different item in the eyes of ChestShop. As a result, the chest may appear empty to the shop system even if there are other Axolotl Buckets of the same color inside.

Describe the solution you'd like

I would like an option in the config.yml file that allows ChestShop to ignore lore when comparing specific items. For example:

ignore-lore-items:
  - STONE_SWORD
  - IRON_PICKAXE

Describe alternatives you've considered

Adding a similar option to itemAliases.yml, such as:

'AXOLOTL BUCKET': ignore-lore

Agreements

  • I have checked if there are already similar issues open.
  • I have checked that the latest build doesn't already implement the feature.

Additional context

No response

commented

seems related to #153