Is it possible to "store" a players inventory and then give it back to them?
Basically what I want is to create a Survival area, a Creative area, and a Games area. I do not want players to bring their inventory from any or the areas into any of the other areas but I also do not want to simply "clear" their inventory causing them to loose things.
If this is possible where should I be looking for examples or ideas to help me figure it out? Is this something I should be trying to do with script or should I be looking to a different method of doing it?
A note, I'm actually working on this for Education Edition so I'm still working in Stable on 1.20.13 and should try to avoid any experimental features.
Jayly recommended transfering the player's inventory to an entity and back. That sounds promising to me but I'm not sure how to go about doing that.
Mohamed shared a script that appears to be able to save an reload an inventory so I will be looking into that to see if it will work or help me in this situation. @flint sequoia that script you shared, what versions of everything are required to use that script? I've been away for a while and I really don't know what the current developments are since I'm sure last time I tinkered with any of this Education was still in version 1.19