Jump to content
Message added by ThePitereq,

CarbonAliases Extension is required only if your server runs on Oxide with ShoppyStock version 2.0 or higher!

Addon isn't required on Carbon servers and on 1.x version!

17 Screenshots

  • 72k
  • 2.1k
  • 117.36 kB

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



ZA_Machete

Posted

3 hours ago, ThePitereq said:

Any error in console? Will take a look.

Not that i can see after the item expires it go in the redeem storage but not the currency

ZA_Machete

Posted

On 8/10/2025 at 2:55 PM, ThePitereq said:

Any error in console? Will take a look.

I loaded an old version file the 2.0.2 and the redeem works fine with the items and the currency 

ThePitereq

Posted

2 hours ago, vanzylquintin42 said:

I loaded an old version file the 2.0.2 and the redeem works fine with the items and the currency 

I dont think that i"ve changed anything related to withdraw/redeem etc. between these version,s make sure that it wasnt fixed by itself on most recent one now 😄

ZA_Machete

Posted

On 8/13/2025 at 5:27 PM, ThePitereq said:

I dont think that i"ve changed anything related to withdraw/redeem etc. between these version,s make sure that it wasnt fixed by itself on most recent one now 😄

Tested and it seems to be working right with the new update dont know what went wrong on the previous one 

  • Like 1
bidi1252

Posted (edited)

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!
@ThePitereq
 

  "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
      }
    }
  }

bug1.PNG.bc11fc2a3405920b48f40ab1186a7399.PNGbug2.PNG.aab285805b6bcfb6c35520ede810c026.PNG
 

Additionally, I noticed an issue with the limits:

If players try to sell using the button shown in the screenshot, the limit works correctly and they can’t sell more than allowed.

But if they use the /sell command, the limit does not apply and they can sell unlimited items.

 

Edited by bidi1252
Mado

Posted

I think it would be more user-friendly for players if we could display product information in the space on the product detail page. Would it be possible to add this feature?
Of course, there's no problem at this point, and there's no need to rush into this. It's just a suggestion.

28c61dfdb0f2d7b66a52f0027342d94e.png

Mado

Posted

Sorry It's generated in the language file. I didn't realize that.

Theswingingturtle

Posted

Hello, when I implement customizable items, they just get a white square instead of skinid picture. Is it possible to connect CustomizableWeapons and CustomizableProtection so it works properly with the pictures somehow? cause it sure is possible to change the vanilla items skins in the shop thrue the plugins so thinking there should be some way for custom items too

The1stVoidRunner

Posted (edited)

Would it be possible to add a config option to completely disable the Sell To Server aspect of the Stock Market?

Also Is DLC Checking broken? i have nearly everything checking for skin ownership but the Frontier pack content (as an example) doesnt say that i dont own it (and i dont own it)

Edited by The1stVoidRunner
  • Like 1
ThePitereq

Posted

On 8/18/2025 at 4:51 PM, bidi1252 said:

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!
@ThePitereq
 

  "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
      }
    }
  }

bug1.PNG.bc11fc2a3405920b48f40ab1186a7399.PNGbug2.PNG.aab285805b6bcfb6c35520ede810c026.PNG
 

Additionally, I noticed an issue with the limits:

If players try to sell using the button shown in the screenshot, the limit works correctly and they can’t sell more than allowed.

But if they use the /sell command, the limit does not apply and they can sell unlimited items.

 

Will take a look at the buy from server.
/sell has been fixed already and will be pushed today as an update.
Sorry for wating for resposne i was on vacations for last 12 days.

On 8/24/2025 at 10:45 AM, Theswingingturtle said:

Hello, when I implement customizable items, they just get a white square instead of skinid picture. Is it possible to connect CustomizableWeapons and CustomizableProtection so it works properly with the pictures somehow? cause it sure is possible to change the vanilla items skins in the shop thrue the plugins so thinking there should be some way for custom items too

