Jump to content

not working exactly

Pending 2.0.5

nooblaz
nooblaz

Posted

Hello,
I think I might have found a bug in the plugin, or maybe it’s not working exactly as I understood.

As shown in the attached screenshot, I added a product (apple) to the stock market and left "Allow Re-Purchase From Server": true. My understanding (I could be wrong) is that when players sell X apples to the server, then other players should only be able to purchase up to that X amount. In other words, they shouldn’t be able to buy more than what has been sold to the server.

However, I couldn’t get this system to work. For example, if players sell 100 apples to the server, other players are still able to buy more than 100. Also, even when I set a limit, sometimes players are able to sell more than they should.

I will attach the screenshots and the JSON config file. (The config is from the default plugin settings when first installed, I only modified it to sell apples in data/st/sm/config/money.json.)

Thanks!
 

"Server Sell Items (shortname : [ skinId : ItemConfig ])": { "apple": { "0": { "Default Sell Amount Calculation (DSAC) (Read On Website)": 10, "Price - Min": 0.08, "Price - Max": 0.25, "Price Parent - Shortname (ignore, if empty)": "", "Price Parent - Skin ID": 0, "Price Parent - Min Boost": 0.0, "Price Parent - Max Boost": 0.0, "Max Daily Sell Amount (-1, to disable)": 15, "Max Daily Sell Amount Permissions (permission: limit)": { "shoppystock.selllimit.1": 100 }, "Allow Re-Purchase From Server": true, "Override Skinned Items As Unskinned (works only for configuration of skinId 0)": false } } }

 

ThePitereq

Posted

Hey, already found both issues. Will be fixed today.

1.9m

Downloads

Total number of downloads.

9.1k

Customers

Total customers served.

133.7k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.