Storage.save

Saves any Lua data into the storage object.

Kind: Function

Environments: Game

Game

storage:save( data )

Open the full Game reference

Availability: Server only

The data will remain stored after closing the world, and is retrieved using load.

Parameters:

Name Type Description
storage Storage The storage.
data any The data to be stored.