🌱Example: Stock (like in life)
Set dynamic value for your product configs
Read dynamic prices before read this page. Similar to Dynamic Prices, if you want to make stock system, do it in buy-limits
option, for example:
We changed:
price-mode
option toANY
orALL
.buy-limits
option to{sell-times-server}
. For sell limits, you need write{buy-times-server}
here. Replace the placeholder to{buy-times-player}
and{sell-times-player}
to make the stock be per player.buy-limits-reset-mode
option to'NEVER'
Last updated