Skip to content
selfsame edited this page Jan 7, 2015 · 5 revisions

account save data is json in the following format inside the save/accounts/ directory:

{"name":"sam",
"password":"encryptedstuff",
"salt":"randomsalt",
"characters":[{"firstname":"shadowfire"}]}

Once a account is created or a login verified, the loaded save file is attached to the client.account property.

Once a player has been chosen, it's attached to client.player.

A newly created player is merged with an instantiated player.json entity, the data is then persistent and should be saved/loaded as needed.

Clone this wiki locally