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

SaveOverride

SaveOverride<Scope> = false | [Scope] extends [`${World}`] ? object : { perWorld?: boolean; scope: Scope; } | { perWorld: boolean; scope?: Scope; }

What a game may change of one save: false turns it off, with its stored entry kept. scope keeps it in another of its scopes; and perWorld keeps it in the player’s record in each world, true, or in the player’s game-wide record, false, whichever the save declares. An override names at least one of the two, and a save of the world’s scope takes no perWorld, since the world’s record is already the world’s.

Type Parameter Default type
Scope extends SaveScopeName SaveScopeName