How do I save a player's entire inventory?

Started by akisephila on

Topic category: Help with MCreator software

Last seen on 07:56, 15. Nov 2022
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?

Last seen on 07:56, 15. Nov 2022
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?

It would work on the server…
Tue, 04/13/2021 - 08:23

It would work on the server too.

A better way right now would be coding this system manually.

Last seen on 07:56, 15. Nov 2022
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

Last seen on 15:54, 12. Mar 2022
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