Each skin is being downloaded directly from steam,. so if the shortname and skin is correct, it should download it from steam, if you set icon url then maybe your host is messing something up.

On 8/25/2025 at 8:20 AM, The1stVoidRunner said:

Would it be possible to add a config option to completely disable the Sell To Server aspect of the Stock Market?

Also Is DLC Checking broken? i have nearly everything checking for skin ownership but the Frontier pack content (as an example) doesnt say that i dont own it (and i dont own it)

Yeah, you justn eed to empty the sell to server config part in /data/ShoppyStock/StockMarkets/Configs/<stockname>.json

Dlc checking is not broken, skin check is for "real item skinnables" with the same shortname, so frontier pack content isn't an skin as it have different shortname, for this you need to just enable dlc check.
And make sure you have most recent verison as i;ve made many changes to this and not sure if it still works correctly.

The1stVoidRunner

Posted (edited)

16 hours ago, ThePitereq said:

Will take a look at the buy from server.
/sell has been fixed already and will be pushed today as an update.
Sorry for wating for resposne i was on vacations for last 12 days.

Each skin is being downloaded directly from steam,. so if the shortname and skin is correct, it should download it from steam, if you set icon url then maybe your host is messing something up.

Yeah, you justn eed to empty the sell to server config part in /data/ShoppyStock/StockMarkets/Configs/<stockname>.json

Dlc checking is not broken, skin check is for "real item skinnables" with the same shortname, so frontier pack content isn't an skin as it have different shortname, for this you need to just enable dlc check.
And make sure you have most recent verison as i;ve made many changes to this and not sure if it still works correctly.

Alright, How do i enable DLC Check? Theres Nothing in the Plugin Config Mentioning DLC at all and all i can find in the shop config is Bluebrint ownership and Skin Ownership checks. I have Config version 2.0.0 and Plugin Version 2.0.5.

Edited by The1stVoidRunner
ThePitereq

Posted

4 hours ago, The1stVoidRunner said:

Alright, How do i enable DLC Check? Theres Nothing in the Plugin Config Mentioning DLC at all and all i can find in the shop config is Bluebrint ownership and Skin Ownership checks. I have Config version 2.0.0 and Plugin Version 2.0.5.

YEah sorry, the DLC check option is Player Blueprint Ownership Required make sure to keep this one to true and Player Skin Ownership Required to false

The1stVoidRunner

Posted

On 8/28/2025 at 2:53 AM, ThePitereq said:

YEah sorry, the DLC check option is Player Blueprint Ownership Required make sure to keep this one to true and Player Skin Ownership Required to false

Alright. Would it be possible to seperate the DLC Check and Blueprint Check? Because some items i want them to buy without the blueprint but are from a DLC.

ThePitereq

Posted

7 hours ago, The1stVoidRunner said:

Alright. Would it be possible to seperate the DLC Check and Blueprint Check? Because some items i want them to buy without the blueprint but are from a DLC.

Wdym? If you own DLC it means you own the blueprint so it cannot be splitted.

bidi1252

Posted

Quote

Will take a look at the buy from server.
/sell has been fixed already and will be pushed today as an update.
Sorry for wating for resposne i was on vacations for last 12 days.

Update:
The /sell window still doesn’t work as expected — players can still sell unlimited amounts when using /sell.

Selling via the button shown in the screenshot works correctly and respects the limit.
Because of this, the plugin is still not usable for me at the moment.

 

@ThePitereq

ThePitereq

Posted

1 minute ago, bidi1252 said:

Update:
The /sell window still doesn’t work as expected — players can still sell unlimited amounts when using /sell.

Selling via the button shown in the screenshot works correctly and respects the limit.
Because of this, the plugin is still not usable for me at the moment.

 

@ThePitereq

Hey, yeah sorry for that there was another similar issue, but this one has also been found and the 2.0.8 will contain an fix with this.

bidi1252

Posted

On 8/31/2025 at 8:43 PM, ThePitereq said:

Hey, yeah sorry for that there was another similar issue, but this one has also been found and the 2.0.8 will contain an fix with this.

