GUI Shop

GUI Shop based on Economics. Supports NPC

Total Downloads: 11,484 - First Release: Aug 29, 2015 - Last Update: May 3, 2018

5/5, 38 likes
  1. Yea deactivated sell option for Wood ..
     
  2. "Black Hoodie": {
    "buy": "0",
    "cmd": ["inv.giveplayer $player.userID kit 14179"],

    you added it as a givekitcmd, so the skinned item is actually provided by Kits plugin, i dont want to add 137 kits, thats just a nasty workarround in my opinion. Especially since SR provides a awesome Datafile to edit your items -> see 'serverrewards_rewards.json' some posts above,

    "DisplayName": "Dreamcatcher", //choose any name
    "URL": "http://....
    "ID": -55660037, //Item-ID -> Oxide API for Rust
    "Amount": 1,
    "Skin": 10117, //Skin-ID -> Oxide API for Rust
     
  3. I add Skin ony by one such as item in my shop ^^'
    But i don't add a kit for each skin.
     
  4. 'kit 14179' is saved in your Kits datafile => so you must have added a kit, which is called "14179" and contains a black hoodie, otherwise it cant be working, for what i know.
     
  5. I don't add the kit ^^'
     
  6. Reduce for VIP don't work ?
     
  7. Can anyone help me out with my json file please? I ran it through the JSON Validator and came up with nothing. It's not woking on my NPCs and when I restart my server it sets the file back to default. Any help would be greatly appreciated.
     

    Attached Files:

  8. is it possible to have something like this but without an economics plugin?
     
  9. Angry, if the default file is loaded it's cause you do an error on your config. Please check if you put all extras such as: ' " ", ...
    Orion, i don't know
     
  10. I've gone through it a few times and can't find anything.

    This is what JSON Validate tells me. It's for the last line but that makes no sense to me as my last line is roughly..

    ]
    }
    }
    }
     
  11. Let me see your config file when i have the time, please.
     
  12. Thanks man. I appreciate any help you can give when you have time.
     

    Attached Files:

  13. Fixed, please see it
     

    Attached Files:

  14. Thanks so much man. You are my new hero. They are working perfectly.
     
  15. No problem, don't hesitate to contact me if you want
     
  16. Right i have set up my json file but i am struggleing to get it to work with a npc it says

    (17:30:46) | [Oxide] 11:33 [Error] GUIShop v1.4.1: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path '['Shop - Shop Categories']', line 384, position 3.)

    (17:30:46) | [Oxide] 11:33 [Info] [GUIShop] ShopCategory: Build Kit Unknown item: kitbuild

    when i try to reload it
     

    Attached Files:

    Last edited by a moderator: Oct 16, 2016
  17. Got a question, sorry if it has already been answered! Is there a way to link the shop to a user's balance ? for example when someone buys from the shop, i don't want that money used to disappear, i want it to go to another players account - if that's possible.
     
  18. Can you try it please?

    Idk British :/
     

    Attached Files:

  19. Set up my json file, sat on this for about 30 mins trying to figure out how its not working, gone to the path stated, and theres nothing thats out of place or not suppose to be there, as i look at the default config, and the video tutorial as a guide, but i still get this whenever i type oxide.reload GUIShop in web console, then once it does that, it goes back to default config:


    [Oxide] 23:13 [Error] GUIShop v1.4.1: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path '['Shop - Shop List'].1234567.buy[24]', line 332, position 9.)

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

    [Oxide] 23:13 [Info] [GUIShop] ShopCategory: Build Kit Unknown item: kitbuild

    Any thoughts?
     

    Attached Files:

  20. Can you try it please
     

    Attached Files: