Variables
Values your program reads while it runs. Change one here and every customer sees it, with no new build.
Open it now:Variables
What they are for
A variable is a named value kept on the Atlas server. Typical uses: a maintenance switch, a download address, a limit, the current version's news, or a secret your program needs only after sign-in. Because the value lives on the server, it is not inside the program's file, and a cracked copy does not have it. Your program reads it with Variables::Fetch, FetchInt or FetchBool, described in Server variables.
Create one
| Field | Rules |
|---|---|
| Type | String (any text), Integer (a whole number) or Boolean (true or false). The type cannot change afterwards. |
| Key | Letters, digits and underscores, not starting with a digit, for example maintenance_mode. It cannot be renamed. |
| Value | Matches the type. Edit it any time. |
| Require authentication | On by default: only a signed-in session can read it. Switch it off for public configuration that a program may fetch before sign-in. |
Change and delete
Each variable is a card with its key, its type and its value; use the pencil to edit and the bin to delete. A change reaches a running program the next time it reads the variable. Deleting one makes the read return the empty value for its type (empty text, 0 or false) at the program's next fetch, so check that your program handles it before you remove a variable it uses.
Search filters the cards by key. Creating and editing needs the variables permission.