That might be enough for me to get something working. I'll update here once I've had some time to try some things out.

VendingManager
Utility for managing vending machines
Total Downloads: 1,957 - First Release: Feb 17, 2017 - Last Update: Apr 5, 2018
- 5/5, 9 likes
-
-
-
ignignokt84 updated VendingManager with a new update entry:
0.2.2
-
-
is there any reason why the vending machines are going down in health ive set them to 1250 but it just decreases in health
-
-
-
-
-
-
-
Last edited by a moderator: Oct 22, 2017
-
There's no way to add multiple skins of the same item as far as I'm aware - the VM sell order doesn't reliably pick a skinned item from the inventory, so there's no guarantee a skin would remain associated with a particular sell order. -
-
Code:
Failed to call hook 'CommandDelegator' on plugin 'VendingManager v0.2.2' (NullReferenceException: Object reference not set to an instance of an object) (01:15:45) | at Oxide.Plugins.VendingManager.LoadSellOrders (.VendingMachine vm, System.String templateName, Boolean replace, System.String& message) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VendingManager.HandleLoad (.BasePlayer player, System.String[] args, Boolean replaceAll, System.String& message, System.Object[]& opts) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VendingManager.CommandDelegator (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VendingManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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
-
vendors are randomly breaking when players try to use them ? no console errors
-
[DOUBLEPOST=1509717541][/DOUBLEPOST] -
The plugin says that I do not have the economics plugin and it is installed on my server.
Code:(16:02:13) | VendingManager was compiled successfully in 3021ms (16:02:13) | Unloaded plugin VendingManager v0.2.2 by ignignokt84 (16:02:13) | [VendingManager] Economics not detected - money purchases disabled (16:02:13) | [VendingManager] ServerRewards not detected - RP purchases disabled (16:02:13) | Loaded plugin VendingManager v0.2.2 by ignignokt84
-
@taNaToS - Can you confirm you're adding a valid sell order? Can you upload your VendingManager.json here please (the one in oxide/config)?
Regarding Economics - do econ transactions still work? That message might be printing out while the plugin is unloading, so possibly is a false alarm.