perworldinventory-kt icon indicating copy to clipboard operation
perworldinventory-kt copied to clipboard

Cleanup inventories from deleted worlds

Open EbonJaeger opened this issue 7 years ago • 2 comments

Copy/pasted from https://github.com/Gnat008/PerWorldInventory/issues/286 Submitted by @creator3


It would be useful if PerWorldInventory had a cleanup command to delete the inventories associated with deleted worlds. Ideally, it would automatically figure out which files were unnecessary based on which worlds are currently loaded. Doing it automatically would be especially good since it removes the possibility of stupid mistakes. It could take into account share settings and whether gamemodes are split. For example, if gamemodes aren't split, it would delete any files associated with a particular gamemode. It's obviously not a critical feature. Maybe it's just something to consider for the 2.0 rewrite, but I thought I would throw it out there.

Thanks.

EbonJaeger avatar Dec 15 '17 19:12 EbonJaeger

can you add a /purge

ScuroK avatar Jan 06 '18 12:01 ScuroK

This ticket is so old. Can you please implement it?

ScuroK avatar Nov 07 '19 13:11 ScuroK