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

    0.2.01

     
  2. It seems not to be working for me.

    I want to set this up so when I do a wipe it saves all player data in there inventories. how can i set that up without having to give players the permission ?
     
  3. Can you give me some more information on what is not working for you. Use the console command 'ig saveall' to save all inventorys, to restore use 'ig restoreall'. Permissions are not needed for those commands but they must be run through rcon
     
  4. Hi i love the plugin

    Just wondering if theres a way/update coming to reduce the duping without completely disabling the plugin.

    Eg. Have a timer that allows users to have there invent restored maybe 2 times in a 24hrs? (So they arent killing themselves deliberately to dupe)
    and then setting auth levels. Eg. Standard Player (24hrs) Moderator (12hrs) Admin (Unlimited)

    Thanks i hope you are interested in my thoughts :)
    Yeoyetsy
     
  5. k1lly0u updated Inventory Guardian with a new update entry:

    0.2.1


    [DOUBLEPOST=1460098237][/DOUBLEPOST]
    I will look into it
     
  6. Thankyou, it seems to be happening a bit on my server but i dont want to disable it for those that use it properly.

    Regards
    Yeoyetsy
     
  7. I didn't make this plugin originally but I don't think the intention was to give players the ability be able to use it, I only added the permission for the player commands because it was requested. I don't mind adding a cool down for it but at the end of the day they will still be able to dupe items it would just take longer to do so.
     
  8. Yep no worries (Y) if it takes to long then they probs wouldnt do it... as its to much effort :)
     
  9. Inventory Guardian, could work in rust legacy ? can you help me please
     
  10. Wulf

    Wulf Community Admin

    It's only for Rust, not Rust Legacy.
     
  11. I'm trying to make the use permissions for my Gold VIPs only I added the grant group gold inventoryguardian.use and comes back with [Oxide] 03:28 [Info] Group 'gold' granted permission 'inventoryguardian.use'

    But it does nothing on the screen for my gold VIP's not even for me and I'm the owner...
    The console commands ig saveall - Save all players inventories (Sleeping and Online). does not work but the /ig save <name> - Save player's inventory for later restoration!... works, Thank you and have a great day
     
  12. Yes there was a typo in the permission, thanks for pointing that out. As for the console command, try 'ig save all' <-- note the space between save and all ;)
     
  13. Another (unimportant) typo when plugin is activated it types in console:
    [Oxide] 13:42 [Info] [InventoryGuardian] Protocol change has been detected. Activing Auto Restore for all saved inventorys

    Perhaps change Activing to Activating.
    Thank you for a good plugin.
     
  14. It appears the documentation makes mention of "saveall", "restoreall", "deleteall", "stripall" which does not work. If you type "ig" at the console you'll notice spaces. I know this may seem tiny but can the documentation be updated to include the " " (space) so people (myself included) aren't confused why it wasn't working?

    Thanks!
     
  15. It will be fixed in the next update
    Done.

    Thanks for them out guys, I must've been half asleep :p
     
  16. @k1lly0u, you can do delete corpse (or other method delete loot at death) upon death?
    Players multiply his inventory without this function (Restore Upon Death Enabled).
     
  17. Good call i agree, is this possible? @k1lly0u
     
  18. Code:
                            case "save":
                               // if (IsAdmin(player))
                                    if (args.Length == 2)
                                    {
                                        BasePlayer target = FindPlayer(player, args[1]);
                                        if (target != null)
                                        {
                                            if (SaveInventory(target))
                                            {
                                                MSG(player, "", $"You have successfully saved {target.displayName}'s inventory");
                                                return;
                                            }
                                            MSG(player, "", $"The was a error saving {target.displayName}'s inventory");
                                        }
                                        return;
                                    }
                                    else if (IsUser(player))
                                    {
                                        if (SaveInventory(player))
                                        {
                                            MSG(player, "", "You have successfully saved your inventory");
                                            return;
                                        }
                                        MSG(player, "", "The was a error saving your inventory");
                                    }
                                    else MSG(player, "You do not have permission to use this command", "", true);
                                return;
    Friend was having problems using the permissions for players with this plugin, looking at the code it, in your switch case, you check if the player is admin, and if they are you check the auth level and the permissions. I commented out the first admin check and it solved her problem.
     
  19. sounds like a good idea
    Thanks for pointing that out, although you should keep the admin check and add put the next part in { } otherwise anyone will be able to save other players inventorys with out any permissions at all