Authvaultix
    Pages
    • Overview
    • Dashboard
    • Pages
    • API
    • Applications
    • Users
    • Subscriptions
    • Licence
    • Chatroom
    • Manage Accounts
    • seller keys
    • Seller Logs
    • Global Variables
    • User Variable
    • Sessions
    • Files
    • Blacklist
    • Whitelist
    • Webhooks
    • Logs
    • Audit Logs
    • Account
    • Settings
    • Forms
    • Upgrade
    • Bug Bounty
    Discord
    Github

    User Variable

    User Variables#


    The User Variables section is used to assign and manage unique variables for your application's users.
    This feature is very useful for storing values like game stats (coins/level/high_score), software roles, flags, premium status,
    limits, and user preferences.
    Example:
    • high_score = 1200
    • coins = 250
    • premium = true
    • hwid_reset_left = 2

    How to Use User Variables#


    Step 1 — Select an Application#

    First, select an Application from the dashboard.
    If no application is selected, the screen will show:
    • No Application Selected
    • “Please select an application to manage user variables.”
    You will also see a button: Go to Applications (this takes you to the applications list).

    Step 2 — Search Variables#

    At the top there is a search input: Search variables...
    • This works using a GET request (page=user-vars, app_id, search)
    • When you enter a search term and press Enter, matching variables will appear in the list
    Example:
    • Search: high → filters variables like high_score
    • Search: luffy → filters that user’s variables (if the backend also searches by username)

    Step 3 — Create a Variable#

    If an application is selected, you will see a button on the right:
    Create Variable
    Clicking this button opens the modal: #createVarModal

    Modal Fields#

    • Username (required) — which user you want to assign the variable to
    • Variable Name (required) — the variable key (e.g. high_score)
    • Variable Data (optional) — the value (e.g. 1200)
    Example:
    Username: luffy

    Variable Name: high_score

    Variable Data: 1200
    Then click Save Variable.

    Page UI Flow (Interface Explanation)#


    1) Header Section#

    At the top of the page:
    • Title: User Variables
    • Subtitle: Assign and manage unique variables for your users.

    2) Filter Bar#

    Below the header, there are controls:
    • Search bar (GET form)
    • Create Variable button (only visible when selected_app > 0)

    3) Toast Message (Success / Error)#

    If $message is set, a toast notification appears:
    • If the message contains the word “error” → toast type is error
    • Otherwise → toast type is success

    4) Desktop View (List Layout)#

    On Desktop (md+), the variables are shown in a list with columns:
    • User
    • Variable Name
    • Data
    • Action
    Each row includes:
    • User avatar (first letter of the username)
    • Username + created date
    • Variable Name (monospace)
    • Variable Data (trimmed to ~60 characters)
    • Three dots on the right (context menu trigger)
    If there are no variables, an empty state appears:
    • No User Variables Found
    • “Create a new variable to get started.”

    5) Mobile View (Cards)#

    On mobile, variables are displayed as cards:
    • Top: avatar + username + date + three dots
    • Variable Name section
    • Data section (trimmed to ~100 characters)
    If empty:
    No variables found.

    How to Edit / Delete#


    For each row/card, you can open the context menu using right-click (PC) or the three-dots menu (mobile/desktop).

    Context Menu Options#

    • Edit
    • Delete

    1) Edit Variable#

    Clicking Edit opens the same modal (used for Create), but it is auto-filled:
    • Username auto-filled
    • Variable name auto-filled
    • Variable data auto-filled
    • Modal title changes to: Edit User Variable
    You can then update the data and save.

    2) Delete Variable#

    Clicking Delete shows a confirmation:
    Are you sure you want to delete this variable?
    After confirming, it redirects to:
    win/app/?page=user-vars&delete=ID
    And the variable is deleted.

    Reset / Modal Behavior#


    When the modal is closed, the system automatically:
    • Resets the modal title back to Create Variable
    • Resets the form
    This prevents old values from being reused the next time you create a variable.

    Example Use Case#


    For example, if you have a game or software:
    • You can store user coins
    • Track high scores
    • Store a premium flag
    Then your client can fetch these values through the API and personalize the user experience.
    In this way, the User Variables system is a powerful feature for storing unique user-specific data.
    Modified at 2026-03-04 16:42:02
    Previous
    Global Variables
    Next
    Sessions
    Built with