ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 175 forks source link

Material Type Selling/Buying (Wildcard) #471

Open LogGits opened 3 years ago

LogGits commented 3 years ago

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

Additional context

Loving the plugin, keep up the great work!

Phoenix616 commented 3 years ago

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 commented 1 year ago

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