hello i am wondering can u have separate GUI NPC shops as i have seen on a few servers, if u can still do it can someone please tell me how

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,483 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
You must create the NPCs and then assign them in the config:
"NPC USERID": {
"buy": [
"ITEM1",
"ITEM2",
"ITEM3",
"ETC"
],
"description": "MARKET DESCRIPTION",
"name": "MARKET NAME",
"sell": [
"ITEM1",
"ITEM2",
"ETC"
]
}
It's that's simple... and painful...
But it does work and it's cool.
Good Luck!
[DOUBLEPOST=1484244647][/DOUBLEPOST]I have an issue myself, the images in my Shop are not showing up, how do I fix that?
except for one new item that I have added recently...
Thanks -
but ı fixed
ı change $player.name to $player.id now player can buy with steam id thanks alot ı added some weapon my npc skin shop.
code like that....
},
"Digital Camo AK47": {
"buy": "1125",
"cmd": [
"inv.giveplayer $player.id kit akwhite", >>>my kit name<<<
],
"img": "http://vignette2.wikia.nocookie.net...est/scale-to-width-down/100?cb=20161207185209",
"sell": "200"
my NPC code like that...no sell only buy...
},
"46941665": { >>>my npc id<<<
"buy": [
"Reaper Note Pistol",
"Halloween Bat",
"Chieftain Pump Shotgun",
"The Swampmaster",
"Military Camo AK47",
"Tempered AK47",
"Digital Camo AK47",
"Tundra Bolt Rifle",
"Ghost Bolt Rifle",
"Dream Bolt Rifle",
],
"description": "You currently have {0} coins to spend in this skin shop",
"name": "Baskan Skin Shop",
"sell": [Attached Files:
-
-
How can i change the order of the products? I mean i want paper to be first in the list but when i put it before the other items it still appears at the same place.
-
Hi, how can i add vip system? i tryed GUI Shop | Page 34 | Oxide but not working, thx!
-
[DOUBLEPOST=1484422457][/DOUBLEPOST]Does anyone have a working full item buy/sell file they can post ? I have been working on my shop file for 3 weeks and still cannot get it working.
I want to add NPC shop keepers but if i cannot get a working shop file their is no use in going further.
The file i posted on page 57 is the best i have gotten so far......I need help Please. -
Well i guess the mod makers do not read these posts. you would assume they wanted people to have working mods for their server but instead they toss up a lame no voice video that leaves out half if what is needed.
I have been asking for help for 2 weeks and only a few others have tried to help.
If you want people to use your mod give us a full working all items .json file so we can remove/change what we need.
I have donated to several mod creators in the past but only when i have a working mod and not a snip-it of a file to work with. -
Adding Custom Markers - via chat commands (See Below)
By using the command "/marker" you can add and remove custom map markers. When adding a marker you will have the option to specify a icon. The icon must be the filename plus its extension (example.png) and this icon MUST be located in your "/oxide/data/LustyMap/custom/" folder. Alternatively you can leave it blank and the default icon will be supplied.
E.g put your desired map icon 'npcshopicon.png' inside the custom folder, stand at your shop and type in chat '/marker add "NPC Shop" npcshopicon.png'. It will appear on the map with the name NPC Shop and the icon you chose. Otherwise don't add your own icon just use /marker add "NPC Shop" -
OK after allot of drinking, a few friends and i finally figured out a 98% working shop file without blueprints or NPC options.
Since nobody else will post a working file, here is mine.
I do not troubleshoot and just accidentally got it working.
It works on my server, you just have to adjust the prices for your setup.Attached Files:
Last edited by a moderator: Jan 19, 2017 -
-
so this is what my config file has in it for my shop can anyone tell me what im doing wrong? because atfirst it showed just the ak in the store now it shows nothing
{
"Message - Bought": "You've successfully bought {0}x {1}",
"Message - Error - Building Blocked": "You cannot shop while in building blocked area.",
"Message - Error - Command Multiple": "Can't buy multiple",
"Message - Error - Cooldown": "This item has a cooldown of {0} seconds.",
"Message - Error - Cooldown Amount": "This item has a cooldown and amount is limited to 1.",
"Message - Error - Invetory Full": "Your inventory is full.",
"Message - Error - Invetory Slots": "Your inventory needs {0} free slots.",
"Message - Error - Item Doesnt Exist": "WARNING: The item you are trying to buy doesn't seem to exist",
"Message - Error - Item Not Set Properly": "WARNING: The admin didn't set this item properly! (item)",
"Message - Error - Item Not Valid": "WARNING: It seems like it's not a valid item",
"Message - Error - No Action In Shop": "You are not allowed to {0} in this shop",
"Message - Error - No Action Item": "You are not allowed to {0} this item here",
"Message - Error - No Buy Price": "WARNING: No buy price was given by the admin, you can't buy this item",
"Message - Error - No Chat Shop": "You may not use the chat shop. You might need to find the NPC Shops.",
"Message - Error - No Econonomics": "Couldn't get informations out of Economics. Is it installed?",
"Message - Error - No NPC": "The NPC owning this shop was not found around you",
"Message - Error - No Sell Price": "WARNING: No sell price was given by the admin, you can't sell this item",
"Message - Error - No Shop": "This shop doesn't seem to exist.",
"Message - Error - Not Enough Items": "You don't have enough of this item.",
"Message - Error - Not Enough Money": "You need {0} coins to buy {1} of {2}",
"Message - Error - Not Nothing": "You cannot buy nothing of this item.",
"Message - Error - Redeem Kit": "WARNING: There was an error while giving you this kit",
"Message - Sold": "You've successfully sold {0}x {1}",
"Shop - Balance": false,
"Shop - Shop Categories": {
"Assault Rifle": {
"buy": "8000",
"img": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20150405105940",
"item": "assault rifle",
"sell": "4000"
},
"Bolt Action Rifle": {
"buy": "10000",
"img": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200415,
"item": "rifle.bolt",
"sell": "5000"
},
"LR-300": {
"buy": "8000",
"img": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160901064335,
"item": "rifle.lr300",
"sell": "4000"
},
"Custom SMG": {
"buy": "5000",
"img": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151108000740,
"item": "smg.2",
"sell": "2500"
}
},
"Shop - Shop Icon Url": "",
"Shop - Shop List": {
"chat": {
"buy": [
"Assault Rifle",
"Bolt Action Rifle",
"LR-300",
"Custom SMG",
],
"description": "Get the advantage!",
"name": "Blitz Survival Shop",
"sell": [
"Assault Rifle",
"Bolt Action Rifle",
"LR-300",
"Custom SMG",
]
}
}
} -
"item": "rifle.bolt" = "item": " bolt action rifle",
Use the in game names without capital letters. The item listing wont show if its incorrect like that. -
[DOUBLEPOST=1484948504][/DOUBLEPOST]how do i set the kit? its showing up in the store and it says i bought it, but nothing actually comes with it. if i manually type in the kit code i get it but not through the store. ok wait, i think i actually had it, but i have a way worse error now... i added a large medkit to the NPCs store but now the npc no longer opens up the store. i reloaded the script but that usually just rewrites the basic script (with out warning) i never did anything different than what i was doing not 30 seconds before the medkit. NPC number still the same and all.Last edited by a moderator: Jan 20, 2017 -
Somebody help with the error associated with cmd? -_-
-
Can anyone tell me how to get kits to actually be buyable? either i buy it and nothing happens, or it tells me "unknown soldierkit" or "kitsoldier" if i leave the line ("item"
as is (with the kit or some variation). but if i replace item with kit it shows up in the market but i buy nothing just the msg you got one of _______. What am i not doing?
-
Anyone, How to Make This Categories?
Attached Files:
-
-
I load the plugin and i go to my server and type /shop and nothing comes no shop items. I have been trying to fallow the you tube vid that comes with the pligin but no items show up in the shop menu. Is this a bug or am i doing something wrong?
-
if you'd like i could try and see if i can upload my config file for you, its got a decent starter store on the /shop command.
[DOUBLEPOST=1485174576][/DOUBLEPOST] -
-
i would test this theory but i haven't the time at this moment and i have spent hours on my store (doesn't have tabs, but let me know if you'd like a look
i'll post an example of what i am talking about below, this might work, but like i said earlier, i would really know, and im new to this as well. (Ps could you ask the owner/admin of the server for a copy of his config or core?)Attached Files:
-
-
Hello,
I have a error when I want to buy rifle ak only in my store !Code:(16:29:46) | [Oxide] 16:29 [Error] Failed to call hook 'ccmdShopBuy' on plugin 'GUIShop v1.4.1' (FormatException: Input string was not in the correct format)