📤 Product Stock

In Virtual Shop, there is Global and Player product Stock features available for each product individually.

In short, stock allows you to set amount of the product available ti buy/sell with a cooldown. When cooldown is expired, stock resets and players can buy/sell product again.

You can disable stock auto-reset by setting reset time to -1.

🌐 Global Stock

Global stock defines amount of product available to buy/sell globally for all players. If there is 0 products left, players can't sell/purchase it until restocked.

Buying = Buy Amount -1 ↓, Sell Amount +1 ↑

Selling = Buy Amount +1 ↑, Sell Amount -1 ↓

Players can fill global stock manually by selling items. Selling 10 items will increase product stock by that amount. The same for buying.

Product restock timer activates right when first purchase was made.

🧑‍💼 Player Stock

Player stock defines an individual player limit for buying/selling the item.

In other words, players are not allowed to buy/sell more than defined in player limit even if there is enough amount in global stock.

Player stock is also can be restocked automatically after certain amount of time if set so.

Player stock can not be filled up manually like global stock. Every transaction always decreases the allowed amount of the product.

Last updated