🔑ACCOUNT MANAGER
The Account Manager is a core module of 17mov_Phone that handles cross-app user registration, profile data validation, and credential management. It provides a centralized way to create accounts for various integrated social and utility apps.
Account Data
To create an account via exports, in addition to standard credentials like username and password, you must provide a dedicated accountData table.
Below are the classes required for the accountData parameter based on the application you are registering for.
RegisterAccountBySrc
Creates a new user account for a specific application using the player's Server ID.
Returns:
table: Returns the account object on success, orobjectif validation fails with the error code.
src
number
❌
The server ID of the player.
username
string
❌
The desired login/username
password
string
❌
The account password.
appName
string
❌
Name of the app (Full list available in Config.AppDefinitions)
accountData
table
❌
The specific Data Object for the app (see above)
RegisterAccountByNumber
Creates a new user account using the player's Phone Number. Useful for offline registrations or number based logic
Returns:
table: Returns the account object on success, orobjectif validation fails with the error code.
number
number
❌
The target player's phone number
username
string
❌
The desired login/username
password
string
❌
The account password.
appName
string
❌
Name of the app (Full list available in Config.AppDefinitions)
accountData
table
❌
The specific Data Object for the app (see above)
Last updated