I have only two vendor NPC's in which this config will display. The Food vendor is working but my Medical tender is not for some reason
--------------------
{
"Set Default Global Shop to open": "Commands",
"Switches to Economics as default curency": true,
"Switches to ServerRewards as default curency": false,
"Switches to Custom as default curency": true,
"Custom Currency Item ID": -932201673,
"Was Saved Don't Touch!": true,
"Sets shop command": "shop",
"Player UI display": false,
"Block Monuments": false,
"If true = Images, If False = Text Labels": false,
"Enable NPC Auto Open": true,
"Enable GUIShop NPC Msg's": true,
"GUI Shop - Welcome MSG": "WELCOME TO THE SHOP",
"Shop - Buy Price Label": "Buy Price",
"Shop - Amount1 Label1": "Amount",
"Shop - Sell $ Label": "Sell $",
"Shop - Amount2 Label2": "Amount",
"Shop - Close Label": "CLOSE",
"Shop - GUIShop Welcome Url": "https://i.imgur.com/RcLdEly.png",
"Shop - GUIShop Background Image Url": "https://i.imgur.com/Jej3cwR.png",
"Shop - Sets any shop items to this image if image link does not exist.": "https://imgur.com/BPM9UR4.png",
"Shop - Shop Buy Icon Url": "https://imgur.com/oeVUwCy.png",
"Shop - Shop Amount Image1": "https://imgur.com/EKtvylU.png",
"Shop - Shop Amount Image2": "https://imgur.com/EKtvylU.png",
"Shop - Shop Sell Icon Url": "https://imgur.com/jV3hEHy.png",
"Shop - Close Image Url": "https://imgur.com/IK5yVrW.png",
"Enable Shop Buy/Sell All Button": false,
"Sets the buy/sell button amounts how many buttons": [
1,
10,
100
],
"GUIShop Configurable UI colors (First 8 Colors!)": [
"#A569BD",
"#2ECC71",
"#E67E22",
"#3498DB",
"#E74C3C",
"#F1C40F",
"#F4F6F7",
"#00FFFF"
],
"Shop - Shop Categories": {
"Commands": {
"DisplayName": "Commands",
"Description": "You currently have {0} coins to spend in the commands shop",
"EnabledCategory": false,
"EnableNPC": false,
"NPCId": null,
"Items": [
""
]
},
"Food": {
"DisplayName": "Food",
"Description": "You currently have {0} coins to spend in the Food shop",
"EnabledCategory": true,
"EnableNPC": true,
"NPCId": 10036440064,
"Items": [
"Apple",
"Rotten Apple",
"Black Raspberries",
"Blueberries",
"Cactus Flesh",
"Can of Beans",
"Can of Tuna",
"Chocolate Bar",
"Cooked Fish",
"Raw Fish",
"Minnows",
"Small Trout",
"Granola Bar",
"Burnt Chicken",
"Cooked Chicken",
"Raw Chicken Breast",
"Spoiled Chicken",
"Burnt Deer Meat",
"Cooked Deer Meat",
"Raw Deer Meat",
"Burnt Horse Meat",
"Cooked Horse Meat",
"Raw Horse Meat",
"Burnt Human Meat",
"Cooked Human Meat",
"Raw Human Meat",
"Spoiled Human Meat",
"Burnt Bear Meat",
"Cooked Bear Meat",
"Raw Bear Meat",
"Burnt Wolf Meat",
"Cooked Wolf Meat",
"Raw Wolf Meat",
"Spoiled Wolf Meat",
"Burnt Pork",
"Cooked Pork",
"Raw Pork",
"Mushroom",
"Pickles",
"Small Water Bottle",
"Water Jug",
"Candy Cane",
"Black Berry",
"Black Berry Clone",
"Black Berry Seed",
"Blue Berry",
"Blue Berry Clone",
"Blue Berry Seed",
"Green Berry",
"Green Berry Clone",
"Green Berry Seed",
"Red Berry",
"Red Berry Clone",
"Red Berry Seed",
"White Berry",
"White Berry Clone",
"White Berry Seed",
"Yellow Berry",
"Yellow Berry Clone",
"Yellow Berry Seed",
"Corn",
"Corn Clone",
"Corn Seed",
"Hemp Clone",
"Hemp Seed",
"Potato",
"Potato Clone",
"Potato Seed",
"Pumpkin",
"Pumpkin Plant Clone",
"Pumpkin Seed",
"Advanced Healing Tea",
"Basic Healing Tea",
"Pure Healing Tea",
"Advanced Max Health Tea",
"Basic Max Health Tea",
"Pure Max Health Tea",
"Advanced Ore Tea",
"Basic Ore Tea",
"Pure Ore Tea",
"Advanced Rad. Removal Tea",
"Rad. Removal Tea",
"Pure Rad. Removal Tea",
"Adv. Anti-Rad Tea",
"Anti-Rad Tea",
"Pure Anti-Rad Tea",
"Advanced Scrap Tea",
"Basic Scrap Tea",
"Pure Scrap Tea",
"Advanced Wood Tea",
"Basic Wood Tea",
"Pure Wood Tea"
]
},
"Medical": {
"DisplayName": "MedTender",
"Description": "You currently have {0} coins to spend in the Medical shop",
"EnabledCategory": true,
"EnableNPC": True,
"NPCId": 1751703040,
"Items": [
"Blood",
"Anti-Radiation Pills",
"Large Medkit",
"Medical Syringe",
"Bandage"
]
}
},
"Shop - Shop List": {
"Minicopter": {
"DisplayName": "Minicopter",
"Shortname": "",
"EnableBuy": true,
"EnableSell": true,
"Image": "https://i.imgur.com/vI6LwCZ.png",
"SellPrice": 1.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"KitName": null,
"Command": ["spawn minicopter \"$player.x $player.y $player.z\""],
"SkinId": 0
},
"Sedan": {
"DisplayName": "Sedan",
"Shortname": "",
"EnableBuy": true,
"EnableSell": true,
"Image": "",
"SellPrice": 1.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"KitName": null,
"Command": ["spawn sedan \"$player.x $player.y $player.z\""],
"SkinId": 0
},
"Airdrop Call": {
"DisplayName": "Airdrop Call",
"Shortname": "",
"EnableBuy": true,
"EnableSell": true,
"Image": "",
"SellPrice": 1.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"KitName": null,
"Command": ["inventory.giveto $player.id supply.signal"],
"SkinId": 0
},
"Wolf Headdress": {
"DisplayName": "Wolf Headdress",
"Shortname": "hat.wolf",
"EnableBuy": true,
"EnableSell": true,
"Image": "https://rustlabs.com/img/items180/hat.wolf.png",
"SellPrice": 1.0,
"BuyPrice": 1.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"KitName": null,
"Command": null,
"SkinId": 0
}
}
}
"This Shop is not working- See Admin"Solved
Where is this file even located? I'm looking in my config but I can't edit it!
Kaze25Where is this file even located? I'm looking in my config but I can't edit it!
You need to download that file to your local and then you can open it up,edit and re upload back to your server (deleting the old naturally)
OOhh ok ty. Last thing. I've opened all the tabs and can't find the list of items. I'm probably blind but which tab did you see them? Like in the vid:
https://youtu.be/JzNPoY8CH4k?t=396
The same list you have in your post. I need to give npc Ids to a shop
That particular file is in the CONFIG folder listed as GUIShop and it is where you re upload as well
Yea but for me I can't edit it. I'm using a service called GameServerKings where I can upload the mod. For some reason it won't let me edit/open so I have to access the file using visual studios to edit. Still can't find the list. Very strange
Kaze25Yea but for me I can't edit it. I'm using a service called GameServerKings where I can upload the mod. For some reason it won't let me edit/open so I have to access the file using visual studios to edit. Still can't find the list. Very strange
Like I said, you download the file to your computer and then you can edit it. I use the same service. Open your FTP,goto your Oxide Folder>Configuration Folder>GUIShop.json and pull it from your FTP to your desktop. Close your FTP and open the file using Notepad,make the changes,save it. Then re open your FTP, go to the same Folders and delete the old folder first,then re upload the new file. Make sure you o.reload your RCON after doing so for the changes to take place
Hey @Rush did you managed to solve the issue?
I'm having a similar problem right now when through /shop someone try to open a different category than the one set as defaul
Dariozzxx
Hey @Rush did you managed to solve the issue?
I'm having a similar problem right now when through /shop someone try to open a different category than the one set as defaul
I did not solve my problem however, as for your issue I can only say that I have found this,assuming you are using a NPC Vendor.
Make sure that the NPC ID is the one assigned to the correct NPC you are using to Vendor, you can use Human NPC command /Npc_list to find out which one.
"EnabledCategory": true,
"EnableNPC": true,
"NPCId": 10036440064,
As well, and I am completely assuming here (as this is what is causing my issues) but I had success with putting the like minded items with the like minded "category". In my case, my Food Vendor is working just fine and as configured. My Medical however is giving me an in game warning saying it is not working.. In yourcase, I suggest attempting to place as close as you can items of like minded in the config categories.
*note- I even deleted lists just to end up with only two categories because I only have two vendors and I am thinking that is where I messed up
"Food": {
"DisplayName": "Food",
"Medical": {
"DisplayName": "MedTender",
"Description": "You currently have {0} coins to spend in the Medical shop",
"EnabledCategory": true,
"EnableNPC": True,
"NPCId": 1751703040,
"Items": [
"Blood",
"Anti-Radiation Pills",
"Large Medkit",
"Medical Syringe",
"Bandage"
]
}
},Lower case the "T" for the "EnableNPC".
should work from there.
Gave the mistake and fix a try locally and yeah, it's the capital "T" for true. GUIShop wants it lower case.
(GUIShop is nikpicky.)
[Oxide] 17:34 [Error] GUIShop v2.0.5: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing value: T. Path '['Shop - Shop Categories']['Bjork Burger'].EnableNPC', line 410, position 19.)The error that pops up in console with a capital T for true.
The the test config works without issues except when I explicitly change the "t" to a capital.
I actually posted an old config in which that got changed as I also noticed that on the front page.
Double checking and both are lower case and still no go. I took it through a compiler and no errors came up but still when approaching a NPC it states that "There is a problem with this ,please consult admin" on my Mid Vendor yet my Butcher NPC Vender works as intended
Mind doing a paste bin of the config?
I can go through review it on my test server.
Vortox14Mind doing a paste bin of the config?
I can go through review it on my test server.
Appreciate it https://pastebin.pl/view/9c471a19
Sorry for the late reply.
Okay, So GUIShop is really nikpicky about the default categories and doesn't like the groupname/displayname being edited/removed for them.
Fix (Minor Alteration) This version worked; Readded the default medical group and 'closed' it.
cropped the overall pastebine to only show from start to the fix I used.
Vortox14Sorry for the late reply.
Okay, So GUIShop is really nikpicky about the default categories and doesn't like the groupname/displayname being edited/removed for them.
Fix (Minor Alteration) This version worked; Readded the default medical group and 'closed' it.
cropped the overall pastebine to only show from start to the fix I used.
Vortox, Thank You so Very much for helping on this. It is operational now. I will still have to go in and edit each vendor but half the battle was getting it up and running.
So, please correct me here if I am wrong but essentially what I got from this was that by me deleting the actual Medical (or renaming it) I should have just kept it and created a new "category" in which I willbe mindful of next time. Much appreciated Vortex,Thanks again
- 1
- 2