"chat": {
"0": [
"Build Kit",
"Airdrop"
],
"description": "You currently have {0} coins to spend in this builders shop",
"name": "Build"
First of all you cant have "chat" and "0" and where would the "buy" or "sell" go? Before it was npcid, and "chat" would simply replace where npcid would go . Why not just put a small example for each thing on the instruction page? Basically I have 12 npc's in 12 shopfront stalls sellinf items exactly like it is typed in rust when you hit f1. Starting from weapon and ending with Component. This is a short example of how the instruction should look: (I cut messages to 1 line for this youtube comment)
"Message - Sold": "You've successfully sold {0}x {1}",
"Shop - Balance": false,
"Shop - Shop Categories": {
"12 Gauge Buckshot": {
"buy": "30",
"img": "https://www.YOURimageurl.com/images/gaming/rust_icons/180/ammo.shotgun.png", "item": "ammo.shotgun",
"sell": "20"
},
"Tech Trash": {
"buy": "1650",
"img": "https://YOURimageurl.com/images/gaming/rust_icons/180/techparts.png",
"item": "Tech Trash",
"sell": "1500"
}
},
"Shop - Shop Icon Url": "",
"Shop - Shop List": {
"1271510192": {
"buy": [
"Anti-Radiation Pills",
"Bandage",
"Blood",
"Medical Syringe",
"Large Medkit"
],
"description": "You currently have {0} coins to spend in this shop",
"name": "Medical",
"sell": [
"Anti-Radiation Pills",
"Bandage",
"Blood",
"Medical Syringe",
"Large Medkit"
]
}, THEN CHAT IS ALL 399 items because the old chat wouldn't do categories. I'll keep the buy/sell sections short.
"chat": {
"buy": [
"4x Zoom Scope",
"8x Zoom Scope" ], "description": "You currently have {0} coins to spend in this shop", "name": "General Store",
"sell": [
"4x Zoom Scope",
"8x Zoom Scope"
]
So that is why I would like a new version that lets me make categorized shops with 1 store or npcid. However I don't want the top GUI buttons in my 12 ALREADY categorized NPC shops. All you do is make an example that works on the plugin page. Don't PM with individuals and say SOLVED, when the solution is nowhere to be found, and the examples are incomplete, and dont even work with the new version. LOL the generated config doesn't even work with the new version because it has no NPC or Chat section. BTW my config is 4177 lines long with all items with images, all categorized stores, and the chat store with everything listed from a-z. Seriously just paste what you would do for chat store. Your umod example has no buy or sell so can't work.
Please? Pretty please with sugar on top?
Merged post
Okay, so I figured out everything here, but all the instructions need to be updated, and the solved threads need to have the answer.
I am wiling to help.
AND NO! Wiping out my(or anyones) 4000+ line config IS NOT AN ANSWER, SOLVED, OR AN OPTION!
The plugin itself is awesome, and been waiting for categorys in my chat section for years.
Obviously I would like to make a post just simply giving people my config.
I have basically 12 NPC's doing each of the categorys in the Rust F1 console.
I have 399 items referenced. I just left out the xmas crap.
I also use your new category scheme as chat, but you dont need "0" or "chat" anywhere in the config file.
All you need is the categorys set up.
so on the config end all issues were solved, except the plugin doesn't have the Misc section, button or config category.
Of course I made the category by hand in the config, then I added the misc button and the writing of the default config, in the GUIShop.cs file.
It would be awesome if you'd add that in the next update.
Heck I'd give you mmine and you can look it over.
I made each button 5 wide with 1 spacing and moved them all to the left with the Misc category button between components and traps, just like in the game. Changed the font from 14 to 12 as well.
I need the extra space on the right so the lustymap mini map in the top right corner don't need to be closed to use the component button.
So the plugin now creates the Misc category, and the button for it.
I actually like how when using NPC's selling one category has the buttons to led players browse all the categorys.
I really like your additions to the plugin, just the plugin page needs to be updated.
I also don't want to have my own version of the plugin and have to remember to add Misk and do all the button adjustments. There are things I don't know how to fix when a plugin fails to compile after a Rust update, so I would like a legit version with Misc added and about 2" of space on the right.
So anyone needs help, reply.
My config completely works with 12 npc's and chat, and has all but the xmas crap. Config is now 4273 lines long, lol.
I also have all the images, including the xmas crap i can zip up for folks, if they want to host their own images.
If you want my config, you could quickly replace my generic url line with your url.
I got away from the wiki links because they add /33/57/, and random numbers that differ for each line so I had to do 399 lines one at a time.
so here is a generic of just one of the 399:
"img": "https://www.yoursite.com/images/gaming/rust_icons/barricade.woodwire.png",
All are now the same path and can now be find/replaced in a second.



