Skip to main content

Module models

Module models 

Source
Expand description

Typed persisted data and frontend-safe account views.

Structs§

AccountDto
The account fields sent to the interface. Never includes the session or widget data.
AccountGroup
A named set of accounts that join together. Pinning a group shows the group on the dashboard, not its accounts. account_ids may name removed accounts, which the interface leaves out.
AccountTag
A colored label on any number of accounts. account_ids may name removed accounts, which the interface leaves out.
RecentPlace
A place Roblox confirmed exists. name is None until Toolblox looks it up.
Settings
Saved preferences. Missing fields take defaults and unknown fields are preserved.
StoredAccount
A saved account. The session is stored separately in the credential store.

Enums§

FriendsSource
Which accounts’ online friends the dashboard lists.
PresenceState
An account’s Roblox presence.
SidebarPosition
Which side of the window the sidebar is on.
SortOrder
Account list order. Manual keeps the saved order.
TagColor
A tag’s color, drawn from the theme’s --tag-* tokens.
ThemeMode
Color theme. System follows the operating system.

Constants§

MAX_GROUPS
Most groups a settings file may hold.
MAX_GROUP_MEMBERS 🔒
Most accounts one group may hold.
MAX_NOTE_CHARS
Most characters in one account note.
MAX_RECENT_PLACES 🔒
Largest recent list a saved settings file may contain. Older versions kept more than RECENT_PLACES_LIMIT, so longer lists still load and are trimmed when shown or saved.
MAX_TAGS
Most tags a settings file may hold.
RECENT_PLACES_LIMIT
Most places kept in the recent list.

Functions§

is_join_target
Whether value is a stored join target: a place ID, or @ and a user ID.
is_place_id
Whether value is a Roblox place ID: 1 to 20 ASCII digits.
is_secret_key 🔒
Whether an unknown account field name looks like it holds a session secret.
validate_groups 🔒
Checks the group list: unique IDs of 1 to 64 letters, digits, and -, names of 1 to 50 characters, unique members, valid destinations, and notes up to 1,000 characters.
validate_tags 🔒
Checks the tag list: unique IDs of 1 to 64 letters, digits, and -, names of 1 to 30 characters, unique members, and place IDs as game keys.
validate_widget_id 🔒
Accepts non-empty IDs of ASCII letters, digits, _, and -.