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. Have a screen of the reworked gui?
     
  2. Sure, I added it to my previous post.
     
  3. Hey, I was wondering if there was much support for either configuring the step of items as a setting in the config file or perhaps even on a per-item basis. It makes sense to me to limit the amount of wood being sold/bought to a minimum multiple of 1k (with say 10k and 100k as options, 10x server) but a silencer is never likely to be bought in a 10k step like wood might be. There was a modification to this mod on something like page 13 where this feature was added by someone other than the mod author but it doesn't translate well now to the current version.
     
  4. I use OXIDE 2.0.1856 and the Guishop is not working on my server.

    Here is the error log:
    Code:
    [Oxide] 15:47 [Info] Loaded plugin GUIShop v1.3.0 by Reneb
    [Oxide] 15:47 [Debug] ExType: JsonSerializationException
    [Oxide] 15:47 [Error] Failed to initialize plugin 'GUIShop v1.3.0' (FormatException: Input string was not in the correct format)
    [Oxide] 15:47 [Debug]   at System.UInt64.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.UInt64.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.Convert.ToUInt64 (System.String value, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.String.System.IConvertible.ToUInt64 (IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
    [Oxide] 15:47 [Info] Unloaded plugin GUIShop v1.3.0 by Reneb
    please can you fix the or have you a solution ???
     
    Last edited by a moderator: Apr 14, 2016
  5. Wulf

    Wulf Community Admin

    Looks like an error with your config. Did you edit it at all?
     
  6. im so sorry, maybe somtimes must look better what i do.

    Your Plugin works perfekt, i have delete the old config from GuyShop and now works fine.

    Tanks for your good work. greets from Germany
     
  7. Hello all!
    any idea to make possible to purchase kits via /shop or from NPC?
    trying this....
    Code:
    "Shop - Shop Categories": {
        "terminator": {
          "buy": "5000",
          "img": "",
          "kit": "True",
          "item": "terminator",
          "sell": "3000"
        }
      "Shop - Shop List": {
        "5500174": {
          "buy": [
            "Assault Rifle",
            "Bolt Action Rifle",
            "ammo rifle",
            "terminator"
          ],
          "description": "У вас имеется {0} монет чтобы потратить в магазине оружия",
          "name": "Магазин оружия",
          "sell": [
            "Assault Rifle",
            "Bolt Action Rifle",
            "ammo rifle",
                     "terminator"
    },
    kit "terminator works fine in "/kit" menu, also if i call /reward its working to grt this kit by this way written above.
    why its not working in GUISHOP?

    Code:
    [Oxide] 03:05 [Error] GUIShop v1.1.2: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path '['Shop - Shop Categories'].terminator', line 50, position 2.)
    EventManager.json:
    Code:
      "Rewards": [
        {
          "name": "TERMINATOR KIT",
          "cost": "10",
          "kit": "True",
          "item": "terminator",
          "amount": "1"
        }
      ]
     
  8. your config seems not valid to me, i see missing ] and , try to use a json validator
     
  9. Komma wurde vergessen "},"
    Thx Nogrod. Validator helps
    the way to buy kits in GUIshop works )
     
  10. <<,>> button is not working how fix that ?
     
  11. have someone a list for the Shop - Shop Categories with all items and pictures?
     
  12. Why GUIShop doesn't work on my server, it needs an update ? (sorry my English is bad)
     
  13. try delete the GuiShop and Economics config and Reload the plugins. This has worked for me
     
  14. I tried your handling, but it does not work.
    Do you think the plugin will update?
    Or is it a problem that just me?
     
  15. hi.. i want to use /shop with the normal Shop not the npc shops.
    /shop command
    i get this with the new version or old version with the custom config.
    i need help! anyone? :D
    You may not use the chat shop. You might need to find the NPC Shops ERROR
     
  16. This is my work xD

    Yori go to the config datei und search for the shoplist under this u need "chat"
     

    Attached Files:

  17. i need add option to buy permission but no works
    example my config

    },
    "Perm: SIL ": {
    "buy": "30",
    "cmd": [
    "grant player $player.id signartist.url",
    "grant player $player.id signartist.cd"
    ],
    "cooldown": "0",
    "img": "http://oxidemod.org/data/resource_icons/0/715.jpg?1425682952",
    "sell": "0"
    },

    whats is wrong ?
     
  18. When trying to sell something, i get this error:

    [Oxide] 21:15 [Error] Failed to call hook 'ccmdShopSell' on plugin 'GUIShop v1.3.0' (FormatException: Invalid format.)

    Edit: Fixed this issue
     
    Last edited by a moderator: Apr 22, 2016
  19. delay items plz

    ex) night buy 10sec > night
    ex) sun buy 10sec > sun
     
  20. Error: Parse error on line 1749:
    ... "Thompson", "Machete“, "4x Z
    ----------------------^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

    any1 advise? i dont get it..

    i dont see the error:

    "buy": [
    "Paper",
    "Bolt Action Rifle",
    "Assault Rifle",
    "Crossbow",
    "Eoka Pistol",
    "F1 Grenade",
    "Thompson",
    "Machete“,
    "4x Zoom Scope",
    "High External Stone Wall",
    "High External Stone Gate",
    "Timed Explosive Charge"

    ],
    "description": "MARKET DESCRIPTION",
    "name": "MARKET NAME",
    "sell": [

    ]
    },
    "": {
    "buy": [

    ],
    "description": "MARKET DESCRIPTION",
    "name": "MARKET NAME",
    "sell": [

    ]
    }
    }
    }
    [DOUBLEPOST=1461450038][/DOUBLEPOST]i did figure it out on my own. but now i dont see how much coins i have. how can i set 1000 coins as standard?