Too Much Stock [Feedback wanted]

Hello, a few players on my discord discussed a plugin to prevent the server economy getting out of hand. While this is probably a balancing problem at it’s core, balancing is hard and such a plugin could help.

I drafted some systems and would like to get some input on this.

The basic concept is to limit the amount of money and items per item/player/shop as well as introducing dynamic prices that reflect supply/demand with the discrepancy to the original price decaying over time. This way shop plugins can still add items with a static base price, but fetch a dynamic price for the shop/player.

Edit: I’ll write up an example config and put that on the git soon


Will this just plug into base econ plugins like econ lite and such, or will it be able to be hooked into things like pixelmon’s shopkeepers, etc.?

As most shop plugins store prices internally (probably with a mapping item->price) and there’s no item price api (this probably wouldn’t be desirable or super useful anyways) i can’t make this work automatically with other plugins. Even if I used mixins there’s no point in an economy transaction that specifies why money gets moved around.
This means that the shop plugins will have to actively integrate with this api, preferably in a way that makes ‘Too Much Stock’ optional.

1 Like