Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thexkey/mockdatastoreservice
A mirror of a older version of MockDatastoreService by Crazyman32, but compatible with legacy versions of Roblox.
https://github.com/thexkey/mockdatastoreservice
lua old-roblox roblox roblox-datastores roblox-lua
Last synced: about 1 month ago
JSON representation
A mirror of a older version of MockDatastoreService by Crazyman32, but compatible with legacy versions of Roblox.
- Host: GitHub
- URL: https://github.com/thexkey/mockdatastoreservice
- Owner: thexkey
- Created: 2022-06-03T19:56:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T19:59:49.000Z (over 2 years ago)
- Last Synced: 2024-10-12T20:38:54.039Z (2 months ago)
- Topics: lua, old-roblox, roblox, roblox-datastores, roblox-lua
- Language: Lua
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MockDatastoreService
A mirror of a older version of MockDatastoreService by Crazyman32, but compatible with legacy versions of Roblox.
# USAGE EXAMPLE:
```
local dataStoreService = game:GetService("DataStoreService")
-- Mock service if the game is offline:
if (game.PlaceId == 0) then
dataStoreService = require(game.ServerStorage.MockDataStoreService)
end
-- dataStoreService will act exactly like the real one
```
# NOTE:
This has been created based off of the DataStoreService on
August 20, 2014. If a change has been made to the service,
this mocked version will not reflect the changes.