When I disable ANY category I get the following error.
Failed to run command '/shop' on plugin 'GUIShop'. (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.GUIShop.CmdGUIShop (BasePlayer player, System.String command, System.String[] args) [0x003c1] in <8dbed02a372c4a6fa3cbf22073cc920f>:0
at Oxide.Game.Rust.Libraries.Command+ChatCommand.HandleCommand (BasePlayer sender, System.String name, System.String[] args) [0x0001b] in <84933d2e14604846856bab8fb62e6ddc>:0
at Oxide.Game.Rust.Libraries.Command.HandleChatCommand (BasePlayer sender, System.String name, System.String[] args) [0x00015] in <84933d2e14604846856bab8fb62e6ddc>:0
at Oxide.Game.Rust.RustCore.IOnPlayerCommand (BasePlayer basePlayer, System.String message) [0x000db] in <84933d2e14604846856bab8fb62e6ddc>:0
Setting 'EnabledCategory' To false
I was able to bypass using that by setting permissions to an unused group.
You'd have to send me your config on a discord msg for me to debug. ( GUIShops configs are too big for pastebin.com now )
my discord id is Khan#8615
That was with just a default config. I hadn't changed anything yet (aside from disabling). I was attempting to block out all the categories then I was going to add one back with just certain things so I could work through all rest of the items and adjust them before enabling them so the shop was up for some things.
If The Default Set Shop to open has been manually set to false on the EnabledCategory Field
& all other global shops are disabled
This will result in an error
If you want to disable all shops, set the default shop to open to be a blank string as stated in the docs.
I had tried that but still was getting errors. My only route was using permissions. Its fine as what I have works for what I need now. I would tinker more with it but if something isn't exactly right it overwrites your config file instead of throwing an error and allowing you to adjust the config like most plugins. At this point I have just enough work into the shop timewise to not want to mess with it. As of now it falls into the if its not broken, don't fix it. I appreciate you getting back to me!