SaveDeclaration
SaveDeclaration<
Schema,Scopes,Requires> =Omit<SaveConfig<Schema,Scopes,Requires>,"scopes"|"perWorld"> &object
A save as defineSave checked it: what a plugin’s saves holds by
name, and what defineGame’s playerState, playerWorldState and
worldState are. Its scopes are always there, the first its own.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
[saveBrand] |
true |
- |
perWorld |
boolean |
Whether it is kept per world unless the game says otherwise. |
scopes |
Scopes |
- |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Schema extends SaveSchema |
SaveSchema |
Scopes extends SaveScopes |
SaveScopes |
Requires extends SaveRequires |
SaveRequires |