EbonJaeger / perworldinventory-kt

Multi-world inventory plugin for Spigot written in Kotlin.
MIT License
46 stars 32 forks source link

Per group folders for easy inventory wiping #235

Open Zorock666 opened 3 years ago

Zorock666 commented 3 years ago

Is your feature request related to a problem? Please describe. I believe that currently, it is near impossible to wipe a large number of player inventories, for a specific group of worlds. For example, if I have a subset of World1, World2, World3 (for normal, nether, end), and another subset of WorldA, WorldB, WorldC, then the inventory files are all within each user-file, and "resetting" the inventory for a group of worlds would be a nightmare. That means I can't "reset" WorldA+B+C, and would need to create new worlds WorldD+E+F, for example, in order to get new inventories for everyone. This can be a mess when it comes to configuring other plugins, and being able to keep the original world names would be a big relief.

Describe the solution you'd like Allow for an option that splits user inventory files into folders based on the groups in the worlds.yml file. (And makes individual folders for each world not configured perhaps). I know this will create multiple user files for the same user, but this would really be helpful in resetting worlds, without making entirely new worldnames every time, which would need to be configured in X number of other config files.

Describe alternatives you've considered None

Additional context I hope I've made myself clear heh.