utarwyn / EnderContainers

A modern and customizable Bukkit plugin to divide enderchest into multiple inventories.
https://spigotmc.org/resources/4750/
BSD 3-Clause "New" or "Revised" License
26 stars 14 forks source link

Restore Backups for Individual Players #144

Open benlmyers opened 3 years ago

benlmyers commented 3 years ago

Is your feature request related to a problem? Please describe. My feature request is related to a problem. Occasionally, players all items on certain pages of their Ender Container. This occurs typically after a server restart, but there have been cases where this has occurred without a restart.

Describe the solution you'd like I make daily backups of the Ender Container. When a player reports to me that they have lost items from a page in their Ender Container, I'd like a solution that would allow me to restore a backup for just a single player. If possible, it would be even better if there was a command to restore a particular page of a given player.

Additional context In essence, I'm looking for a command like /ecp backup load <player> [page], but I would be more than happy to see a command with syntax /ecp backup load <player>. It's a shame that players' items are being lost in this way, but I doubt there's an issue with this repo's code (it could just be my server). Having a solution to restore backups for individual players would be a great addition to this project.

benlmyers commented 3 years ago

I just read through some of the related issues for this repo and noticed #130 brings up some similar issues. My server has been killed a few times, and players have reported items missing afterwards. I am now aware of this and will utilize /ecp reload to save the data more often. However, a solution like what I mentioned above would still be, in my opinion, a worthwhile feature to add.