Skip to content
selfsame edited this page Dec 6, 2014 · 5 revisions

account save data is json in the following format inside the players 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