UgCore.LocalPlayer.
Death state
Downed and dead states, injuries, revive and respawn.
Lookup
GetAll is sorted by source.
Each result is a player object with methods for money, job, gang, permissions, death state and more:
Metadata
Session metadata. It lives while the player is connected.Copies the key to the
ug-core:Metadata statebag. Every client can read it, so it MUST NOT hold secrets.GetMetadata without a key returns every key.
Kick
Errors
Invalid keys, values, regions, options and coordinates raise.
Events
Loaded fires when a character is loaded, or at join without the characters module.
Statebags
Index them withUgCore.Enums.StateBags. See Statebags.