ChestShop-3 icon indicating copy to clipboard operation
ChestShop-3 copied to clipboard

Material Type Selling/Buying (Wildcard)

Open LogGits opened this issue 4 years ago • 2 comments

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

Yes, players arent able to sell all types of Bucket of Tropical Fish,Bucket of Axolotl and shulkerbox in the same container. Automated & using the generic name creates a custom item in db for that specific thing which means player can only sell specific tropical fish/axolotl per chest.

Describe the solution you'd like

I'd like to have the option to allow users to buy items based on it's material type instead of specific. e.g. sell any tropical fish, axolotl, shulkerbox, their respective chests. This could come in the form of a material name list in config for items that use Material instead of custom item that's stored in db.

Describe alternatives you've considered

1 chest per type, this becomes impossible e.g. shulkerboxes almost being unique. I tested Bucket Axoltol for axolotl and that didnt sell any in the chest dispite it being full.

Agreements

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

Additional context

Loving the plugin, keep up the great work!

LogGits avatar Aug 10 '21 09:08 LogGits

Kinda related to #153 and has been on the todo for a while (I think there is an issue about this open on BukkitDev too) but the implementation isn't easily possible with how the plugin works internally.

Phoenix616 avatar Aug 10 '21 12:08 Phoenix616

Another idea related to this: Global config to make all item strings that have no specific metadata set act like wilcards.

Phoenix616 avatar Apr 18 '23 12:04 Phoenix616