As a first excuse for my bad Englishgoogle translator ^^
Is it possible to include a search function with which you can search items in the shop?

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,470 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
+1
anyone have an idea? -
Does this plugin currently handle blueprints?
if so, how do you add them to the config file? -
i want to know how to add category button like this but,i don't know how to do it
plz somebody help me -
I add sell kit in GUIShop.
Code:"noob kit": { "buy": "150", "cmd": ["kit give $player.id zmd"], "cooldown": "10", "img": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1509129201624&di=36394925687fe6b647a7a252d9fbd9fe&imgtype=0&src=http%3A%2F%2Fpic122.nipic.com%2Ffile%2F20170214%2F17961491_133157022000_2.jpg", "sell": "-1" },
-
use this
"cmd": ["spawn horse \"$player.x $player.y $player.z\"" ], -
Ok for some reason the default config wasn't working and it showed up empty so i've edited a config of someone that was posted here and now it works.
Here is a simple GUIShop.json for anyone having the same problems, It only has basic resources so its easy to seeAttached Files:
Last edited by a moderator: Feb 7, 2018 -
-
"Command 'kit give $player.id zmd' not found "
To Fix:
Use GivePlugin
should be
"inv.giveplayer $player.id kit zmd"
Item Code
Code:"ItemsName": { "buy": "1000", "img": "http://www.YourImageHost.com/images/someimage.jpg", "cmd": ["inv.giveplayer $player.id kit NameOfKit"], "cooldown": "60", "sell": "1" }
Code:"NPCID": { "buy": [ "ItemsName" ], "description": "You currently have {0} coins to spend with the ShopName", "name": "ShopName", "sell": [] },
Last edited by a moderator: Feb 10, 2018 -
Code:"test": { "buy": "2000", "img": "http://wx1.sinaimg.cn/mw690/726eae7agy1foabaqva36j20tc0jitvf.jpg", "cooldown": "1", "cmd": [ "inv.giveplayer $player.id kit test" ], "sell": "-1" }
(05:42:57) | [GUIShop] Player: 5对负重轮fivedui Buyed command: test -
inv.giveplayer don't work for me without plugin either I had to install
Give For Rust
Per exact Give Plugin oxerview
Code:Kits (requires Kits): - inv.giveplayer "Mughisi" "kit" => will show me the list of all avaible kits - inv.giveplayer "Mughisi" "kit" "starter" => will give Mughisi a kit starter Usable with /give and inv.give Not yet with inv.giveall ... but soon
inv.giveplayer YourSteamID kit test
my exact code that is working
Code:"KickAssDuds": { "buy": "1000", "img": "https://cdn0.iconfinder.com/data/icons/fighting-1/235/brawl002-512.png", "cmd": ["inv.giveplayer $player.id kit KickAssDuds"], "cooldown": "86400", "sell": "1" }
As natural I have made a kit name KickAssDuds 1st with Kit Plugin and set it to
/kit add KickAssDuds
/kit authlevel 2
/kit itemsLast edited by a moderator: Feb 11, 2018 -
Allright guys,
I hope you will be able to help me out. I've read most of the thread but can't find a solution to this...
Basically I want an NPC to sell kits , we will make this one easy, I have a kit called 10kmetal
npc number is 1327323011
I have tested the kit with /kit and with the command inv.giveplayer and all is working.
Now when i put that kit in my GUIShop.json file i get this in the console "[GUIShop] Failed to load ShopCategory: 10kmetal Error: Cannot cast from source type to destination type"
Here are my 2 sections, the shop categories :
"10kmetal": {
"buy": "2000",
"img": "",
"cmd": ["inv.giveplayer $player.id kit 10kmetal"],
"sell": [""]
},
Then in the Shop List :
"1327323011": {
"buy": [
"10kmetal",
],
"description": "Welcome to the Mats Vendor . You currently have {0} coins ",
"name": "Mats Vendor",
"sell": [ ""]
},
any ideas ?
Thanks in advance !
SandMan -
-
yes i do have the give plugin, like i stated in my message i have tried in console the give command and it works... -
Code:"10k Metal": { "buy": "2000", "img": "", "cmd": ["inv.giveplayer $player.id kit 10kmetal"], "sell": "" },
Code:"1327323011": { "buy": [ "10k Metal", ], "description": "Welcome to the Mats Vendor . You currently have {0} coins ", "name": "Mats Vendor", "sell": [ ] },
-
But i will play with the names for argument sakes.
[DOUBLEPOST=1518711709][/DOUBLEPOST] -
for me works, your command in GUIShop need diffrent as the kit name as example
"10k Metal": { <---- This GUIShop command need diffrent name as the Kit Name
"buy": "2000",
"img": "",
"cmd": ["inv.giveplayer $player.id kit 10kmetal"], <--- Kit name is ok let it
"sell": ""
},
"1327323011": {
"buy": [
"10k Metal", <---- and here comes the GUIShop command not the name of the kit
],
"description": "Welcome to the Mats Vendor . You currently have {0} coins ",
"name": "Mats Vendor",
"sell": [ ]
},
EDIT:
i get this error just if i use the same name in kit and guishop comamnd
"10kmetal": { <--- if this same as the kit name
"buy": "2000",
"img": "",
"cmd": ["inv.giveplayer $player.id kit 10kmetal"],
"sell": ""
}, -
-
dont be rude, i try just to help u
have u remove this [ ] from your command you post this
Code:"10kmetal": { "buy": "2000", "img": "", "cmd": ["inv.giveplayer $player.id kit 10kmetal"], "sell": [""] },
"10kmetal": {
"buy": "2000",
"img": "",
"cmd": ["inv.giveplayer $player.id kit 10kmetal"],
"sell": "" <--- HERE
}, -
I know i'm not trying to be rude just that you didn't understand it so i needed a way to make you understand so we dont spend too much time on it and i appreciate your help
And guess what, it was those [] . I have no friggin clue why that came up there but it works, your Brilliant, thank-you so much !!!! -
@Krazy J - I was curious, I would like to split up the items to certain NPCs from your GUIShop list, would I just take the spots like "Commands" "Weapons" etc and replace with the NCP IDs? Or how would I go about doing that?
Thanks in advance!