Owl.Util.Flag.SetFlag(name: string, config: FlagConfig): FlagState

Server Only

Updates an existing flag configuration and increments its version for cross-server synchronization. Creates the flag if non-existent.

Parameters

name*
string
Identifier name of the flag to update.
config*Updated configuration values.

Returns

FlagStateThe updated flag state object.

Related Types

Owl.Util.Flag.SetFlag("BetaInventory", {
    Enabled = true,
    RolloutPercent = 50, -- > // Increased rollout from 25% to 50%
})