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

    Global Variables

    Global Variables#


    The Global Variables section allows you to create server-side variables for your application that are shared across all users.
    These variables are stored in the database and can be read by your client or loader through the API.
    In simple terms:
    • Global = the same for all users
    • Variable = key + value (example: MOTD = "Server maintenance tonight")

    Where Can You Use Global Variables?#


    1) MOTD (Message of the Day)#

    The most common use case:
    • Create a variable: MOTD
    • Value: "New update available"
    • Your client application can fetch this message after login and display it to users

    2) Maintenance / Downtime Notices#

    If the server is under maintenance, you can use a global flag:
    • MAINTENANCE = 1 (ON)
    • The client checks this value and informs users accordingly

    3) Latest Version / Force Update#

    You can control loader or application updates:
    • LATEST_VERSION = 1.0.7
    • FORCE_UPDATE = 1
    • If the client detects an outdated version, it can trigger an automatic update or block login

    4) Feature Toggles (Enable / Disable Features)#

    Enable or disable features globally:
    • CHAT_ENABLED = 0 / 1
    • RESELLER_MODE = 0 / 1
    • DEBUG_LOGS = 0 / 1

    5) Remote Config / Loader Settings#

    You can change configuration values dynamically at runtime:
    • DOWNLOAD_URL = "https://...."
    • DISCORD_INVITE = "https://discord.gg/..."
    • SUPPORT_EMAIL = "support@..."

    6) Dynamic UI Text / Links#

    If you want to control client UI text or links from the server:
    • BTN_TEXT = "Get Premium"
    • NEWS_1 = "New patch notes..."

    Benefits of Using Global Variables#


    1) Changes Without Rebuilding the Client#

    If you update a variable value from the panel, the client will fetch the updated value the next time it requests data.
    This means:
    • The loader or application does not need to be rebuilt frequently
    • Instant announcements and configuration changes are possible

    2) Centralized Control#

    All common settings can be managed in one place:
    • The same behavior applies to all users
    • Support and management become easier

    3) Secure Server-Side Storage#

    Variables are stored on the server/database instead of being hardcoded into the client.
    This helps:
    • Reduce the risk of leaking links or configuration data
    • Maintain control through the admin panel

    User Variables vs Global Variables (Quick Difference)#


    • Global Variables = same value for all users (example: MOTD)
    • User Variables = different values per user (example: user_credits, rank, coins)

    Features Available in This UI#


    • Variables Count — total number of variables displayed in the top bar
    • New Variable — create a new variable using a modal
    • List View (Desktop) — shows Name, Value, and Actions
    • Mobile Cards — compact mobile layout
    • Edit Value — update variables through a modal
    • Delete — remove variables with confirmation
    • Right-click context menu — quick edit or delete actions

    Example Use Case#


    Suppose your AuthVaultix loader has an update system:
    • LATEST_VERSION = 2.4
    • UPDATE_URL = https://yourcdn.com/loader.exe
    • MOTD = "Update released, please restart loader"
    The client fetches these values on every startup:
    • If the version is outdated → show an update prompt
    • Display the MOTD message to the user
    This means you can control the behavior for all users simply by changing values from the panel.
    Modified at 2026-03-04 16:40:22
    Previous
    Seller Logs
    Next
    User Variable
    Built with