Roblox Wiki
Roblox Wiki
36,894
pages

Responsible for storing data across multiple user created places. This class cannot be instantiated. It was added on December 12, 2013.

Properties

AutomaticRetry: bool

  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:DataStoreService/AutomaticRetry.
  • Category: Behavior.
  • Read security: LocalUserSecurity.
  • Write security: LocalUserSecurity.
  • Serialization: can save and load.
  • Thread safety: read safe

LegacyNamingScheme: bool

  • HiddenThis property is not shown in the object browser and properties window.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This class member is missing documentation. Create or add to its subpage at Class:DataStoreService/LegacyNamingScheme.
  • Category: Behavior.
  • Read security: LocalUserSecurity.
  • Write security: LocalUserSecurity.
  • Serialization: can save and load.
  • Thread safety: read safe

Methods

GetDataStore(name: string, scope: string = global, options: Instance = nil): DataStore

Parameters
NameTypeDefault
namestring
scopestringglobal
optionsInstancenil
  • Thread safety: unsafe

GetGlobalDataStore(): DataStore

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:DataStoreService/GetGlobalDataStore.
  • Thread safety: unsafe

GetOrderedDataStore(name: string, scope: string = global): OrderedDataStore

Parameters
NameTypeDefault
namestring
scopestringglobal
  • Thread safety: unsafe

GetRequestBudgetForRequestType(requestType: DataStoreRequestType): int

Parameters
NameType
requestTypeDataStoreRequestType
  • Thread safety: unsafe

ListDataStoresAsync(prefix: string = , pageSize: int = 0, cursor: string = ): DataStoreListingPages

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
prefixstring
pageSizeint0
cursorstring
  • Thread safety: unsafe

Removed members

External links[]