TraditonalSave - A more traditonal way to saving


TraditionalSave2 has a sequal now! It comes with many improvments that make it a way better expereince to use. Link


Why use TraditonalSave?

Now I know what your thinking:

“Why would I use this over any other DataStore module?”

And I do fully understand you asking that question, which is why im going to describe that here.

As far as I’m aware. there aren’t any big data store modules which allow for non auto saving and save files, making people wanting that functionality having to make crazy work arounds, or make there own system from scratch. I needed a system with that functionalty so I made it, and decided to open source it. If your project doesn’t have the same need’s this module was built for, I wouldn’t sugest using TraditionalSave.

to summirize that entire wall of text:

TraditionalSave has a very specific use case, If you don’t fit that niche don’t use it.

But with that out of the way!

What is it?

TraditionalSave Is a file based DataStore module made by @Judash399 originaly for Blockwoode Theatre. TraditionalSave for its lightweight size (around 250 lines of code) is full of features including:

  • Session locking!

  • Almost Completely Customizable!
    - You have full control over you’re UI and uses.
    - Everything can be turned on/off
    - Works with any quantity of Files.

  • Uses Manual Saving (No auto save)

  • Extremely Low SetAsync/GetAsync requests

  • Easy management of save files
    - Copy File
    - Delete File

  • Only one file can be loaded at a time! (Helps prevents some bugs)

  • Studio and Live data are separate.

  • And more!

The downlaod, and documentation for the module are below!

https://create.roblox.com/store/asset/74658172584620/TraditionalSave

Polls

Would you consider ever using TraditionalSave?
  • Yes
  • No
  • If I ever needed non auto save.
  • If I ever needed save files.
  • I would make my own data store solution.
0 voters
What’s most important to you in a DataStore module?
  • Reliability
  • Low Get/Set rates
  • Ease of use
0 voters
5 Likes

TraditionalSave Version 1.0.1

  • Removed some debuging stuff I forgot to remove (oops)

TraditionalSave Version 1.1.0

  • Reworked how a Store stores PlayerProfiles (uses UserId’s as the index now)
  • Added Store:GetProfile(player)
  • Added Profile:GetLoadedFile()
  • Added Profile:MoveFile()
  • Added Profile:SwapFiles()
  • Changed Profile:GetLoadedFiles() to use numbers as the index’s not strings.
  • Additional warnings.
  • Changed some comments/documentation.

These updates are mainly me just polishing it up after using it for about a week or so.

TraditionalSave Version 1.2.0

  • Reworked how erroring when loading into a PlayerProfile works, it now returns a table which looks like this {IsError = true, Reason = "Reason Goes Here!"} Check the documentation for more information.
  • Added signals to the module + a signal library
  • The module no longer attempts to save to the data store an infinite amount of times, it will now attempts a amount of times (defined in the config, defaults to 3) until giving up before erroring and sending out a SaveFailed signal.

TraditionalSave Version 1.3.0

  • Completely Reworked how Session locking works! Including 3 new config values!
    – LocksSessionOnServer which determines if the module uses session locking on the server.
    – MaxUpdateTimestamp which is the amount of time from the last Update to the data store for other servers to ignore if the data says its locked or not.
    – TimestampUpdateInterval time between the data store being forced to update (to keep the UpdateTimestamp up to date)

  • Updated comments throughout the script.

TraditionalSave Version 1.3.1

  • Removed some debuging stuff I forgot to remove again. (Oops 2)

Hey, just to let you know, you have a minor typo here.

1 Like