Skip to main content

Flag (Storage)

A flag is the basic tool to create persistent changes to your logic. Storage means that even after disconnecting if the user is registered the flag will be persisted for later usage.

A flag can only be either true or false. All flags start as false by default, so keep this in mind. Each flag must have a unique name for each world.

In two separate worlds, the same flag name could be used.

Flags update are globally updated in each world script, so you may listen for flag changes in two separate node scripts reliably.

Flag Storage is local to the user, for global syncronized usage refer to Flag (Global), whose state is changed for all users syncronously.