Rutex Posted May 30, 2015 Posted May 30, 2015 when setElementData stores the data on the player and allows them to use after reconnect the player? I heard that this is possible. p.s. if someone didn't understand what I'm talking about - using set\getElementData instead set\getAccountData
ALw7sH Posted May 30, 2015 Posted May 30, 2015 The data will be deleted when the player left the server
Rutex Posted May 30, 2015 Author Posted May 30, 2015 I heard player need to be registred, to prevent deleting data. its is true?
ALw7sH Posted May 30, 2015 Posted May 30, 2015 If you mean the element data, doesn't matter he's registerd or not the data will be deleted
Dealman Posted May 30, 2015 Posted May 30, 2015 There's element data and account data. The element data is lost when the element is deleted. A player element for example is deleted when the player disconnects. Account data is, like the name implies - tied to their account. So long as the player uses the same account, the data will be available if the player reconnects or whatnot. setAccountData getAccountData
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now