NexusBR updated Inventory Guardian with a new update entry:
Just renamed hook to remove the Depreciated Warn.

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
-
I'm looking to make it so players keep their inventory when they die, and that's it. I don't really care about saving between wipes, just when someone is dies, that the inventory they had on them is still there. Is it possible? And if so, is the downside the possible duplication of items?
-
Indeed the downside is that players will duplicate the items when they find out. -
-
i found this Warning in my Oxide.log
Code:8:44 AM [Warning] CallHook 'OnServerInitialized' on plugin 'Inventory Guardian' took: 965ms
-
-
Player inventory will not restore. Simply says that the player doesnt have anything to restore, Tried to save it all possible ways.
-
Wulf Community Admin
-
Yeah just getting this
"76561198009xxxxxxxxxxxxxxxxxxxxx": {
"belt": [],
"main": [],
"wear": []
},
in the data file. Doesnt want to store anything.Last edited by a moderator: Jul 16, 2015 -
ok when i wipe my server do i need to do anything? i just installed now.
-
gettin this error on server start
Code:Error] Failed to call hook 'OnServerInitialized' on plugin 'Inventory Guardian' File: Inventory-Guardian.lua Line: 1496 Object reference not set to an instance of an object: at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
ive never configured the config file for that plugin mst of got curupt at some stage
[DOUBLEPOST=1437774364][/DOUBLEPOST]gettin this error now when i try to first load the plugin
Code:[Error] Failed to call hook 'OnServerInitialized' on plugin 'Inventory Guardian' File: Inventory-Guardian.lua Line: 1496 Object reference not set to an instance of an object: at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Jul 25, 2015 -
I'm having an issue where the save takes a very long time to complete, in the range of 6-7 seconds. I'm curious if there's anything that can be done about that, aside from deleted older saved inventories?
-
And it is impossible to make that remained at one time? That is, what would be more than once is not Restores! PS Sorry for my bad english
-
This plugin is broken since the most recent update. It didn't save anyone's inventory after the wipe, and when set to restore upon death, it says it restores, but nothing is restored... I didn't see any errors in console.
-
when you have time can we get the plugin reworked for the last update....seems to have broken it. (no not Rust)!
-
the plugin work !! the problem is rust has been renamed lots of items names that why the plugin cannot restore in his saved file you know you have to delete saved config and retry (make a backup if you want) to manually restore items after that with good item names ...
[DOUBLEPOST=1439088162,1438990172][/DOUBLEPOST] -
Hi I got this Error today:
Code:[Oxide] 4:26 PM [Error] Failed to run a 1.00 timer File: Inventory-Guardian.lua Line: 287 field or property 'isBlueprint' does not exist: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass2.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 4, 2015 -
got this error on one persons death and he lost everything:
Code:File: Inventory-Guardian.lua Line: 287 field or property 'isBlueprint' does not exist: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 4, 2015