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
  1. So once assigned to an NPC how exactly do you activate the shop via the NPC? Also does anyone have a complete json file for all items? O have tried to use some of the so called "fixed" files in the discussion but most do not have anything in the sell column.
    [DOUBLEPOST=1480315312][/DOUBLEPOST]
    I have the same issue... Make sure the "sell" is all lower case
     
    Last edited by a moderator: Nov 28, 2016
  2. Change "Sell" to "sell" (Moron LAMP script kiddies use case)
    [DOUBLEPOST=1480318261][/DOUBLEPOST]Also to the Author, If you are going to code in c# LEARN it...

    String.Equals("SeLl",StringComparison.OrdinalIgnoreCase) (Works with no case check in the string) which means 75% of ALL these issues your users are having will be fixed as most are just case typos.
     
  3. I will give this a try thanks
     
  4. Try this one. It has all the weapons and ammo. I will upload one that has every item(except c4,satchel charges, gunpowder, tech trash, and explosives)
     

    Attached Files:

  5. Excuse me, how to add the skin of the article
     
  6. I used to upload a file, also added a kit, but I buy a Black Hoodie, but I didn't get the backpack items
     
  7. can someone help me with my file? if i do /shop there is no items in the shop



    note already fixed
     

    Attached Files:

    Last edited by a moderator: Dec 4, 2016
  8. yep i think i fixed but its again broked can somebody help me?
     

    Attached Files:

  9. The last item within lists do not need commas.

    Take out the commas for Metal Facemask on the buy section and Weapon Lasersight in the sell section.

    If you put a comma on the last item, the plugin will be expecting to see another item afterwards. If it doesn't find another item them it throws an error and does not run properly.

    Unable to spot any other errors. This does not mean that there aren't any more though. Let me know if you're still facing issues.

    P.S. Rename the file from GUIShop (1).json lol... I downloaded your other one too.
     

    Attached Files:

  10. i used your file and oxide.reload GUIShop and still not working
     
  11. Oh yes, I looked into it a bit more...

    Every line with sell, remove the comma from the end of it. The same applies there too. So for example:

    Taking your 12 Gauge Buckshot as an example here, where it says "sell": "5876",

    Remove the comma so it's just "sell": "5876"

    The second error I see is under every item name you used capitals.

    So, 12 Gauge Buckshot should just be 12 gauge buckshot.

    I hope it makes sense... If not, I have attached my own GUIShop config file and you can either use it as a guide, or use it as a replacement. All you would have to do is change the prices to your own desired prices.
     

    Attached Files:

  12. Is it possible to create tabs? Weapons, food, ammo.
     
  13. Yes it is "possible" and something I have wanted for a while now, but it looks like we won't be seeing it any time soon. @Nogrod is either really busy or dead and I hope he's just busy. xD

    I haven't seen any posts from him in a while.

    But anyway, I would love to see tabs, and other people would too as I've seen it asked quite a few times now.
     
  14. Сейчас это не делать?
     
  15. Products with the commands do not work
     
  16. Anyone experience the buy and sell values being double the amounts set in the .json?
    Edit - Reloaded Economics and now the prices are tripled. Dunno how it's related, if at all.
     
    Last edited by a moderator: Dec 12, 2016
  17. Hey guys - great plugin! Thank you again for your awesome work!

    By any chance, is there a way to configure this to take resources as a currency? For example, we used to use MoegicBox to exchange resources for RAD pills, but when MoegicBox was discontinued we ran out of options for a physical store. We tried to make the GUI Shop work, but can't seem to define what type of currency can be used. Such as Wood, Stones, Metal Ore, Sulfur Ore, etc.

    Any ideas if it's possible to do this using GUI Shop?
     
  18. What does the

    Code:
    "Shop - Balance": false,
    do?
     
  19. Removed the pistol ammo and the issue went away. Added it back and the prices still doubled. This is also affecting the High External Stone Wall and Gate. Any help would be greatly appreciated.
     

    Attached Files:

  20. When I try and add a kit I get this error after reloading: [GUIShop] ShopCategory: Syringes Unknown item: kitmeds

    "Syringes": {
    "buy": "200",
    "img": "http://vignette3.wikia.nocookie.net...ge_icon.png/revision/latest?cb=20151106061059",
    "item": "kitmeds",
    "sell": "0"
    }

    and

    "1796349459": {
    "buy": [
    "Morphine",
    "Syringes"
    ],
    Any clues what I am doing wrong. I have created a kit with the kits plugin called meds. Have I missed a step?