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. Wulf

    Wulf Community Admin

    Wulf updated Inventory Guardian with a new update entry:

    0.1.7

     
  2. Wulf,
    I just installed this and have been testing the last 15 minutes and cant seem to get the inventory to actually save. It says it is saving but when i die (even with restoreupondeath enabled it doesn't restore anything. Also when forcing a ig.save all or username and ig.restore username it says there is no inventory saved for that user. I am server owner as authlevel and I also lowered authlevel to 1 as a test. Not sure what I am doing wrong : /

    Thanks!

    To be clear.. I never had this installed prior to this update.
     
    Last edited by a moderator: Mar 14, 2016
  3. Wulf

    Wulf Community Admin

    I've only tested it with myself, but it did indeed work. I tested using the ig.saveall and ig.restoreall console commands.
     
  4. Hmm I'll try to bump the server! Thanks!
     
  5. Still having this same issue. I was working on other stuff so I let it kind of hang for awhile but I just deleted all, downloaded, installed, deleted config (to be triple sure) reloaded. Same issues... Saveall says "Player 'x' inventory has been saved! however on restore or restoreall I get "Player 'x' don't have any saved inventory, so cannot be restored!"

    I've done a lot of these plugins over the last week or so and this one is kicking my butt.

    Thanks!
     
  6. Wulf

    Wulf Community Admin

    If you could provide your data file for the plugin, and any info on specific examples that'd be great.
     
  7. (16:30:37) | Inventory Guardian: Initiating all players inventories salvation...
    (16:30:37) | Inventory Guardian: Player "Absolut" inventory has been saved!
    (16:30:37) | Inventory Guardian: Your inventory has been saved by "admin".
    (16:31:59) | Absolut[REMOVED] was killed by fall!
    (16:32:10) | Saved 18,274 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01).
    (16:32:10) | Saving complete
    (16:32:20) | [RCON][71.6.3.150:51900] status
    (16:32:24) | [RCON][71.6.3.150:51900] ig.restoreall
    (16:32:24) | Inventory Guardian: Initiating all players inventories restoration...
    (16:32:25) | Inventory Guardian: All players inventories has been restored! ----NOT MINE? - Absolut
    (16:32:33) | [RCON][71.6.3.150:51900] ig.restore Absolut
    (16:32:33) | Inventory Guardian: Player "Absolut" don't have any saved inventory, so cannot be restored! ----Invetories were saved?
    (16:32:53) | [RCON][71.6.3.150:51900] status

    Looking at the data file it appears nothing is being saved.

    Also I tried as owner, admin, and as a stripped basic player
     

    Attached Files:

  8. Wulf

    Wulf Community Admin

    So yeah, it never saved. Your datafile was empty. Have you tried deleting the datafile while the plugin is unloaded?
     
  9. Ya just tried right now to validate. It just doesn't write data...
     
  10. Wulf

    Wulf Community Admin

    I'm not sure then. I'll have to take a look once I finish my move.
     
  11. Appreciate it! Thanks Wulf.

    I should have tried this earlier! I installed the previous version and it seems to work perfectly fine. Hopefully this helps in your troubleshooting!
     
  12. its a LUA file? shouldnt it be json?
     
  13. I'm pretty sure it could be .lua. I've seen other plugins that use it.
     
  14. Wulf

    Wulf Community Admin

    It's a plugin written in LUA, the file extension is .lua. Only config files are .json, not plugins.
     
  15. No config loads.
     
  16. Wulf

    Wulf Community Admin

    Check your oxide/logs for errors please. The config will generate automatically if Oxide is installed without issues.
     
  17. I'm not sure if I'm missing this or not but is there a way to make this not only for admins and mods but say VIP as well like a permission for the group vip or gold as I have setup different permissions for different levels of donations (Till I figure out the Donation Claim plugin)
     
  18. Yeah i know but there is no config, i thought maybe cause it wasnt a json file.

    And i also am wanting to set this for a vip rank
     
  19. For some reason i can't save my inventory, every time it says that it was saved successfuly, but its not. Clen install (even clean windows install)
     
  20. k1lly0u updated Inventory Guardian with a new update entry:

    0.2.0