Has anyone created a config file with everything on it including the updated newer items? I just tried tweaking Sami37's but it didn't seem to work for meI added the Flamethrower, survival fish trap etc. But it didn't work
![]()

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,485 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
That would be great if this existed!
-
can we have 2 times the same shop with different ID? he don't work for me
-
I've got a problem, It worked until I added some more items, now all the Npc says Is "Hello Welcome To My Shop" Then, No GUI will appear
Heres the .json file
Code:{ "Message - Bought": "You've successfully bought {0}x {1}", "Message - Error - Cooldown": "This item has a cooldown of {0} seconds.", "Message - Error - Cooldown Amount": "This item has a cooldown and amount is limited to 1.", "Message - Error - Invetory Full": "Your inventory is full.", "Message - Error - Invetory Slots": "Your inventory needs {0} free slots.", "Message - Error - Item Doesnt Exist": "WARNING: The item you are trying to buy doesn't seem to exist", "Message - Error - Item Not Set Properly": "WARNING: The admin didn't set this item properly! (item)", "Message - Error - Item Not Valid": "WARNING: It seems like it's not a valid item", "Message - Error - No Action In Shop": "You are not allowed to {0} in this shop", "Message - Error - No Action Item": "You are not allowed to {0} this item here", "Message - Error - No Buy Price": "WARNING: No buy price was given by the admin, you can't buy this item", "Message - Error - No Chat Shop": "You may not use the chat shop. You might need to find the NPC Shops.", "Message - Error - No Econonomics": "Couldn't get informations out of Economics. Is it installed?", "Message - Error - No NPC": "The NPC owning this shop was not found around you", "Message - Error - No Sell Price": "WARNING: No sell price was given by the admin, you can't sell this item", "Message - Error - No Shop": "This shop doesn't seem to exist.", "Message - Error - Not Enough Items": "You don't have enough of this item.", "Message - Error - Not Enough Money": "You need {0} coins to buy {1} of {2}", "Message - Error - Redeem Kit": "WARNING: There was an error while giving you this kit", "Message - Sold": "You've successfully sold {0}x {1}", "Shop - Shop Categories": { "Cooked Bear Meat": { "buy": "30", "img": "[URL]http://vignette3.wikia.nocookie.net/play-rust/images/1/17/Bear_Meat_Cooked_icon.png/revision/latest?cb=20160109015147[/URL]", "item": "bear meat cooked", "sell": "0" }, "Longsword": { "buy": "250", "img": "[URL]http://vignette4.wikia.nocookie.net/play-rust/images/3/34/Longsword_icon.png/revision/latest?cb=20151106061240[/URL]", "item": "longsword", "sell": "50" }, "Raw Bear Meat": { "buy": "10", "img": "[URL]http://vignette4.wikia.nocookie.net/play-rust/images/c/c8/Bear_Meat_icon.png/revision/latest?cb=20151106054440[/URL]", "item": "bear meat", "sell": "5" }, "Revolver": { "buy": "500", "img": "[URL]http://vignette1.wikia.nocookie.net/play-rust/images/5/58/Revolver_icon.png/revision/latest?cb=20160226092929[/URL]", "item": "revolver", "sell": "250" }, "Semi-Automatic Pistol": { "buy": "1000", "img": "[URL]http://vignette2.wikia.nocookie.net/play-rust/images/6/6b/Semi-Automatic_Pistol_icon.png/revision/latest?cb=20160211200319[/URL]", "item": "semi-automatic pistol", "sell": "500" }, "12 Gage Buckshot": { "buy": "25", "img": "[URL]http://vignette1.wikia.nocookie.net/play-rust/images/2/2f/12_Gauge_Buckshot_icon.png/revision/latest?cb=20151106061114[/URL]", "item": "12 gage buckshot", "sell": "1" }, "Shop - Shop List": { "1408372498": { "buy": [ "Revolver", "Semi-Automatic Pistol", "Waterpipe Shotgun", "Longsword", "Raw Bear Meat", "Cooked Bear Meat", "12 Gage Buckshot", ], "description": "You currently have {0} coins to spend in Rusty's Shop", "name": "Rusty's Shop", "sell": [ "Revolver", "Semi-Automatic Pistol", "Waterpipe Shotgun", "Longsword", "Raw Bear Meat", "Cooked Bear Meat", "12 Gage Buckshot", ] }, "5498734": { "buy": [ "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this weapons shop", "name": "Weaponsmith Shop", "sell": [ "Assault Rifle", "Bolt Action Rifle" ] }, "chat": { "buy": [ "Build Kit" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" } }, "Waterpipe Shotgun": { "buy": "2000", "img": "[URL]http://vignette3.wikia.nocookie.net/play-rust/images/1/1b/Waterpipe_Shotgun_icon.png/revision/latest?cb=20160310205730[/URL]", "item": "waterpipe shotgun", "sell": "1000" }, "Shop - Shop List": { "1234567": { "buy": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this farmers market", "name": "Fruit Market", "sell": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ] }, "5498734": { "buy": [ "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this weapons shop", "name": "Weaponsmith Shop", "sell": [ "Assault Rifle", "Bolt Action Rifle" ] }, "chat": { "buy": [ "Build Kit" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" } } }
Last edited by a moderator: Jun 9, 2016 -
Sorry if this exists, but how do you specify a kit name that somebody can buy? If the kit name is "weapons", which say, contained a bone knife, an axe, and maybe an apple, how would that look? Does the kit come from the kit plugin or something defined in the config file?
-
Code:
"chat": { "buy": [ "Build Kit", "Airdrop" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" }
-
@1541Danny,
You are missing } at the end and had extra ,
Code:{ "Message - Bought": "You've successfully bought {0}x {1}", "Message - Error - Cooldown": "This item has a cooldown of {0} seconds.", "Message - Error - Cooldown Amount": "This item has a cooldown and amount is limited to 1.", "Message - Error - Invetory Full": "Your inventory is full.", "Message - Error - Invetory Slots": "Your inventory needs {0} free slots.", "Message - Error - Item Doesnt Exist": "WARNING: The item you are trying to buy doesn't seem to exist", "Message - Error - Item Not Set Properly": "WARNING: The admin didn't set this item properly! (item)", "Message - Error - Item Not Valid": "WARNING: It seems like it's not a valid item", "Message - Error - No Action In Shop": "You are not allowed to {0} in this shop", "Message - Error - No Action Item": "You are not allowed to {0} this item here", "Message - Error - No Buy Price": "WARNING: No buy price was given by the admin, you can't buy this item", "Message - Error - No Chat Shop": "You may not use the chat shop. You might need to find the NPC Shops.", "Message - Error - No Econonomics": "Couldn't get informations out of Economics. Is it installed?", "Message - Error - No NPC": "The NPC owning this shop was not found around you", "Message - Error - No Sell Price": "WARNING: No sell price was given by the admin, you can't sell this item", "Message - Error - No Shop": "This shop doesn't seem to exist.", "Message - Error - Not Enough Items": "You don't have enough of this item.", "Message - Error - Not Enough Money": "You need {0} coins to buy {1} of {2}", "Message - Error - Redeem Kit": "WARNING: There was an error while giving you this kit", "Message - Sold": "You've successfully sold {0}x {1}", "Shop - Shop Categories": { "Cooked Bear Meat": { "buy": "30", "img": "http://vignette3.wikia.nocookie.net/play-rust/images/1/17/Bear_Meat_Cooked_icon.png/revision/latest?cb=20160109015147", "item": "bear meat cooked", "sell": "0" }, "Longsword": { "buy": "250", "img": "http://vignette4.wikia.nocookie.net/play-rust/images/3/34/Longsword_icon.png/revision/latest?cb=20151106061240", "item": "longsword", "sell": "50" }, "Raw Bear Meat": { "buy": "10", "img": "http://vignette4.wikia.nocookie.net/play-rust/images/c/c8/Bear_Meat_icon.png/revision/latest?cb=20151106054440", "item": "bear meat", "sell": "5" }, "Revolver": { "buy": "500", "img": "http://vignette1.wikia.nocookie.net/play-rust/images/5/58/Revolver_icon.png/revision/latest?cb=20160226092929", "item": "revolver", "sell": "250" }, "Semi-Automatic Pistol": { "buy": "1000", "img": "http://vignette2.wikia.nocookie.net/play-rust/images/6/6b/Semi-Automatic_Pistol_icon.png/revision/latest?cb=20160211200319", "item": "semi-automatic pistol", "sell": "500" }, "12 Gage Buckshot": { "buy": "25", "img": "http://vignette1.wikia.nocookie.net/play-rust/images/2/2f/12_Gauge_Buckshot_icon.png/revision/latest?cb=20151106061114", "item": "12 gage buckshot", "sell": "1" }, "Shop - Shop List": { "1408372498": { "buy": [ "Revolver", "Semi-Automatic Pistol", "Waterpipe Shotgun", "Longsword", "Raw Bear Meat", "Cooked Bear Meat", "12 Gage Buckshot" ], "description": "You currently have {0} coins to spend in Rusty's Shop", "name": "Rusty's Shop", "sell": [ "Revolver", "Semi-Automatic Pistol", "Waterpipe Shotgun", "Longsword", "Raw Bear Meat", "Cooked Bear Meat", "12 Gage Buckshot" ] }, "5498734": { "buy": [ "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this weapons shop", "name": "Weaponsmith Shop", "sell": [ "Assault Rifle", "Bolt Action Rifle" ] }, "chat": { "buy": [ "Build Kit" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" } }, "Waterpipe Shotgun": { "buy": "2000", "img": "http://vignette3.wikia.nocookie.net/play-rust/images/1/1b/Waterpipe_Shotgun_icon.png/revision/latest?cb=20160310205730", "item": "waterpipe shotgun", "sell": "1000" }, "Shop - Shop List": { "1234567": { "buy": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this farmers market", "name": "Fruit Market", "sell": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ] }, "5498734": { "buy": [ "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this weapons shop", "name": "Weaponsmith Shop", "sell": [ "Assault Rifle", "Bolt Action Rifle" ] }, "chat": { "buy": [ "Build Kit" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" } } } }
-
Hello,
JSONLint is validated but i get this error..
(21:44:48) | [Oxide] 12:44 [Error] GUIShop.cs(132,58): error CS0234: The type or namespace name `unixTimestamp' does not exist in the namespace `Facepunch.Math'. Are you missing an assembly reference?
Did i do something wrong somewhere? -
Maybe you are using outdated version
-
@sami37 Just tried that, the GUI still doesn't show
-
You have an error in your plugin file
-
Hi! I'm new with plugins and i'm learning to edit them and i was wondering... how to add my custom stuff because i cannot find any of this lines in the notepad...
-
static int CurrentTime() { return Facepunch.Math.Epoch.Current; } -
I'm noticing something hinky- Updater plugin is telling me that 1.3.0 is installed even though I've downloaded the newest version; when I download the newest version released May 5th and open the .cs file, it says it's 1.3.0 --Is there really a 1.3.1 version, and how do I find it?
(07:46:14) | [Oxide] 07:46 [Warning] [Updater]
Following plugins are outdated:
# GUIShop | Installed: 1.3.0 - Latest: 1.3.1 | GUI Shop for Rust | Oxide
and to install:
(07:55:01) | [Oxide] 07:55 [Debug] Load requested for plugin which is already loading: GUIShop
(07:55:03) | [Oxide] 07:55 [Info] GUIShop was compiled successfully in 2344ms
(07:55:03) | [Oxide] 07:55 [Info] Loaded plugin GUIShop v1.3.0 by Reneb -
@Vividicci
look some post above, and you will find one -
Basically in game nothing is showing up, the default config is below, i want to know how to add my own items, the tutorial shows me what to edit, but nothing will show in game. Please could someone help me?
Thanks
Dan
Code:{ "Message - Bought": "You've successfully bought {0}x {1}", "Message - Error - Cooldown": "This item has a cooldown of {0} seconds.", "Message - Error - Cooldown Amount": "This item has a cooldown and amount is limited to 1.", "Message - Error - Invetory Full": "Your inventory is full.", "Message - Error - Invetory Slots": "Your inventory needs {0} free slots.", "Message - Error - Item Doesnt Exist": "WARNING: The item you are trying to buy doesn't seem to exist", "Message - Error - Item Not Set Properly": "WARNING: The admin didn't set this item properly! (item)", "Message - Error - Item Not Valid": "WARNING: It seems like it's not a valid item", "Message - Error - No Action In Shop": "You are not allowed to {0} in this shop", "Message - Error - No Action Item": "You are not allowed to {0} this item here", "Message - Error - No Buy Price": "WARNING: No buy price was given by the admin, you can't buy this item", "Message - Error - No Chat Shop": "You may not use the chat shop. You might need to find the NPC Shops.", "Message - Error - No Econonomics": "Couldn't get informations out of Economics. Is it installed?", "Message - Error - No NPC": "The NPC owning this shop was not found around you", "Message - Error - No Sell Price": "WARNING: No sell price was given by the admin, you can't sell this item", "Message - Error - No Shop": "This shop doesn't seem to exist.", "Message - Error - Not Enough Items": "You don't have enough of this item.", "Message - Error - Not Enough Money": "You need {0} coins to buy {1} of {2}", "Message - Error - Redeem Kit": "WARNING: There was an error while giving you this kit", "Message - Sold": "You've successfully sold {0}x {1}", "Shop - Shop Categories": { "Apple": { "buy": "1", "img": "[URL]http://vignette2.wikia.nocookie.net/play-rust/images/d/dc/Apple_icon.png/revision/latest/scale-to-width-down/100?cb=20150405103640[/URL]", "item": "apple", "sell": "1" }, "Assault Rifle": { "buy": "10", "img": "[URL]http://vignette3.wikia.nocookie.net/play-rust/images/d/d1/Assault_Rifle_icon.png/revision/latest/scale-to-width-down/100?cb=20150405105940[/URL]", "item": "assault rifle", "sell": "8" }, "BlueBerries": { "buy": "1", "img": "[URL]http://vignette1.wikia.nocookie.net/play-rust/images/f/f8/Blueberries_icon.png/revision/latest/scale-to-width-down/100?cb=20150405111338[/URL]", "item": "blueberries", "sell": "1" }, "Bolt Action Rifle": { "buy": "10", "img": "[URL]http://vignette1.wikia.nocookie.net/play-rust/images/5/55/Bolt_Action_Rifle_icon.png/revision/latest/scale-to-width-down/100?cb=20150405111457[/URL]", "item": "bolt action rifle", "sell": "8" }, "Build Kit": { "buy": "10", "img": "[URL]http://oxidemod.org/data/resource_icons/0/715.jpg?1425682952[/URL]", "item": "kitbuild", "sell": "8" } }, "Shop - Shop List": { "1234567": { "buy": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this farmers market", "name": "Fruit Market", "sell": [ "Apple", "BlueBerries", "Assault Rifle", "Bolt Action Rifle" ] }, "5498734": { "buy": [ "Assault Rifle", "Bolt Action Rifle" ], "description": "You currently have {0} coins to spend in this weapons shop", "name": "Weaponsmith Shop", "sell": [ "Assault Rifle", "Bolt Action Rifle" ] }, "chat": { "buy": [ "Build Kit" ], "description": "You currently have {0} coins to spend in this builders shop", "name": "Build" } } }
Last edited by a moderator: Jun 9, 2016 -
-
Sorry, i havnt done it, i tried editing it and it now doesnt work again, please can someone help, heres my config:
Attached Files:
-
-