Not synced PlayerVariables

Started by chpwyu on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not synced PlayerVariables

Hello everyone, I'm trying to implement saving the player's variable at the time the GUI opens, so that when the player reads the text in the GUI, he no longer sees it. So, in a single player game everything seems to be working properly, but on the server after the death of the player, or reconnection, the value of the variable returns to its original value.

i use boolean variable with marker PLAYER_PERSISTENT

 

procedure screen

https://skr.sh/sDN7rpZy6d0

 

screen of gui trigers

https://skr.sh/sDNAr9RZ4UX

 

Tell me what's wrong. The addon that this is a server mod is enabled