Wulf replied on the ServerRewards tab. Its a Rust issue.

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
-
-
Hope it helps.
Last edited by a moderator: Apr 15, 2017 -
Anyone have trouble with this mod doubling or quadrupling prices on your server? I'll set something to 5k, and it will show up 10k in the shop in game.
-
Pulling out my hair... getting a
Code:Failed to call hook 'cmdBarricadeAdd' on plugin 'Barricades v0.0.1' (NullReferenceException: Object reference not set to an instance of an object)
Code:Here's the error:22:31 [Stacktrace] at Oxide.Plugins.Barricades.createBarricade (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Barricades.cmdBarricadeAdd (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Barricades.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Great plugin, can we have a search function ? Would be really useful. Thanks.
-
When do you fix a mouse bug?
-
Wulf Community Admin
-
Unfortunately ServerRewards does not work currently either. I don't much feel like finding a third potential replacement since they probably all have the same bug.
Last edited by a moderator: Apr 18, 2017 -
Hello,
To limit the bugs, I close the mini map with the button ">>>" -
I have a enormous problem when i do /shop my cursor stay on middlescreen and the camera move at same time so my cursor don't move and i can't leave the menu help me
-
Maybe a temp work around for GUIShop would be an add-on that hides all other CUI elemets... -
I need some help whenever I add more items to my the shop it just deletes everything in the config and changes to original. I tried with 5 items and it worked fine but whenever I add more it does work. Heres my code.
Code:{ "Message - Bought": "You've successfully bought {0}x {1}", "Message - Error - Building Blocked": "You cannot shop while in building blocked area.", "Message - Error - Command Multiple": "Can't buy multiple", "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 - Not Nothing": "You cannot buy nothing of this item.", "Message - Error - Redeem Kit": "WARNING: There was an error while giving you this kit", "Message - Sold": "You've successfully sold {0}x {1}", "Shop - Balance": false, "Shop - Shop Categories": { "Corn Seed": { "buy": "100", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/2/29/Corn_Seed_icon.png/revision/latest/scale-to-width-down/100?cb=20151106054446", "item": "seed.corn", "sell": "-1" }, "Corn": { "buy": "9999", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/0/0a/Corn_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061809", "item": "corn", "sell": "2000" }, "Pumpkin Seed": { "buy": "100", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/6/66/Pumpkin_Seed_icon.png/revision/latest/scale-to-width-down/100?cb=20161217175839", "item": "seed.pumpkin", "sell": "-1" }, "Pumpkin": { "buy": "9999", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/4/4c/Pumpkin_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061814", "item": "seed.pumpkin", "sell": "2000" }, "Gears": { "buy": "50", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/7/72/Gears_icon.png/revision/latest/scale-to-width-down/100?cb=20161109045908", "item": "gears", "sell": "-1" }, "Assault Rifle": { "buy": "5000", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/d/d1/Assault_Rifle_icon.png/revision/latest/scale-to-width-down/100?cb=20160211200609", "item": "rifle.ak", "sell": "-1" }, "Bolt Action Rifle": { "buy": "5000", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/5/55/Bolt_Action_Rifle_icon.png/revision/latest/scale-to-width-down/100?cb=20160211200415", "item": "rifle.bolt", "sell": "-1" }, "Holosight": { "buy": "1000", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/4/45/Holosight_icon.png/revision/latest?cb=20160211200620", "item": "weapon.mod.holosight", "sell": "-1" }, "4x Zoom Scope": { "buy": "1000", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/9/9c/4x_Zoom_Scope_icon.png/revision/latest/scale-to-width-down/100?cb=20160211201610", "item": "weapon.mod.small.scope", "sell": "-1" }, "Muzzle Boost": { "buy": "1000", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/7/7d/Muzzle_Boost_icon.png/revision/latest/scale-to-width-down/100?cb=20160601121705", "item": "weapon.mod.muzzleboost", "sell": "-1" }, "Muzzle Brake": { "buy": "1000", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/3/38/Muzzle_Brake_icon.png/revision/latest/scale-to-width-down/100?cb=20160601121719", "item": "weapon.mod.muzzlebrake", "sell": "-1" }, "Weapon Flashlight": { "buy": "1000", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/0/0d/Weapon_Flashlight_icon.png/revision/latest/scale-to-width-down/100?cb=20160211201539", "item": "weapon.mod.flashlight", "sell": "-1" }, "Weapon Lasersight": { "buy": "1000", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/8/8e/Weapon_Lasersight_icon.png/revision/latest/scale-to-width-down/100?cb=20160211201545", "item": "weapon.mod.lasersight", "sell": "-1" }, "5.56 Rifle Ammo": { "buy": "15", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/4/49/5.56_Rifle_Ammo_icon.png/revision/latest/scale-to-width-down/100?cb=20150405103333", "item": "ammo.rifle", "sell": "-1" }, "HV 5.56 Rifle Ammo": { "buy": "150", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/d/df/HV_5.56_Rifle_Ammo_icon.png/revision/latest/scale-to-width-down/100?cb=20150612151932", "item": "ammo.rifle.hv", "sell": "-1" }, "Rocket Launcher": { "buy": "15000", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/0/06/Rocket_Launcher_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061852", "item": "rocket.launcher", "sell": "-1" }, "Rocket": { "buy": "750", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/9/95/Rocket_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061039", "item": "ammo.rocket.basic", "sell": "-1" }, "Metal Facemask": { "buy": "2500", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/1/1f/Metal_Facemask_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061432", "item": "metal.facemask", "sell": "-1" }, "Hoodie": { "buy": "1500", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/b/b5/Hoodie_icon.png/revision/latest/scale-to-width-down/100?cb=20160310205713", "item": "hoodie", "sell": "-1" }, "Metal Chest Plate": { "buy": "2500", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/9/9d/Metal_Chest_Plate_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061201", "item": "metal.plate.torso", "sell": "-1" }, "Pants": { "buy": "1500", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/3/3f/Pants_icon.png/revision/latest/scale-to-width-down/100?cb=20150821195647", "item": "pants", "sell": "-1" }, "Boots": { "buy": "1500", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/b/b3/Boots_icon.png/revision/latest/scale-to-width-down/100?cb=20160211200326", "item": "shoes.boots", "sell": "-1" }, "Road Sign Jacket": { "buy": "2500", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/8/84/Road_Sign_Jacket_icon.png/revision/latest/scale-to-width-down/100?cb=20151106054408", "item": "roadsign.jacket", "sell": "-1" }, "Road Sign Kilt": { "buy": "2500", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/3/31/Road_Sign_Kilt_icon.png/revision/latest/scale-to-width-down/100?cb=20160211200530", "item": "roadsign.kilt", "sell": "-1" }, "Riot Helmet": { "buy": "2500", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/4/4e/Riot_Helmet_icon.png/revision/latest/scale-to-width-down/100?cb=20151106060949", "item": "riot.helmet", "sell": "-1" }, "Auto Turret": { "buy": "95000", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/f/f9/Auto_Turret_icon.png/revision/latest/scale-to-width-down/100?cb=20151106062203", "item": "autoturret", "sell": "-1" }, "Flame Turret": { "buy": "95000", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/f/f9/Flame_Turret_icon.png/revision/latest/scale-to-width-down/100?cb=20170215180224", "item": "flameturret", "sell": "-1" }, "Semi-Automatic Pistol": { "buy": "2000", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/6/6b/Semi-Automatic_Pistol_icon.png/revision/latest/scale-to-width-down/100?cb=20160211200319", "item": "pistol.semiauto", "sell": "-1" }, "Pistol Bullet": { "buy": "5", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/9/9b/Pistol_Bullet_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061928", "item": "ammo.pistol", "sell": "-1" }, "Custom SMG": { "buy": "3000", "img": "https://vignette1.wikia.nocookie.net/play-rust/images/9/95/Custom_SMG_icon.png/revision/latest/scale-to-width-down/100?cb=20151108000740", "item": "smg.2", "sell": "-1" }, "M92 Pistol": { "buy": "2500", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/4/43/M92_Pistol_icon.png/revision/latest/scale-to-width-down/100?cb=20161202144022", "item": "pistol.m92", "sell": "-1" }, "MP5A4": { "buy": "4000", "img": "https://vignette3.wikia.nocookie.net/play-rust/images/c/c0/MP5A4_icon.png/revision/latest/scale-to-width-down/100?cb=20161013162633", "item": "smg.mp5", "sell": "-1" }, "Low Grade Fuel": { "buy": "10", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/2/26/Low_Grade_Fuel_icon.png/revision/latest/scale-to-width-down/100?cb=20151110002210", "item": "lowgradefuel", "sell": "-1" }, "Metal Pipe": { "buy": "50", "img": "https://vignette2.wikia.nocookie.net/play-rust/images/4/4a/Metal_Pipe_icon.png/revision/latest/scale-to-width-down/100?cb=20161109045929", "item": "metalpipe", "sell": "-1" }, "Metal Blade": { "buy": "10", "img": "https://vignette4.wikia.nocookie.net/play-rust/images/9/9b/Metal_Blade_icon.png/revision/latest/scale-to-width-down/100?cb=20161109045912", "item": "metalblade", "sell": "-1" }, }, "Shop - Shop Icon Url": "", "Shop - Shop List": { "chat": { "buy": [ "Corn Seed", "Corn", "Pumpkin Seed", "Pumpkin", "Gears", "Assault Rifle", "Bolt Action Rifle", "Holosight", "4X Zoom Scope", "Muzzle Boost", "Muzzle Brake", "Weapon Flashlight", "Weapon Lasersight", "5.56 Rifle Ammo", "HV 5.56 Rifle Ammo", "Rocket Launcher", "Rocket", "Metal Facemask", "Hoodie", "Metal Chest Plate", "Pants", "Boots", "Road Sign Jacket", "Road Sign Kilt", "Riot Helmet", "Auto Turret", "Flame Turret", "Semi-Automatic Pistol", "Pistol Bullet", "Custom SMG", "M92 Pistol", "MP5A4", "Low Grade Fuel", "Metal Pipe", "Metal Blade", ], "description": "You currently have {0} dollars to spend in this shop", "name": "Shop", "sell": [ "Corn Seed", "Corn", "Pumpkin Seed", "Pumpkin", "Gears", "Assault Rifle", "Bolt Action Rifle", "Holosight", "4X Zoom Scope", "Muzzle Boost", "Muzzle Brake", "Weapon Flashlight", "Weapon Lasersight", "5.56 Rifle Ammo", "HV 5.56 Rifle Ammo", "Rocket Launcher", "Rocket", "Metal Facemask', "Hoodie", "Metal Chest Plate", "Pants", "Boots", "Road Sign Jacket", "Road Sign Kilt", "Riot Helmet", "Auto Turret", "Flame Turret", "Semi-Automatic Pistol", "Pistol Bullet", "Custom SMG", "M92 Pistol", "MP5A4", "Low Grade Fuel", "Metal Pipe", "Metal Blade", ] } } }
-
You need to validate the .json for proper formatting. Use this: The JSON Validator
I can see you need to remove the comma at the last item on each section.
You have:
"Low Grade Fuel",
"Metal Pipe",
"Metal Blade",
],
But it needs to be:
"Low Grade Fuel",
"Metal Pipe",
"Metal Blade" <------ (no comma for last item)
],Last edited by a moderator: Apr 20, 2017 -
-
After weeks of trying to get both chat shop AND NPC shops to work simultaneously, I finally figured it out.
Thanks to all who pointed me in the right direction, it was surprisingly simple after all.
PM me if you want my config. -
How do I create a category? -
Still running into an issue with console commands...
Line 776 seems to be the problem
Code:NextTick(() => ConsoleSystem.Run(ConsoleSystem.Option.Server, c));
-