Skip to main content

Drive

A drive allows you to store anything* inside it. You can also go interact with it to modify its data there without doing it via code.


Functions

load

Drive.load()

Receive data from the drive.

Returns:

  • [ table ] The contents of the drive.

save

Drive.save( data )

Saves data to the drive.

info

You can only save data that JSON supports! You can only use the following types:

// Indexes
[ "number", "string" ]

// Values
[ "table", "number", "string", "boolean", "nil" ]

Arguments:

  • data [ table ] The new data.