Skip to content

API Interface BootstrapConfig

github-actions[bot] edited this page Nov 24, 2026 · 2 revisions

Interface: BootstrapConfig

Defined in: src/engine/core/worlds.ts:94

The declarative bootstrap: project.json's bootstrap section when it's an object.

Properties

links?

links?: readonly LinkConfig[];

Defined in: src/engine/core/worlds.ts:101

Client-to-server links. Each applies once both of its Worlds exist: at start-up, or when game code creates a Spawnable World it names (ADR 0062).


templates?

templates?: Readonly<Record<string, Omit<WorldConfig, "name"> & object>>;

Defined in: src/engine/core/worlds.ts:103

Spawnable Worlds: named World configs to create later: Engine.createWorld("Match") or createWorld({ ...templates.Match, name }).


worlds

worlds: readonly WorldConfig[];

Defined in: src/engine/core/worlds.ts:96

Worlds created at start, in order. The first is the Engine's default World (engine.world).

Clone this wiki locally