πStock Guide
Info about how stock works with this plugin.
Overview
You can enable stock by changing the Shop Mode to stock or dynamic. These options will set a stock value for each item. Items sold by players will also contribute to the total stock amount. The plugin will automatically restock these items every set amount of time if the stock value is below the stock median value for that item.
How To Change Default Stock YAML
Note: You'll want to run /shop reset stock after you change the default if you want all current items to reset to the new value.
Open the
config.ymland change the keydefault-item-stockto your desired amount.Run the command:
/shop reload
How To Change Default Stock For Each Item In-Game
Hold your target item in your main hand.
Run command:
/shop set shop <shop> stock-median <amount>
How To Change Current Stock For Each Item In-Game
Hold your target item in your main hand.
Run command:
/shop set shop <shop> stock <amount>
Last updated