Comments (6)
There's an open issue for user IDs, but read only. The problem is it's not safe. DataStore2 caches, and so multiple separate instances can end up clashing different data against each other.
from roblox.
Where tho
from roblox.
And how should it not be safe? Normal Data Stores use it like that too, and some public games too. How should that be unsafe?
from roblox.
Multiple servers can edit the data at the same time, overwriting each other, and not producing a consistent output, especially considering DataStore2 works on a cache. It's a data race.
from roblox.
But that would just be dependant on the use, errors are not your problem if they happen. I mean, you can just support players as safe and other keys as "unsafe" too
from roblox.
I'm not personally interested in adding footguns to DataStore2 given its popularity, though I would encourage you to fork if you need this.
from roblox.
Related Issues (20)
- Datastore() function reads datastore name as a table HOT 1
- Can we use player IDs instead of a player object? HOT 1
- No-Scope Arcade uses Datastore2
- Add Slide World to used games
- ` ServerScriptService.DataStore2:485: DataStore2() API call expected {string dataStoreName, Player player}, got {string, nil} ` HOT 2
- :BeforeSave() doesn't get called if the datastore hasn't been updated
- Getting an issue when using DataStore2 HOT 1
- Im confused HOT 1
- Does DataStore2 Support HOT 1
- Global Leaderboards HOT 1
- Combine is not a valid member of ModuleScript HOT 2
- 123
- nvm x.x
- Saving to a table HOT 1
- Magic training
- Zelda
- Rams
- Hi
- Hi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roblox.