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
  1. Because author didn't updated the plugin. I just edited source file to do some things. Then I attached to my post edited working file (I didn't changed dates and version).
     
  2. I removed the plugin after stopping the server, then saved the settings , I also did a search in the config search bar for Inventory Guardian and there are none there, I then saved and restarted server, The plugin is not listed on my plugin list,
    The last two times I used this plugin after a wipe I would get a "your inventory is saved" message while I am standing on a beach naked without ANYTHING at all !!!
    AND I cannot understand why people "have" to "quote" a post that is actually on the same page as their answer ??, if it was two or three pages back I would understand it, It is something you see on American tv shows where they have to constantly repeat a scene or joke because they think people have very short attention spans.
     
  3. well, for me the plugin is working....
    But somehow wierd....
    i dont know whats the difference between Auto restore and after dead restore?

    if someone want to take over this i would have a request.
    It would be really good to have for server admins and owners.

    Like this inventory guard, but in that way, that u can restore it with a command.
    like rollback the players Inv after mysterious death or something .
    and when u do no command, it just running quiet in the background .
    maybe also with a savetimer... like 1 min steps , 20 Min Max rollback. after 20 min. will be begin to delete oldest lines..
     
  4. I just want it to save my inventory when there is a server wipe, don't care if it saves inventory when killed in game, or when raided, that's part of the game and a chance you take, you do get a little time to recover your gear if you get killed by animals/helicopter.
     
  5. wtf?i dont wanna save my inventory if get raided. or something like this.....

    I said, it would be a great tool for admins, to help players when they just died from a bug. or plugin issues....... !
     
  6. can u maybe expain the difference between Autorestore and restoreupon death?

    like i already said, i would rly like to use this as a kind of Backup save if players glitching under the map.
    or other stuff what may can happen.
    like a " minute Rewind " option
     
  7. Wulf

    Wulf Community Admin

    @Chilli, go ahead and release it. ;)
     
  8. @Crushed, autorestore allows automatically restore the inventory after wipe or death (only if restoreupon is true). If autorestore is false restore inventory can only be manually.
     
  9. Chilli updated Inventory Guardian with a new update entry:

    0.1.6

     
    Last edited by a moderator: Nov 6, 2015
  10. I just installed this plugin again (with fingers crossed) will have to wait for next wipe to see if anything is saved,
    WHAT happened to the config.json file ? how to you configure this without using console,
     
  11. Nothing.
    What exactly do you mean?
     
  12. I hope you can help me with a little problem i have. I really like your plugin and using minigames like gungame on my server. the problem is, that everytime a player dies the inventory gets restored. It wouldn'T be a problem, when the inventory gets restored just manually but when i disable "restoreupondeathc" the inventory gets deleted after death. Maybe you are aware of that problem or have some advice for me. thanks in advance
     
  13. Code:
    4:03 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Inventory-Guardian v0.1.6'
    File: Inventory-Guardian.lua Line: 153 attempt to index field 'GlobalInventory' (a nil value):
      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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  14. Use Zone Manager, Event Manager and Gun Game Plugin to make this a lot easier and nicer.
     
  15. Inventory Guardian: Player "Chronz" inventory has been saved!
    Code:
    [Oxide] 7:56 PM [Error] Failed to call hook 'ccmdSaveAll' on plugin 'Inventory-Guardian v0.1.6'
    File: Inventory-Guardian.lua Line: 208 attempt to index field 'inventory' (a nil value):
      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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 7:56 PM [Warning] CallHook 'ccmdSaveAll' on plugin 'Inventory-Guardian v0.1.6' took: 688ms
    Chronz[28938/76561197986160565] was killed by Suicide
    > ig.restore Chronz
    Inventory Guardian: Player "Chronz" don't have any saved inventory, so cannot be restored!

    So this doesn't work at all and wipe is coming soon.
     
    Last edited by a moderator: Mar 14, 2016
  16. Hello there, I was wondering if anyone could update Inventory Guardian and fix the errors that are in it. I think the developer of the plugin abandoned it or something cause he should have updated by now if anything. Thanks in advanced, may pay to do it.
     
  17. Are you having a problem with it
     
  18. Wulf

    Wulf Community Admin

    If a plugin needs updating, please keep it to it's support thread. Even if the original author is not updating it anymore, it should still be here. If you are receiving errors with it, please post them here, and if someone is able to fix it, a fix will be provided.
     
  19. But all above, people are having the same error and no one has helped
     
  20. Wulf

    Wulf Community Admin

    Like I said, if someone is able to provide a fix, they will. It's still something that should be posted in the plugin's support thread. If you'd like to request an entirely new plugin, you can do so using the Rust Requests section. This plugin likely needs a bit of an overhaul, but a quickfix probably wouldn't be too much work if someone is familiar with how it functions.