Skip to content

API Interface PluginManifest

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

Interface: PluginManifest

Defined in: src/plugins/manifest.ts:2

Extended by

Properties

componentCategories?

readonly componentCategories?: Readonly<Record<string, readonly string[]>>;

Defined in: src/plugins/manifest.ts:26

The Add Component menu's submenu for the Components this plugin registers (ADR 0447): submenu label → Component type ids, e.g. { Rendering: ["engine.CameraShake"] }. The engine's submenus ("Rendering", "Physics 2D", "Physics 3D", "Navigation", "Audio", "UI", "Animation", "Networking", "Input") keep their order; a new label adds a submenu after them. A Component left out lands in "Other". Read by the editor only, never runs code.


dependencies?

readonly dependencies?: Readonly<Record<string, string>>;

Defined in: src/plugins/manifest.ts:11

Plugin names this one needs, with version ranges (first-party plugins: the engine's version).


description?

readonly description?: string;

Defined in: src/plugins/manifest.ts:9

One sentence for the Plugins category.


name

readonly name: string;

Defined in: src/plugins/manifest.ts:4

Unique, e.g. "myco.sky".


optionalDependencies?

readonly optionalDependencies?: Readonly<Record<string, string>>;

Defined in: src/plugins/manifest.ts:17

Plugins this one works with when they are on, with version ranges (ADR 0374). Same shape as dependencies, but a missing, disabled, failed or out-of-range one never blocks the plugin: it activates without it, and reads ctx.plugins.isActive(name) to register its integration code. When one comes or goes the plugin activates again.


server?

readonly server?: boolean;

Defined in: src/plugins/manifest.ts:19

False for a runtime half the dedicated server skips (drawing only). Default true.


title?

readonly title?: string;

Defined in: src/plugins/manifest.ts:7

Shown in the Project settings' Plugins category and in messages. Falls back to name.


version

readonly version: string;

Defined in: src/plugins/manifest.ts:5

Clone this wiki locally