Variable saving probleme

Started by RPJOF on

Topic category: Help with MCreator software

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Variable saving probleme

Hello,
I would like to make a variable per user and map! Is it possible?

Example: "tests" (variable) I would like it to change only for 1 user and save it! But now when I put "GLOBAL_MAP" it is for all players that it changes and I would like it to backup and that it is only for 1 player! Thank you for your answers (sorry for my bad english)

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if you…
Wed, 11/20/2019 - 12:19

I don't know if you understand

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is possible using the…
Thu, 11/21/2019 - 12:36

This is possible using the GLOBAL_SESSION variable. The GLOBAL_SESSION variable is a variable that is stored per player, but is deleted when closing the game.

The way you can turn the GLOBAL_SESSION into a permanent variable is by: 

https://mcreator.net/tracker/issue/53918 (See my comments on this issue.)