Shopkeepers

Shopkeepers

2M Downloads

Why cant i sell more stacks?

Kingwersens opened this issue ยท 2 comments

commented

I'm so confused my Shopkeepers won't sell more than one stack of things plz help Playing in 1.14.4
If this isn't a feature plz make it one Thanks.

commented

Shopkeepers uses minecraft's trading interface which only supports trades of one item stack for up to two input item stacks.
What you can do is shift click to trade multiple times (for the same conditions), like it is possible in vanilla minecraft. But you can't define prices for more than one item stack.

This might principally be possible with fundamental changes to:

  • How trades are setup: Players would need to be able to specify item stack sizes beyond the minecraft limits inside the editor, and possibly (if this were to be supported as well) multiple item stacks of different types.
  • How trades are represented inside the trading interface: A trading player would need to be able to determine which items and how many of them he receives. A possible solution would be to specify this inside the result item's lore text (with the drawback that, unlike it is known from trading in vanilla minecraft, the lore of the item displayed inside the result slot doesn't exactly match the received item anymore).
  • And processed: The plugin would have to deal with handing out multiple result items and with how to inform the player about possible issues, like not having enough space in inventory and the like.

So basically this would require changes to all aspects of how the trading with this plugin currently works, making it a different plugin in that aspect and diverging from the vanilla trading logic even fruther. Currently I considered this to be out of scope for this plugin.

commented

I would love this feature, but it does seem unlikely given what you just said.