I'm making a Minecraft server, and when someone travels to a different world, I want to clear their inventory, but when they go back to the world they came from, their inventory restocks with the same items they had before.
It's spigot 1.18, so a plugin might help.
Does anyone know how to do this?
This should work with MultiverseCore and MultiverseInventories
But I am not sure if MultiverseInventories still works with 1.17/1.18