Any news on when we might see a fix for it?

ThePitereq

Posted

8 hours ago, bidi1252 said:

Any news on when we might see a fix for it?

Hey, will push an update today with few more updates, sorry for waiting.

Grumpy Old Man

Posted

i am looking for the command to remove RP from a player, i try /curr rp take "STEAM id" "quantity" 

and its not working, anyone know ?

ThePitereq

Posted

On 9/11/2025 at 7:39 PM, Grumpy Old Man said:

i am looking for the command to remove RP from a player, i try /curr rp take "STEAM id" "quantity" 

and its not working, anyone know ?

What is the command output printing?

bidi1252

Posted (edited)

I found another possible bug, and it might be related to the following settings:
 

          "Purchase From Server - Enabled": true,
          "Purchase From Server - Permission (not required, if empty)": "",
          "Purchase From Server - Percentage Of Sold Items To Purchase": 75.0,
          "Purchase From Server - Minimal Purchase Price (percentage of max sell price)": 150.0,
          "Purchase From Server - Maximal Purchase Price (percentage of max sell price)": 250.0,

In this situation, players can sometimes buy items without paying any money.
It looks like the purchase price for some items isn’t being calculated correctly.

For example:

Sell an item to the server.

Keep selling until there’s only 1 left in stock.

Try to buy the same item back.
The purchase price becomes 0, and players can buy it for free.

There’s also an error appearing in the console, but I’m not exactly sure whether it happens during the purchase or sale process.
I’ll share the relevant code and log output below.

 


    "pie.apple": {
      "0": {
        "Default Sell Amount Calculation (DSAC) (Read On Website)": 1000,
        "Price - Min": 120.0,
        "Price - Max": 125.0,
        "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)": 50,
        "Max Daily Sell Amount Permissions (permission: limit)": {
          "shoppystock.selllimit.1": 2000
        },
        "Allow Re-Purchase From Server": true,
        "Override Skinned Items As Unskinned (works only for configuration of skinId 0)": false
      }
    },



@ThePitereq
 

bug2.PNG

bug11.PNG

c#2.PNG

Edited by bidi1252
ThePitereq

Posted

19 hours ago, bidi1252 said:

I found another possible bug, and it might be related to the following settings:
 

          "Purchase From Server - Enabled": true,
          "Purchase From Server - Permission (not required, if empty)": "",
          "Purchase From Server - Percentage Of Sold Items To Purchase": 75.0,
          "Purchase From Server - Minimal Purchase Price (percentage of max sell price)": 150.0,
          "Purchase From Server - Maximal Purchase Price (percentage of max sell price)": 250.0,

In this situation, players can sometimes buy items without paying any money.
It looks like the purchase price for some items isn’t being calculated correctly.

For example:

Sell an item to the server.

Keep selling until there’s only 1 left in stock.

Try to buy the same item back.
The purchase price becomes 0, and players can buy it for free.

There’s also an error appearing in the console, but I’m not exactly sure whether it happens during the purchase or sale process.
I’ll share the relevant code and log output below.

 


    "pie.apple": {
      "0": {
        "Default Sell Amount Calculation (DSAC) (Read On Website)": 1000,
        "Price - Min": 120.0,
        "Price - Max": 125.0,
        "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)": 50,
        "Max Daily Sell Amount Permissions (permission: limit)": {
          "shoppystock.selllimit.1": 2000
        },
        "Allow Re-Purchase From Server": true,
        "Override Skinned Items As Unskinned (works only for configuration of skinId 0)": false
      }
    },



@ThePitereq
 

bug2.PNG

bug11.PNG

c#2.PNG

ooh, interesting. Can you provide me your full stock config file? It will help a lot, thanks! Will test it tomorrow.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2
  • Love 9

ThePitereq's Collection

User Feedback

2m

Downloads

Total number of downloads.

9.5k

Customers

Total customers served.

138.1k

Files Sold

Total number of files sold.

2.9m

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.