How do I save a player's entire inventory?

Started by akisephila on

Topic category: Help with MCreator software

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I save a player's entire inventory?

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?

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know of any better…
Tue, 04/13/2021 - 00:16

Do you know of any better way? And would this method work in multiplayer, if the variables were player_persistent?

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, thanks for the help
Tue, 04/13/2021 - 09:06

Alright, thanks for the help

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to make weapon that…
Fri, 03/04/2022 - 19:58

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