Skip to content

Action Set Boolean

Sets a true/false boolean variable.

Inputs: 1 · Outputs: Then

Settings

SettingTypeRequiredDefaultDescription
Variable NameStringYesName for the boolean variable (used with %name% placeholder).
ValueBooleanYestrueThe true/false value to store.
PersistentBooleanNotrueIf enabled, the boolean is saved to disk and persists across server restarts.
ScopeSelectYesPlayerScope: Player (unique per player), Global (shared), or Local (only accessible during current execution).

Scopes

ScopeAccessPersistenceUse Case
PlayerPer player instanceOptionalPlayer flags (e.g. VIP mode, enabled status)
GlobalShared across allOptionalServer-wide settings, feature toggles
LocalCurrent execution onlyNeverTemporary 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:

  1. Set Variable Name to vip_flight
  2. Set Value to true
  3. Enable Persistent
  4. Set Scope to Player

Access later using Check Boolean.

Oasis Admin Editor Documentation