Skip to main content
All statebags are set by the server only. See the Statebags guide to read them. Index them with the enum, never with the string: LocalPlayer.state[UgCore.Enums.StateBags.Job].

Player

On Player(source).state and LocalPlayer.state. Enum: UgCore.Enums.StateBags.

Global

On GlobalState. Enum: UgCore.Enums.GlobalState.
Player statebags replicate to every client. They never hold secrets.