Skip to main content

PGMMV Storage Plugin

Save/load switch and variable values to/from a file

Help

This plugin provides a way to save/load game data without PGMMV's file slot
system. Suitable for high scores, achievements, statistics, and any other global
data.

Values are stored in the "kt_store.json" file located in the directory specified
by the `Agtk.settings.projectPath` value.

Usually you will want to save/load Project Common switches and variables.
However, object instance values may also be saved; these can then be loaded by
other object instances of the same kind.

Action Commands

NameDescriptionParameters
Save VariableSave variable to storage.
NameValue
Variable SourceProject Common, Object Self, Parent Object
VariableVariableId
Load VariableLoad variable from storage.
NameValue
Variable SourceProject Common, Object Self, Parent Object
VariableVariableId
Save SwitchSave switch to storage.
NameValue
Switch SourceProject Common, Object Self, Parent Object
SwitchSwitchId
Load SwitchLoad switch from storage.
NameValue
Switch SourceProject Common, Object Self, Parent Object
SwitchSwitchId