This is an updated guide detailing how to access and edit individual data saved with the popular DataStore2 Module (DataStore2 Module) , using the popular DataStore Editor Plugin (Datastore Editor Plugin)
Is it possible to edit my DataStore2 data with the Datastore editor plugin?
I had written a response to this question, and seeing as it comes up frequently when people begin using DataStore2, it seemed helpful. Now that the plugin’s creator has updated the plugin, the original guide is quite confusing with the latest versions due to operational changes in the way the plugin works and significant UI improvements.
This guide, with images at every step should take you, the reader, through the process of finding and editing your DataStore2Data with the DataStore editor plugin.
- The following guide is made on the assumption you are utilizing one of the most current versions of the plugin v3 or higher.
If, for some reason, you are utilizing a version below that, see the original post detailing the method for editing DataStore2 data at this link.
- The guide also operates on the assumption that you have correctly set up your data stores, and have data that is saved. If you do not have data saving between sessions in game, this guide will not be useful, as there will be no data for the plugin to find.
Open the plugin
When you open the DataStore Editor Plugin, it should look like this.
Getting the Key
When you use DataStore2 in the recommended way, you should have combined Data Store keys under one main key. However, this is not required.
If you DO utilize DataStore2.Combine(“TheMainKey”, “Items”, “Stats”,etc…), then you should take note of your combined key name. In this example the name of the main key for my DataStore2 is “TheMainKey”. With the .Combine() setup, this is the only one I will need to search for all of a player’s saved data.
If you DON’T utilize DataStore.Combine() and just have multiple keys and separate stores for different game data ( this is NOT recommended), then you will have to repeat the following process each time you search in order to individually edit each of those Data Stores, per player.
In this case, your Key will be whatever the Key of the specific store is
e.g.(“Items” or “Stats”)
Getting the UserID
DataStore2 automatically utilizes a player’s UserID to save and query the data on that player within your game. This means you need to have a player’s UserID handy when you want to edit that player’s data with the plugin.
This can be accomplished by simply looking up and viewing the player’s profile on the Roblox website, and clicking on the address/search bar once you are there. The address bar will say something along the lines of
www.roblox.com/users/00000000/profile, except in place of number 0’s will be the player’s UserID. Take note of this number and move on to the next step.
Entering the Key and UserID
Now that you have the Key and the UserID of the player you want to edit the data of, enter them into the box that says Name.
There is a specific method to do this with DataStore2 data.
- You must first enter the Key.
- This should be followed immediately by a forward slash ( / ) and then the UserId of the player you want to search/edit the data of.
In my case I want to put TheMainKey/89851425 into the box that says Name
See the picture below.
I believe that the plugin in its current form automatically finds and enters the current Place ID of the studio session. Thus, if you click on the button labeled Set Place ID and there is already a number there and the name of your Place under the number, then you may click cancel and proceed to the next step. If this is not the case, then your Place ID can be found by following the steps below.
Open the Game Explorer in Studio if it is not already opened.
In the primary Studio toolbar click View then GameExplorer .
In the Game Explorer find the Places tab, and find your current place.
Right Click on the name of your Place, and click on Copy ID to Clipboard
Go back to the Data Store Editor Plugin Window, and click on *Set Place ID.
Paste the copied ID into the Place ID box.
Click the button labeled Set Place ID. The plugin will return you to the previous page, and you may continue reading below.
See Image Below
Note, I kept my own Place ID and other major info out of the images. I only wanted to show the screenshot of the area of the plugin I am referring to.
Select Use OrderedDataStore and Connect the First Time
Click on the square box right above the Connect button that says Use OrderedDataStore and make sure it is selected.
The box will have a checkmark if it is selected.
Now, Click on Connect
Get The Most Recent Save Key
The result should be a list of Numbers (they are tables, but appear as numbers) starting at one and proceeding upwards or downwards in value.
Note, I only have 4 tables saved for the purposes of this guide. However, you may, and probably will have many more.
The only number that is important for the purpose of editing the player’s current data is the most recent data save, which will be the largest positive number.
If you have hundreds of entries of data, and your numbers start with one and go down, simply click on the blue double arrows button to the right of the MinValue/MaxValue boxes. This will reverse the order of the results, immediately bringing you to the number you want. In my case, this number is 4.
Take note of the number to the right of the largest number. I believe both the left and right values should be the exact same number
You are almost there. Only one final thing to do.
Click the menu icon (three horizontal lines on top of each other) in the top left, to open up the primary menu again, and proceed to the next step.
For reference, the menu icon is at the top left of the image above
DESELECT Use OrderedDataStore and Connect A Second Time
- Uncheck the box labeled Use OrderedDataStore
(Change NOTHING else)
- Click on Connect again
This time, no numbers will appear and the menu will be empty.
Now in the box labeled Key type the number that you took note of in the Get The Most Recent Save Key section (2 steps ago)
In my case, the number is 4.
Hit your enter/return key and voila, you can now see and edit the data of the player.
I hope this updated guide was detailed and informative. If you have any difficulties or you do not see any results when you hit Connect, try double checking all the steps, and make sure you have properly saved your data. If all else fails, post a reply detailing your difficulty and I’ll try to help you out.