SaveOnDeath and SaveOnRejoin
SaveOnDeath and SaveOnRejoin:
With any value or folder in both PublicPlayerData or HiddenPlayerData, you can use attributes to have more control over how your player data is saved. You can now simply add a boolean attribute called "SaveOnDeath" and/or "SaveOnRejoin".
SaveOnDeath
The value or the contents of a folder WILL save when the player dies and respawns
The value or the contents of a folder WILL NOT save when the player dies and respawns
SaveOnRejoin
The value or the contents of a folder WILL save when the player leaves and will be successfully retrieved when they rejoin the game
The value or the contents of a folder WILL NOT save when the player leaves and will be successfully retrieved when they rejoin the game
Additional Details:
If you do not implement these attribute's then don't worry as the game will automatically set them to TRUE.
When you implement these attribute's, ensure that they are boolean values or else you may run into errors or unexpected behaviour!
Last updated