Browse docs

Sky Library

Import the shared Sky library into a client or server resource.

Get(commandRegistrar?)

Client and server · sky_base. Returns the Sky library table.

local Sky = exports["sky_base"]:Get()

Use the existing Base import when developing a Sky resource. The optional server-only commandRegistrar argument is supplied automatically by the standard import and dependency loaders. It keeps commands registered in the calling resource; a bare Get() uses Base's command registration.

The library exposes Sky.FW for configured framework/provider bridges, Sky.Cb for callbacks and other documented Sky.* APIs. These are library methods, not separate Cfx exports. Their arguments and return values remain specific to each method.

For shared job player names, employment and duty, use Jobs Base's authoritative player/job APIs rather than substituting an external framework lookup. See employees and duty.

All Base exports