
Inventory Guardian
Restore players inventory even after server wipe
Total Downloads: 3,604 - First Release: Jan 12, 2015 - Last Update: Feb 4, 2017
- 5/5, 19 likes
-
k1lly0u updated Inventory Guardian with a new update entry:
0.2.3
-
Code:
[Oxide] 10:18 [Error] Failed to call hook 'ccmdInvGuard' on plugin 'InventoryGuardian v0.2.3' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 10:18 [Debug] at Oxide.Plugins.InventoryGuardian.FindPlayer (.BasePlayer player, System.String arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.InventoryGuardian.ccmdInvGuard (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.InventoryGuardian.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
Oxide Version: 2.0.2700
Any help?Last edited by a moderator: Nov 8, 2016 -
InventoryGuardian - Failed to compile: InventoryGuardian.cs(537,21): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `connection' and no extension method `connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
-
Wulf Community Admin
Wulf updated Inventory Guardian with a new update entry:
0.2.4
-
Error while compiling InventoryGuardian.cs(537,21): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `Connection' and no extension method `Connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
-
Wulf Community Admin
-
-
Console commands still working? I can use this fine through chat, but not console.
"/ig strip Kapper" -Works fine in chat
"ig strip Kapper" -Doesn't work in console (Works in rcon though?)
Line 536 InventoryGuardian.cs in plugin folder "if (arg.Connection == null)"
Changed to "if (arg.Connection != null)"
Works fine in-game, not sure if its checking for admin though.Last edited by a moderator: Feb 17, 2017 -
cannot save inventories from console (players were asleep)
Failed to call hook 'ccmdInvGuard' on plugin 'InventoryGuardian v0.2.4' (NullReferenceException: Object reference not set to an instance of an object) -
Wulf Community Admin
-
/ig restoreupondeath (chat) or ig restoreupondeath (console) gives no feedback as to whether it was just toggled on or off so one cannot know which state that feature of the plugin is currently in.
-
Could it be that the code for the /ig restoreupondeath part is missing, I opened it up to look at why there is no response to that command and it looks like there is no line to accept that command in the first place.
-
http://oxidemod.org/plugins/restore-upon-death.1859/ -
Understood, thanks, I ended up downloading the other plugin for the removed feature.
-
i seem to be having issues installing this addon, im using multiplay to host my server, they had inventory guardian but v0.2.22, when i added this addon then saved my cofig it didnt show in the list of configurable addons. I requested they updated the addon to the current version and now they have i still have the same issue. if i run the permission commands for it it tells me they dont exist. due to it being a hosted server im not able to check the .json file or not that im aware
any ideas?
-
I was thinking of giving players the option to save their inventory (a recent server restart rolled everyone's inventory back about 30 min) but I worry that people will use it to restore inventory before a raid etc.
-
Tried the 'RestoreUponDeath' mod that is practically the same as this. Does not copy the condition of weapon mods, or the amount of fuel inside inventory items. I used the code for weapon mods to copy item.contents on candle hats but it only copies a single low grade fuel. Anyone know how to get and save the fuel amounts?