Code:"Smoke Rocket": { "buy": "100", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/8/80/Smoke_Rocket_icon.png/revision/latest/scale-to-width-down/50?cb=20150531134255", "item": "ammo.rocket.smoke", "sell": "50"

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,482 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
Thanks again Unicorn
-
Code:"Smoke Rocket": { "buy": "100", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/8/80/Smoke_Rocket_icon.png/revision/latest/scale-to-width-down/50?cb=20150531134255", "item": "smoke rocket", "sell": "50"
-
Well spotted
Go back one page and i'm saying 'don't use short names'.. Memory of a fish.
-
dat OCD bro
bloody nightmare sometimes ahahaha!
-
I can't understand how to display the item itself in the Shop GUI:
Attached Files:
-
-
This will use the /shop command as no NPC ID's have been set. If you do want NPC's to be your "Traders" then change: "0": { to: "NPC ID Here": {
[DOUBLEPOST=1498143650][/DOUBLEPOST]Sorry I screwed up myself, I kept the rifle's in the fruit store... Use this one:Attached Files:
-
-
Wait so If I want to make categories and I want to access them, do I type /shop "fruit market" ?
-
No open GUIShop.json (oxide/config)
Then add / change this section:
Code:"Shop - Shop Icon Url": "", "Shop - Shop List": { "0": { "buy": [ "Apple", <------------------- "BlueBerries" <---------------- ], "description": "You currently have {0} coins to spend in this farmers market", "name": "Fruit Market", <------------------- "sell": [ "Apple", <------------------- "BlueBerries" <------------------------ ] },
-
I got it to work, there is my config:Attached Files:
-
-
i got a problem were it dos not show anything when i do /shop plz help me someone
Attached Files:
-
-
[DOUBLEPOST=1498145101][/DOUBLEPOST]
This double post thing is rather annoying... The smaller file is for KalasRL and the larger file is for mus672fAttached Files:
-
-
-
-
Weird because in the overview it states:
in NPC USERID:
you must use /npc_list to get the list of the NPC IDs and place the id of the NPC that you want to be this market.
You may use "0" as ID, this will ACTIVATE the /shop command. <------------------
if NO "0" markets are set, the /shop will not work and the shops will only be avaible via NPCs.
@KalasRL - on line 125: "name": "Shop", add the "," to the end, upload and reload the GUIShop
if "chat" works instead of "0" then obv use that and the dev needs to then update the overview to reflect this. -
-
You said yesterday it worked with "chat" so use that mate. Looks like the dev may need to update the overview on here to reflect this. I use NPC's so don't have this issue, the only other thing I can think of if "chat" doesn't work is to just have ""
-
Hmm ok, I used my old Config, It works fine so i'll stick with that.
-
how do i make it so the item is only availabe for buying or only selling?
-