Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

SaveConfig

SaveConfig<Schema, Scope> = PluginSave<Schema, Scope> | NoGameSaveState & GameSaveOptions

What defineSave takes: the game’s own state, with schema, read, restore and version together, or none of them.

Type Parameter Default type
Schema extends SaveSchema SaveSchema
Scope extends SaveScopeName SaveScopeName