yes i did but it didnt work because i dont have the nps plugin and i also dont want it
i just want to reach the shop with /shop and replacing the npc numbers with "0" also didnt work

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
-
-
can confirm simply changing the npc co-ords to chat should fix it.
-
can some send a simple working file which works with /shop ? -
how do i make it so the prices doesn't fluctuate when people buy and sell? @Nogrod
Last edited by a moderator: Nov 1, 2016 -
Can you put items by category by the / shop command? for example
Weapons Store - Weapons Only
Ammunition Store - Ammunition Only
Clothing Store - Clothing Only
etc...
My configuration is all in one store, but everything is messed up, I wanted to be able to make it more organized. -
I've just added all the new components to my shop ready for todays update. Here you go.
"Bleach": {
"buy": "20",
"img":"http://vignette3.wikia.nocookie.net...ch_icon.png/revision/latest?cb=20161101142915",
"item": "Bleach",
"sell": "10"
},
"Gears": {
"buy": "20",
"img":"http://vignette2.wikia.nocookie.net...rs_icon.png/revision/latest?cb=20161101144224",
"item": "Gears",
"sell": "10"
},
"Metal Pipe": {
"buy": "20",
"img":"http://vignette2.wikia.nocookie.net...pe_icon.png/revision/latest?cb=20161101150346",
"item": "Metal Pipe",
"sell": "10"
},
"Road Signs": {
"buy": "20",
"img":"http://vignette3.wikia.nocookie.net...ns_icon.png/revision/latest?cb=20161101154306",
"item": "Road Signs",
"sell": "10"
},
"Sheet Metal": {
"buy": "20",
"img":"http://vignette3.wikia.nocookie.net...al_icon.png/revision/latest?cb=20161101153855",
"item": "Sheet Metal",
"sell": "10"
},
"Tarp": {
"buy": "20",
"img":"http://vignette4.wikia.nocookie.net...rp_icon.png/revision/latest?cb=20161031203517",
"item": "Tarp",
"sell": "10"
},
"Duct Tape": {
"buy": "20",
"img":"http://vignette1.wikia.nocookie.net...pe_icon.png/revision/latest?cb=20161101143138",
"item": "Duct Tape",
"sell": "10"
},
"Glue": {
"buy": "20",
"img":"http://vignette3.wikia.nocookie.net...ue_icon.png/revision/latest?cb=20161101145239",
"item": "Glue",
"sell": "10"
},
"Metal Spring": {
"buy": "20",
"img":"http://vignette2.wikia.nocookie.net...ng_icon.png/revision/latest?cb=20161101151803",
"item": "Metal Spring",
"sell": "10"
},
"Rope": {
"buy": "20",
"img":"http://vignette1.wikia.nocookie.net...pe_icon.png/revision/latest?cb=20161101154833",
"item": "Rope",
"sell": "10"
},
"SMG Body": {
"buy": "20",
"img":"http://vignette3.wikia.nocookie.net...dy_icon.png/revision/latest?cb=20161101155110",
"item": "SMG Body",
"sell": "10"
},
"Tech Trash": {
"buy": "20",
"img":"http://vignette2.wikia.nocookie.net...sh_icon.png/revision/latest?cb=20161101155506",
"item": "Tech Trash",
"sell": "10"
},
"Empty Propane Tank": {
"buy": "20",
"img":"http://vignette4.wikia.nocookie.net...nk_icon.png/revision/latest?cb=20161101143430",
"item": "Empty Propane Tank",
"sell": "10"
},
"Metal Blade": {
"buy": "20",
"img":"http://vignette4.wikia.nocookie.net...de_icon.png/revision/latest?cb=20161101145756",
"item": "Metal Blade",
"sell": "10"
},
"Rifle Body": {
"buy": "20",
"img":"http://vignette2.wikia.nocookie.net...dy_icon.png/revision/latest?cb=20161101152246",
"item": "Rifle Body",
"sell": "10"
},
"Sewing Kit": {
"buy": "20",
"img":"http://vignette1.wikia.nocookie.net...it_icon.png/revision/latest?cb=20161031195042",
"item": "Sewing Kit",
"sell": "10"
},
"Sticks": {
"buy": "20",
"img":"http://vignette1.wikia.nocookie.net...ks_icon.png/revision/latest?cb=20161101153556",
"item": "Sticks",
"sell": "10"
},Attached Files:
-
-
Hey i have an issue with the .json. whenever i update it to what i want to i load it into the server and reload it or whatever, the .json i just edited gets reverted back to the original one.
its really annoying considering im trying to add stuff
[DOUBLEPOST=1478156877][/DOUBLEPOST]its now working, how do i go by adding a shop to an npc? ive gotten to the stage where it says something about me not being near a npc shop.
[DOUBLEPOST=1478157094][/DOUBLEPOST]Never mind guys i got it thank you guys so much for the help in the forums! -
[DOUBLEPOST=1478162723][/DOUBLEPOST]
assigning NPC's are the best way to do this. I did have 4 different npcs assigned to shops but now mine is all in one. -
My shop doesn't use short names, it's set up like that and works fine. -
I can't check to see if they work yet because I'm on main and not pre-release. I'll have to check after update. -
-
Thanks -
anyone know how to limit just 1 item per a cooldown period ? I have the cooldown in, just don't want more than 1 bought per cooldown.
-
Hope anyone can help:
for all items i get a Button in GUI for buy/sell 1 - 10 - 100 - 1000 - All
i know how to change in the .cs File "private readonly int[] steps = { 1, 10, 100, 1000 }"
i changed it to "private readonly int[] steps = { 1, 5, 10, 50 };"
For Teleports i like to have only the Buy Button with 1x without the steps, any way to configure it like this but not for all cooldown items?
If we need to set Item to 1 we can change it inside GUIShop.cs
search for:Code://if (cooldown) break;
My wishe is to set steps inside json file per item, if nothing is set for the item with fallback to the steps configured inside the GUIShop.cs
And i like to have one image per shop displayed before or/and after the ShopName
[WEAPONIMAGE] WeaponStore [WEAPONIMAGE]
i was hoping to do this with Shop - Shop Icon Url but than only items without own img link get this image shown ;(Last edited by a moderator: Nov 4, 2016 -
I have a new problem with usage of kits, on reload of plugin he say me the kitname is no item
can anybody explain how to use a kit inside the shop? items and teleport works fine for me
i created a kit named hazmat, and try to give it from an npc, i can use /kit hazmat to get it but inside npc there is nothing to buy
ItemConfig:Code:"hazmat": { "buy": "10", "img": "http://vignette2.wikia.nocookie.net/play-rust/images/0/0e/Anti-Radiation_Pills_icon.png/revision/latest/scale-to-width-down/100?cb=20151106060926", "item": "hazmat", "sell": "8" }
Code:"824055091":{ "buy":[ "hazmat" ], "description":"You currently have {0} coins to spend in this hazmat shop", "name":"Hazmat Surviver" }
Code:ShopCategory: hazmat Unknown item: hazmat
-
Here are the names of the components I assume you're looking for:
- Hazmat Helmet
- Hazmat Jacket
- Hazmat Gloves
- Hazmat Pants
- Hazmat Boots
-
-
So, instead of having:
"item": "hazmat",
I THINK you have to put it likes this:
"item": "kithazmat",
I haven't tried this because I haven't actually made any kits just yet but based on the example provided I think that's how it works. If not try "hazmatkit" but beyond that I don't know unfortunately.