Started by
akisephila
on
Topic category: Help with MCreator software
I want to be able to save a player's entire inventory, clear their inventory when they enter my custom dimension, and then give them back their saved inventory when they leave. How would I go about doing this, and would it work in multiplayer?
You could store each slot in own variable, but it is not really optimal
Do you know of any better way? And would this method work in multiplayer, if the variables were player_persistent?
It would work on the server too.
A better way right now would be coding this system manually.
Alright, thanks for the help
I want to make weapon that when it hits something it clears your inventory and when you die you get your inventory back i think that type of storing will work for me but i dont know how to do that please tell me the code but make it understandable because when it comes to this its hard for me to understand