Jump to content

/Sell console error

Closed 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,

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.5k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.