Hello! I know that I can manipulate normal datastore with the player.UserId but how can I do this with datastore2? I want to overwrite data of a player without having him on the server
I’ve readed this DataStore2 but I couldn’t find anything
I want to do something like this WITH DATASTORE2 :
coinsStore:Set( "value" , "player.UserId" )
1 Like
If you know the player’s UserId you can set it manually by replacing the part of “player.UserId” with their user id.
coinsStore:Set( "value", 1234567890)
1 Like
I suggest using @Crazyman32 ’s DataStore Editor .
Here’s the link on how to use it with DataStore2.
3 Likes
WooleyWool
(AWildWooleyWool)
June 10, 2020, 3:17am
#4
I believe that his DataStore editor only supports the one from Roblox, not DataStore2. I do know that he’s working on a new one which supports both.
WooleyWool
(AWildWooleyWool)
June 10, 2020, 3:18am
#5
What you could do, assuming yout game isn’t released, is add a while loop and increment the value to your choice.
MrAsync
(Async)
June 10, 2020, 3:24am
#6
You can use DataStore Editor with DataStore2 just fine. There’s a process you have to use How to use DataStore2 - Data Store caching and data loss prevention - #287 by Kampfkarren
1 Like
As @MrAsync has said, DataStore Editor will work just fine with DataStore2. I’ve provided a link that shows you how, here is it again.
UPDATE Aug 19 2020:
I wrote a new guide posted as a tutorial for the latest update of the plugin. Due to aesthetic and operational changes to the plugin, this guide will be confusing to people who have the latest version. Only use this guide if you haven’t updated your DataStore Editor to the most recent versions v.3.0+
Otherwise, click on the new guide.
THIS is the updated method.
Glad to help shine some light in this. The creator of DataStore2 (@Kampfkarren ) has answered this question, how…
2 Likes