We were having an issue where this plugin was allowing players to sell their entire inventory of resources at bandit/outpost regardless of what we put on the note.
I think we had it configured properly, but no matter the settings they could just sell hundreds of rad pills or stacks and stacks of frags, etc.
We ended up removing it because we decided to remove these features from our sever, but wanted to bring it to your attention.
Inventory Limits
It sounds like you're saying that the vending machines had infinite stock. This plugin only provides infinite stock if explicitly configure to do so. There are also other plugins which enable infinite stock which you might have been using, such as Vending In Stock.
One thing that can go wrong when configuring this plugin is not being aware that the vending machine has only one stock inventory (same as vanilla Rust). This means if the vending machine gives players scrap in exchange for another resource, every single listing which provides scrap stock simultaneously, so the quantity of scrap in the vending machine inventory refills faster. Additionally, if you have one listing for scrap at a higher stock amount or frequency, then that means the quantity of scrap in the vending machine will be higher, allowing players to buy more scrap from the vending machine overall, regardless of which specific resource they are exchanging.
We were only using your plugin and I am referring to being able to sell 9.999 metal frags for scrap.
Do you still have the data file for the plugin? If so, can you send it to me?
Sorry, it looks like it cleared. It was tested before wipe. I can do some more testing again to try to repro it.
So I set it to 10 scrap for 100 cloth and a max stock of 30. It let's me sell 3k cloth in one transaction. Then the server restarts and it lets me sell 15k cloth in one transaction.WhiteThunder
Do you still have the data file for the plugin? If so, can you send it to me?
{
"SellItem": {
"ShortName": "scrap",
"Amount": 10
},
"CurrencyItem": {
"ShortName": "cloth",
"Amount": 100
},
"RefillMax": 30,
"RefillDelay": 60
},
Merged post
Same thing with metal frags. I have 1 scrap for 20 frags and a max stock of 1000, but it let's me sell 2k scrap/40k frags.
{
"SellItem": {
"ShortName": "scrap",
"Amount": 1
},
"CurrencyItem": {
"ShortName": "metal.fragments",
"Amount": 20
},
"RefillMax": 1000
},

Merged post

here is the buy
The max stock setting is a multiplier, so if you sell 10 scrap x 30 stock, you can buy up to 300 scrap, which takes 3000 cloth. This means your first result worked as expected.
But 15k cloth, seems something is wrong there since that's a 5x multiplier. My guess is that you are selling something else in the vending machine which allows more scrap to be stocked. Can you share the entire data file, or at least the entire section for that specific vending machine?
I was going to suggest that dynamic pricing might be a factor, but looks like you have that disabled according to the screenshot, so that is good as it should rule out that possibility at least.