Item Limits
How to enable and use Item Limits.
This plugin offers the possibility to limit the amount of an Item you can buy. With this you can choose the restock time as well.
For the Refresh Time there are the following options (they are case insensitive)
"daily"
"2daily"
"weekly"
"random" (between 1 and 7 Days)
"never" (like it says, it'll never restock)
Each Item that you want to have a limit needs to be in it's own array [ ] including the item, a min and a (optional) max value.
When you provide a min and a max value, the limit amount will be a random number between this min and max value generated by the script.
When you don't provide a max value, the max value will be equal to the min value so the limit amount will always be the same.
When you don't want a limit amount at all of an Item, simple leave it as it is (so without [ ]).
The max we can buy is 14, so once we do this, the Item will be out of stock.
When we would try to buy another of this item, it would give us a message saying how long we have to wait for a restock.
This depends on the days that have passed since the Item is out of stock and the Refresh Time you have set for this mart.
If you want to quickly restock all stores, you can now use forcePokemonMartRefresh
to refresh the stock of all stores.
Last updated