Appearance
Action Set Boolean
Sets a true/false boolean variable.
Inputs: 1 · Outputs: Then
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| Variable Name | String | Yes | — | Name for the boolean variable (used with %name% placeholder). |
| Value | Boolean | Yes | true | The true/false value to store. |
| Persistent | Boolean | No | true | If enabled, the boolean is saved to disk and persists across server restarts. |
| Scope | Select | Yes | Player | Scope: Player (unique per player), Global (shared), or Local (only accessible during current execution). |
Scopes
| Scope | Access | Persistence | Use Case |
|---|---|---|---|
| Player | Per player instance | Optional | Player flags (e.g. VIP mode, enabled status) |
| Global | Shared across all | Optional | Server-wide settings, feature toggles |
| Local | Current execution only | Never | Temporary flags, sub-route checks |
TIP
For a deep dive into the underlying technical architecture (such as the 3-second database debouncer, async player loading on login, cross-server pub-sub sync over the proxy, and isolated thread execution), see the comprehensive Variable Scopes Guide.
Example
Set a VIP flight flag:
- Set Variable Name to
vip_flight - Set Value to
true - Enable Persistent
- Set Scope to
Player
Access later using Check Boolean.
