Greetings everyone! I have a few questions:
Is it possible to add the groups to shop, to make browsing more comfort?
Ss it possible to do more than 8 items on the page?
And is there any possibility to create different Shops for different user groups? (For example with different items for VIPs).
Thnak you for your outstanding plugin!

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
-
I am receiving this error after typing "/shop" from in-game:
Code:[Oxide] 1:20 PM [Error] Failed to call hook 'cmdShop' on plugin 'GUIShop v1.1.2' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 1:20 PM [Debug] at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullRefresh) [0x00000] in <filename u nknown>:0 at Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String command, S ystem.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& re t, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo metho d, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] Saved 9,690 ents, serialization(0.01), write(0.04), disk(0.00) totalstall(0.06).
Fixed, Use this version of the Plugin:
http://oxidemod.org/attachments/guishop-cs.17455/Last edited by a moderator: Feb 2, 2016 -
Для русских серверов... добавлены скинованые вещи, потребуется плагин GIVE и заменить (или добавить) плагин DATA/kits.json на здоровье собратья
Скины и весь товар можно переименовать в магазине на желаемый язык.
For the Russian server ... Added shackled things need GIVE plug and replace (or add a plug)-DATA / kits.json health colleagues
Skins and all items in the store, you can rename the desired language.
IN KITS
"10124": { -> skin id
"name": "10124", -> SKIN id
"description": null,
"max"~
~ems": [
{
"itemid": 271534758,
"bp": false,
"skinid": 10124,
"container": "belt",
"amount": 1
in GUIShop
"Большой деревянный ящик(патроны)": { ->name shop "Ammo Wooden Box"
"buy": "300",
"cmd": [
"inv.giveplayer $player.name kit 10124" -> kit 10124 = kit name in kits.json
],
"img": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151218003427",
"sell": "1"
},Attached Files:
Last edited by a moderator: Feb 4, 2016 -
-
-
"Бандана(Черная)": {
"buy": "100",
"cmd": [
"inv.giveplayer $player.name kit 10061"
"Переместиться в точку 1": { -> move into point
"buy": "100",
"cmd": [
"teleport.topos $player.id -31.68766 31.29171 1660.072" -> teleport.topos $player.id coordinates
This allows you to move around the map to the specified coordinates
...Shop - Shop List...
"Скин голова": { -> "skin head" the id of your NPC
"buy": [
"Бандана(Черная)", -> name shop items
......................
NPС is essentially the same as the administrator, and he has sold you a command.
in KITS.json in the DATA folder contains /Kit "Names kits" where the name of this skin ID.
inv.giveplayer $ player.name - GIVE command (inv.giveplayer "Mughisi" "kit", "starter" => will Mughisi starter kit) -
Скажи, можно ли как-то сделать так, чтобы эти вещи были в основном шопе (либо сделать команду с другими магазинами, о типу /shop2 или /shop_armor, /shop_weapon и т.д., чтобы не использовать НПЦ).
П.с.: мужики, здесь вроде бы не любят когда только на русском пишут, так что прикладываю транслейшн для наших Западных братьев).
[ENGLISH translation]
You're just a holy man =). Just recently remembered those days when you was able to put all of the item skins in GUIShop without been bothered with the Kits (is a pity that it`s impossible for now). So where i saw your post here - it was something unbelivable )).
Tell me if you know how to put item skins in main shop (or how to make alternative shops. For example: / shop2 or / shop_armor, / shop_weapon etc. without using NPC`s).
Ps .: guys here do not seem to like when someone writes only in russian, so I put translation for our Western brothers). -
Yes, please fix line 2876 position 5. It needs a "," after the "}". So it should read " }, "1796179757": { "
This was corrupt until I fixed it.
[DOUBLEPOST=1454834134][/DOUBLEPOST]Is there away to set zones and only access /shop and then the name of the zone so only certain things from the list is sold within that zone? Instead of spawning in and /shop buy whatever and play. Like physically having to be where the shop is to purchase. I dont want to use NPC's. -
-
Here is another update of the guishop.json with all the new items -
I also have some examples of blueprint vendors and teleport npcsAttached Files:
-
-
-
can somone tell me how to make multiple npc shops like how to edit the file to add more than one npc shop with different items i keep trying and it just breaks
-
-
i want run shop in zone with help ZoneComand as a npc. is this possible? if so please help.
Last edited by a moderator: Feb 8, 2016 -
Does anyone have a complete config for an NPC. who sell all items and also buys ?
-
My json above has an example of how to do that.
-
Can someone give me GUIShop.json + GUIShop.cs please ? I have a big problems with this plugin it doesn't run
when i don't have NPC the command SHOP doesn't work and i have any message. And when i write the id of NPC in the .json : the menu of shop isn't here... And when i write /shop in the chat, a message apears asking me to get near a NPC but it doesn't work
Is there a conflict whit a plugin ? Because i have a lot of plugins like zonemanager.Last edited by a moderator: Feb 8, 2016 -
You should better attach your config that enyone was able to tell you what is the problem with it). -
Just put a "sell":[ "item","item" ] (if last entry before the } then without ',' - if something comes after it with a ','
with the things you want to be able to be sold.
something like:
Code:"1558360525-NPC ID": { "buy": [ "Apple", "something" ], "description": "Yo have {0} to spend .", "name": "TRADER NPC NAME", "sell": [ "Apple", "something" ] },
-
It's OK for me with this files
Attached Files:
-
-
Hello Guys! Can anyone tell me what and where should be added to add gui with text "In-game Shop" over info panel, which will open GUI shop after been pressed?
Looking forward to see that GUI enchancment over nearest update of plugin. Thank you!Attached Files:
-