Jump to content

/Sell console error

Pending 2.1.0

BigBadKittySlayer
BigBadKittySlayer

Posted

/sell command is not working. I tried reinstalling the plugin .cs file, but I'm getting this error in console:

 

Failed executing chat command 'sell' in 'ShoppyStock v2.1.0 by ThePitereq' [callback] (The given key 'money' was not present in the dictionary.)
   at StockData System.Collections.Generic.Dictionary<string, Oxide.Plugins.ShoppyStock+StockData>.get_Item(string key)
   at void Oxide.Plugins.ShoppyStock.RedrawSellInventoryItems(BasePlayer player) in /home/container/carbon/plugins/ShoppyStock.cs:line 8841
   at void Oxide.Plugins.ShoppyStock.OpenSellUI(BasePlayer player) in /home/container/carbon/plugins/ShoppyStock.cs:line 8830
   at void Oxide.Plugins.ShoppyStock.OpenUiCommand(BasePlayer player, string command, string[] args) in /home/container/carbon/plugins/ShoppyStock.cs:line 4164
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
 

Thanks for your help.

ThePitereq

Posted

Hey! Answered on discord.
it's because your stock market is disabled.
do the:
"Stock Market Config": {
     "Enabled": true,

  • Like 1
2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

141.8k

Files Sold

Total number of files sold.

3m

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.