๐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.
AccountData contains app-specific settings and profile details. Each application requires a different data structure. If the data provided does not match the specific app's schema requirements (e.g., missing interests for Swiply or an invalid verification level for Qwuaker), the registration will fail.
Below are the classes required for the accountData parameter based on the application you are registering for.
SwiplyData
--- @class SwiplyData
--- @field firstname string Display Name
--- @field lastname string Display Last Name
--- @field aboutme string Profile description
--- @field dateofbirth number Unix Timestamp (seconds or ms)
--- @field gender 0|1|2 = 0: Male, 1: Female, 2: Other
--- @field preference 0|1|2 = 0: Male, 1: Female, 2: Other
--- @field lookingfor 0|1|2 = 0: None, 1: FWB, 2: Relationship
--- @field intrests number[] Array of interest IDs (min 3, max 15)
--- @field photos string[] Array of image URLs (min 2, max 6)
--- @field location {x: number, y: number} CoordinatesQwuakerData
--- @class QwuakerData
--- @field avatar string URL link to profile picture
--- @field background string URL link to profile background
--- @field name string Display Name
--- @field gender string Display Gender
--- @field verifiedLevel 0|1|2|3 Account verification level (range 0-3)PeargramData
--- @class PeargramData
--- @field avatar string URL link to profile picture
--- @field name string Display NameDarkChatData
--- @class DarkChatData
--- @field name string Display Name
--- @field avatar string URL link to avatar imageRegisterAccountBySrc
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