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. NexusBR updated Inventory Guardian with a new update entry:

    Lots of fun stuff!

     
  2. NexusBR updated Inventory Guardian with a new update entry:

    Changed License


    [DOUBLEPOST=1425235440][/DOUBLEPOST]
    Done :cool:
    Read the latest updates;)
     
  3. So I have been trying to get this to work.. I tried the ig.saveall and in rusty, I see it saving all the inventories. So I did the kill command in console, then after waking up I did a /ig.restore and it says I don't have any inventory to restore..

    What am I doing wrong?
     
  4. Do not kill players, If you kill the players the inventory will not work.

    /ig,restore is for CHAT COMMAND not console.

    Inventory Guardian works by itself you don't need do anything, Just make sure that you have a updated version.
    Check on the Description for all commands.
     
  5. Ahh.. ok. I was killing myself just to test that it would do a restore. I'll let myself die of radiation to verify it's working.
    [DOUBLEPOST=1425566041][/DOUBLEPOST]I just did a ig.saveall in console. let myself die naturally and when I respawned and did a /ig restore it says I don't ahve any inventory to restore.
     
  6. READ THE DESCRIPTION... :mad:
     
  7. I'm struggling with this... and I have read the desciption....

    I only want to save certain players inventories and restore them manually after a wipe via the commands.

    As a test I saved my inventory and got the confirmation, 'Your inventory has been saved".

    I then fell from a great height and died.

    When I respawned in I did /ig.restore name but it tells me 'You don't have any inventory saved, so cannot be restored'.

    My config options:
    "AutoRestore": false,
    "Enabled": true,
    "KeepItemCondition": true,
    "RequiredAuthLevel": 2,
    "ChatName": "Inventory Guardian",
    "RestoreUponDeath": false,
    "ConfigVersion": "0.0.8"
     
  8. As you can see on the description, I.G wipe the player inventory when he dies to avoid players to duplicate items IF RestoreUponDeath is disabled (DEFAULT).
     
  9. Does this save players blueprints after forced server wipe?
     
  10. Blueprints don't wipe after a forced server wipe. If blueprints are force wiped it would because of a protocol change etc so any old persistence files would be incompatible anyway.
     
  11. 1) If that's true then whats the point of this plugin?
    2) Which file are players blueprints saved to?
     
  12. This plugin saves inventories not blueprints, that's the point.

    Blueprints are stored inside the /persistence folder in a separate folder for each player under their steamID. The persistence folder is in the same folder as the oxide folder. Updates to the game do not usually wipe the persistence folder unless the Devblog gives prior warning to this because they've changed the file format or similar.

    Source: I run an extremely busy and successful server and know what I'm talking about.

    What this plugin does in effect, depending on how you set it up, is store the players inventories so that if you wipe right now and restart the server then their inventories restore when they reconnect.

    I had some confusion with this plugin myself so I edited the plugin to behave as I wanted it to.
     
  13. Thanks for your reply.

    My server is successful also, but It's been open less than 2 weeks so I'm still getting the hang of things. But now that I am getting over 30+ players I want to be sure that the next time I wipe that everything is not lost.

    So I should keep the persistence folder. Does the persistence folder only keep track of blueprints? As for inventories I am still a bit confused because most players keep there stuff in chests.

    So when you wipe I'm assuming you keep the persistence and oxide folder and then delete the rest?
     
  14. If inventory guardian is setup correctly then players should keep what they had on them at the time of the wipe.

    If it's a forced wipe then you don't need to do anything, don't delete anything.

    If you want manually wipe just look in the save folder next to oxide. There will be a folder inside with your current seed and map size. Either delete this or rename it adding the word backup to the end if it. Then just start your server.
     
  15. What they had in their inventory... So i need to tell my players to put all there good stuff in there inventory before a wipe at a spercific time and then do /ig.save ?

    That's nonsense. If there's an update you have to manually wipe by deleting the saved map and re-downloading oxide replacing the files. Which usualy screws it up for me so I then have to reinstall the whole thing, accept for plugins etc.
     
  16. It's not nonsense and you don't need to be so rude when I'm trying to assist you. A forced wipe is just that, forced. You don't need to delete anything as the map will wipe regardless, the game will do what I've described for a manual wipe, it will rename your last map saves as a backup. You only need to reinstall oxide if there's been a game update.

    If you are deleting stuff without knowing what you are doing then no wonder it normally screws up for you.
     
  17. You forgot to mention that you also have to download the latest branch through steam cmd after an update.

    inventory guardian seems like a pointless plugin to me since it only saves what players have in there *inventory* (not chests) at the time of when you did /ig.save this means some players will keep *some stuff" and others will not, making it unfair.
     
  18. I didn't forget to mention as you never asked how to update, you were asking about saving blueprints and wipes. The steamcmd only applies to those running a local server or off a dedibox. Most of us use a hosting service with a control panel and an update button.

    As for the plugin, well it is called inventory guardian and not chest guardian. It's not pointless, the idea is that as you do the wipe anyone currently alive on your server will respawn in as they were before the wipe apart from bases etc.

    If you think it's unfair then don't use it. I don't use it anymore but when I did I found it very handy.
     
  19. No. When player is disconnected his inventory saves automatically. But you can use ig.saveall through console just in case to save inventory for all players.