> Nekoplay

setData

file.setData()

Saves data with a name (id) you choose.

file.setData(id, data)

id String

The name or key under which the data is stored. Used to identify and access specific data in the storage system.

data Number, String, Object, Array

The value to be saved. Can be any type: number, string, object, array.