You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When a shop displays amount a person can buy, if the stock of that shop is less than what is displayed on the sign, it shows out of stock.
Describe the solution you'd like
Add an option in config to allow partial item sell. So if the a seller put selling 1728 items on his sign for $100, if the chest has only 600 items, then it would allow the buyer to buy the 600 items instead of showing out of stock and would charge him for $34.71. It should only work if player enabled vault and for sell signs where other players can buy items from that sign.
Additional context
Here are formulas you can use:
if sell sign:
if stock inside chest is less than what is displayed:
(unit price)=(sell amount of the item)/(sell price displayed)
(what to charge)=(amount of items left in the container)/(unit price)
then it would let the player buy what is left in that chest even if it is less than what is displayed if the option for partial sell is enabled in configs of the plugin.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When a shop displays amount a person can buy, if the stock of that shop is less than what is displayed on the sign, it shows out of stock.
Describe the solution you'd like
Add an option in config to allow partial item sell. So if the a seller put selling 1728 items on his sign for $100, if the chest has only 600 items, then it would allow the buyer to buy the 600 items instead of showing out of stock and would charge him for $34.71. It should only work if player enabled vault and for sell signs where other players can buy items from that sign.
Additional context
Here are formulas you can use:
if sell sign:
if stock inside chest is less than what is displayed:
(unit price)=(sell amount of the item)/(sell price displayed)
(what to charge)=(amount of items left in the container)/(unit price)
then it would let the player buy what is left in that chest even if it is less than what is displayed if the option for partial sell is enabled in configs of the plugin.
The text was updated successfully, but these errors were encountered: