Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Intergration

Reece Harris edited this page Jul 10, 2021 · 5 revisions

DataStore3 is a modular system to easily use 3rd part databases, This is a guide on how to setup and use DataStore3 now!


Setting up the library file

  • Once you have installed the DataStore3 plugin Head over to Roblox Studio
  • Go to the Plugins tab at the top of Roblox Studio, Click on the button called Summon DataStore3Libary
  • A window should open (If the text is shrunk or stretched resize the window) now fill out your server details.
    Hostname - The server IP (Public IP) and the port you used to port forward.
    Username - The username you used to access the database (Not your Roblox username)
    Api Key - The API key you generated (How to generate a key)
  • Now click the submit button, Well done you have finished setting up DataStore3 now the best part, writing your code!

Creating your script

  • Create a new script inside ServerScriptService
  • Import DataStore3Libary by putting this at the top
local DataStore3 = require(game:GetService("ServerScriptService").DataStore3Libary);

This allows you to use the built-in functions allowing you to interact with your server.

  • Now it's your turn to use DataStore3 to its full potential
Clone this wiki locally