Skip to content

Class · inherits Instance

DataStoreSetOptions

Official docs ↗

Specifies additional parameters for a GlobalDataStore.SetAsync call.

About DataStoreSetOptions

An object that specifies additional parameters for a GlobalDataStore.SetAsync call.

See also:

  • Data Stores, an in-depth guide on data structure, management, error handling, etc.

Methods 2

  • GetMetadata() → DictionaryGets the custom metadata set with this DataStoreSetOptions instance.

    This function gets custom metadata associated with this DataStoreSetOptions instance.

  • SetMetadata(attributes: Dictionary) → ()Sets custom metadata to be associated with the key.

    This function sets custom metadata used by GlobalDataStore.SetAsync to associate metadata with a key. Metadata should be in key-value pair form.

DataStoreSetOptions also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.