Skip to main content
forge-core loads first and underpins every other package. It owns the cross-cutting services the rest of FORGE builds on. You rarely call most of it directly from content, but you will use its logging, database, and identity helpers.

Exports

Lifecycle & meta

Logging

Result & IDs

Identity & permissions

Identity is the HELIX User ID. A character is a separate concept owned by forge-characters.
Default permission grants are empty. A fresh player has no permissions unless a DefaultGroups entry, a SuperAdmin id, or a runtime GrantPermission (for example via forge-admin roles) gives them one.

Database

Backend-neutral SQL with parameter binding. Writes and reads both return a Result.
Never leave nil holes in a params array; HELIX silently fails on them. Put nullable columns last, or pass empty strings.

Save coordination

Packages mark state dirty and let core coordinate the flush, rather than writing on every change.

Events

Configuration

Features toggles the cross-cutting subsystems; Permissions seeds grants.