Core enums
Enums.Lifecycle
Enums.Lifecycle
Booting, Configured, Initializing, Starting, Ready, Stopping, Stopped. Values equal their names.Enums.Errors
Enums.Errors
Enums.Violations and Enums.ViolationWeights
Enums.Violations and Enums.ViolationWeights
InvalidPayload (5), RateLimited (1), ConcurrencyExceeded (2), UnknownCallback (3), NotLoaded (2), NoPermission (3), OutOfRange (5), InvalidDeathState (5), WeaponMismatch (5). Values equal their names.Enums.GuardActions
Enums.GuardActions
Warn (warn), Kick (kick), Ban (ban), mildest first. The action of Guard:BeforeAction. A hook MAY pick a milder one.Enums.Events.<Group>
Enums.Events.<Group>
Enums.Hooks.<Group>
Enums.Hooks.<Group>
Enums.StateBags and Enums.GlobalState
Enums.StateBags and Enums.GlobalState
Statebag keys.
StateBags index Player(source).state and LocalPlayer.state, GlobalState indexes GlobalState. Values are ug-core:<Key>. See Statebags.Module enums
Modules add their own enums and event and hook groups. In your resource, they appear once ug-core has replicated its enabled modules, so read them afterUgCore.Lifecycle.On(UgCore.Enums.Lifecycle.Ready, ...). Enums of disabled modules never exist.
The players module, always enabled, adds: