For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐Ÿ”‘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.

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} Coordinates
QwuakerData
--- @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 Name
DarkChatData
--- @class DarkChatData
--- @field name string Display Name
--- @field avatar string URL link to avatar image
EbuyData
MailData

RegisterAccountBySrc

Creates a new user account for a specific application using the player's Server ID.

Returns:

  • table: Returns the account object on success, or object if validation fails with the error code.

Argument
Type
Optional
Explanation

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, or object if validation fails with the error code.

Argument
Type
Optional
Explanation

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