Interface: OwnAccount
Defined in: server/accounts.ts:125
What a player sees of their own account.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | The player id. | server/accounts.ts:127 |
name | string | The account name. | server/accounts.ts:129 |
email | string | null | The email address, if one was given. | server/accounts.ts:131 |
createdAt | number | When the account was made, in epoch milliseconds. | server/accounts.ts:133 |
recoveryCode | boolean | Whether the account has a recovery code. The code itself is shown once, when it is made. | server/accounts.ts:135 |
data | Record<string, unknown> | Every data key the player has, private ones included. | server/accounts.ts:137 |
stats | Record<string, number> | Every stat the player has. | server/accounts.ts:139 |