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.- 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
- 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:Clicking this button opens the modal: #createVarModal- 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)
Username: luffy
Variable Name: high_score
Variable Data: 1200Then click Save Variable.
Page UI Flow (Interface Explanation)#
- Title: User Variables
- Subtitle: Assign and manage unique variables for your users.
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
- 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.”
On mobile, variables are displayed as cards:- Top: avatar + username + date + three dots
- Variable Name section
- Data section (trimmed to ~100 characters)
For each row/card, you can open the context menu using right-click (PC) or the three-dots menu (mobile/desktop).
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.
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=IDAnd the variable is deleted.
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.
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