Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RegisterPlayer

Description

Sent when the player submits the registration form.

Creates the player account on the server.

On success, the returned PlayerID is immediately used by the client to call RegisterAvatarForRegistration, which associates the chosen avatar and starter items with the new account.

Request

FieldTypeDescription
Tokenstring
PasswordstringChosen password
ParentEmailAddressstringChosen email
BirthDatetime.Time
GenderstringPlayer gender (always "U" for unspecified)
LocationIDOID“Class”: 0, “Type”: 0, “Server”: 0, “Number”: 0
UsernamestringChosen username
WorldnamestringChosen family name
ChatAllowedboolWhether the player has enabled chat
CNLstringChannel: steam
ReferredByWorldnamestring
LoginTypeint32

Response

FieldTypeDescription
PlayerIDOIDThe newly created player’s OID