Jump to content

Shoppy Stock 2.0.4

Closed 2.0.4

ProjektEU
ProjektEU

Posted

Good day, I have a problem in the shop where the player can buy various events, but the shop does not send a command to the console and it cannot be purchased and it tells me this. Do you see where the problem could be? 15:40:50 [ShoppyStock] Player [God] Sonny [76561199082465414] has ran ShoppyStock console command with args: shop purchase 

"TreeHitFinal": {
          "Console Commands Ran On Purchase (if set, ignores item)": [
            "startxpevent TreeHitFinal",
            "say <color=#0ffd01>{username} TreeHitFinal Event </color>"
          ],
          "Item Shortname": "TreeHitFinal",
          "Item Skin ID": 3472241851,
          "Item Amount": 1,
          "Custom Item Name": "",
          "Shop Display Name": "TreeHitFinal",
          "Is Blueprint": false,
          "Player Blueprint Ownership Required": false,
          "Player Skin Ownership Required": false,
          "Icon URL/RUST Path/Skin ID (for command listings)": "",
          "Price": 10.0,
          "Price Per Purchase Multiplier": 1.0,
          "Multiply Price Per Daily (true) Or Per Wipe (false) Purchases": true,
          "Show Description Field (generates line in language file)": false,
          "Discount Permissions (permission: discountedPrice)": {},
          "Disable Discount": false,
          "Required Permission To Display": "",
          "Display Blacklist Permission": "",
          "Count Limits For Whole Server (not per player)": false,
          "Daily Buy Max": 0,
          "Daily Buy Permissions (permission: limit)": {},
          "Wipe Buy Max": 0,
          "Wipe Buy Permissions (permission: limit)": {},
          "Limit Mass Purchase To One": false,
          "Cooldown Between Purchases (in seconds, 0 to disable)": 0.0,
          "Cooldown Permissions (permission: time)": {},
          "Offer Roll - Weight (chance)": 1

ProjektEU

Posted

good day then I have another question in this new version I don't know where I can find the settings for the /sell command what is there to configure thank you

ProjektEU

Posted

20:26:12 Failed to call hook 'UpdatePricesConsoleCommand' on plugin 'ShoppyStock v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ShoppyStock.UpdatePricesConsoleCommand (ConsoleSystem+Arg arg) [0x00019] in <a5984e0bde1c4a9c9496029d7ffc92e6>:0
at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00bf6] in <a5984e0bde1c4a9c9496029d7ffc92e6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0
20:26:12   Command updateprices

ThePitereq

Posted

On 8/8/2025 at 3:43 PM, ProjektEU said:

Good day, I have a problem in the shop where the player can buy various events, but the shop does not send a command to the console and it cannot be purchased and it tells me this. Do you see where the problem could be? 15:40:50 [ShoppyStock] Player [God] Sonny [76561199082465414] has ran ShoppyStock console command with args: shop purchase 

"TreeHitFinal": {
          "Console Commands Ran On Purchase (if set, ignores item)": [
            "startxpevent TreeHitFinal",
            "say <color=#0ffd01>{username} TreeHitFinal Event </color>"
          ],
          "Item Shortname": "TreeHitFinal",
          "Item Skin ID": 3472241851,
          "Item Amount": 1,
          "Custom Item Name": "",
          "Shop Display Name": "TreeHitFinal",
          "Is Blueprint": false,
          "Player Blueprint Ownership Required": false,
          "Player Skin Ownership Required": false,
          "Icon URL/RUST Path/Skin ID (for command listings)": "",
          "Price": 10.0,
          "Price Per Purchase Multiplier": 1.0,
          "Multiply Price Per Daily (true) Or Per Wipe (false) Purchases": true,
          "Show Description Field (generates line in language file)": false,
          "Discount Permissions (permission: discountedPrice)": {},
          "Disable Discount": false,
          "Required Permission To Display": "",
          "Display Blacklist Permission": "",
          "Count Limits For Whole Server (not per player)": false,
          "Daily Buy Max": 0,
          "Daily Buy Permissions (permission: limit)": {},
          "Wipe Buy Max": 0,
          "Wipe Buy Permissions (permission: limit)": {},
          "Limit Mass Purchase To One": false,
          "Cooldown Between Purchases (in seconds, 0 to disable)": 0.0,
          "Cooldown Permissions (permission: time)": {},
          "Offer Roll - Weight (chance)": 1

{userName} is valid key not {username}

 

18 hours ago, ProjektEU said:

good day then I have another question in this new version I don't know where I can find the settings for the /sell command what is there to configure thank you

on top of the config.
 

    "Open Certain Sell Inventory (command: shopName)": {

      "sell": "money"

    },

18 hours ago, ProjektEU said:

20:26:12 Failed to call hook 'UpdatePricesConsoleCommand' on plugin 'ShoppyStock v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ShoppyStock.UpdatePricesConsoleCommand (ConsoleSystem+Arg arg) [0x00019] in <a5984e0bde1c4a9c9496029d7ffc92e6>:0
at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00bf6] in <a5984e0bde1c4a9c9496029d7ffc92e6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0
20:26:12   Command updateprices

must be caused by your config or wrong command usage, cant say whats wrong with this error.

ProjektEU

Posted

TreeHitFinal": {
          "Console Commands Ran On Purchase (if set, ignores item)": [
            "startxpevent TreeHitFinal",
            "say <color=#0ffd01>{userName} TreeHitFinal Event </color>" not vaild

 

ThePitereq

Posted

Its becuase you have also  "Item Shortname": "TreeHitFinal", and it tries to create item with that shjortname, make it empty.

ProjektEU

Posted

It worked fine before updating to this version of this plugin.

ThePitereq

Posted

On 8/10/2025 at 3:25 PM, ProjektEU said:

It worked fine before updating to this version of this plugin.

Because 1.0 didn't allowed to make commands + items, while 2.0 allows that

1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

132.3k

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.