Skip to main content
Server Client Proxied to ug-core. Gangs work like jobs without duty. They are defined in config/gangs.lua, which only has none by default. none MUST exist: new characters start in it.
config/gangs.lua

Server

Set and SetGrade MUST run in a thread. UgAssignment has the same fields as for jobs, without onDuty.

Client

Read from the ug-core:Gang statebag of the local player.

Errors

Events

Hooks

It allows or cancels. Changes to the payload are ignored.

Statebags

Index them with UgCore.Enums.StateBags. See Statebags.