Roblox API Reference

DataStoreService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (7)

Type Member History
bool AutomaticRetry 306
bool LegacyNamingScheme 155 292 469
GlobalDataStore GetDataStore (string name, string scope = global, Instance options = nil) 137 453 453 452 452 463 483
GlobalDataStore GetGlobalDataStore () 483
OrderedDataStore GetOrderedDataStore (string name, string scope = global) 138 483
int GetRequestBudgetForRequestType (DataStoreRequestType requestType) 288
DataStoreListingPages ListDataStoresAsync (string prefix = , int pageSize = 0) 453 452 463 483 489
51 members inherited from Instance

Removed member index (1)

Type Member History
Variant GetDataFromEmptyScopeDataStoreAsyncTemporary (string name, string key) 452 478

History

Members

AutomaticRetry On DevHub

This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated]

GetDataStore On DevHub

Name Type Default
name string none
scope string global
options Instance nil

History

GetGlobalDataStore On DevHub

Name Type Default
No parameters.

History

GetOrderedDataStore On DevHub

Name Type Default
name string none
scope string global

History

GetRequestBudgetForRequestType On DevHub

Name Type Default
requestType DataStoreRequestType none

History

LegacyNamingScheme On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.

History

Tags: [Hidden, Deprecated]

ListDataStoresAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
prefix string
pageSize int 0

History

Tags: [Yields]

Removed members

GetDataFromEmptyScopeDataStoreAsyncTemporary

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
name string none
key string none

History

Tags: [Yields, Deprecated]

Relevant classes (4)

Relevant enums (1)