SimpleDataStores-RBLX
  • Roblox SimpleDataStores
  • Player Data
    • PublicPlayerData
    • HiddenPlayerData
    • Folder/Table Data Saving
    • SaveOnDeath and SaveOnRejoin
  • Full errors list
  • Settings
    • CanSaveBackpack
    • SaveInStudio
    • DataStoreName
    • CustomTablePropretiesSave
    • EnableEconomyTracking
    • OutputDebugging
  • Custom Data Module [🔜]
  • Newest Fix
    • LATEST VERSION
    • [COMING SOON] Version 7
    • Version 6
    • Version 5
    • Version 4
    • Version 3
    • Version 2
    • Version 1
  • Help & Feedback
    • Dev Forums
  • Deprecated
    • Data Management Team [🔜]
    • Enhanced Output Debugging
    • Modifications
Powered by GitBook
On this page
  • How to save the player backpack:
  • Settings Classes
  • AutoDetectTools
  • Limitations:
  • Possible Errors
  • Useful Attributes
  1. Settings

CanSaveBackpack

The CanSaveBackpack setting allows you to automatically save tools in the player backpack including the players equipped tool however there is some additional things to do.

How to save the player backpack:

  1. Enable the CanSaveBackpack

  2. Add a copy of the tools you want the backpack to save in CanSaveBackpack -> SaveableTools

  3. Ensure that the tools in SaveableTools is named exactly how they will be when they are saved, If not then they will not be retrieved

Settings Classes

Name
Type
Function

SaveableTools

Folder

The location where all saveable tools must be. These tools names must be exact for the system correspond them correctly.

SaveOnDeath

Attribute (Bool)

TRUE (Default): Saves the player backpack on the player death and retrieves when respawned

FALSE: Does not save player backpack if they die

SaveOnRejoin

Attribute (Bool)

TRUE (Default): Saves the player backpack upon leaving the game and reteives it when joining back

FALSE: Does not save the player backpack when they leave the game

AutoDetectTools

The AutoDetectTools setting is a new feature (as of Version 7) within CanSaveBackpack that will when enabled will automatically go through as many of the game files as possible to find tools, clone them and put them in SaveableTools.

This is an experimental feature because due to security limitations this feature may not always work if it cannot access that instence type. It's recommended that tools are kept in either Workspace, ReplicatedFirst or ReplicatedStorage. If you are unable and this feature is not able to detect the tool then put it in the saveable tools folder.

If you want a tool to not be detected by this feature then give it a bool attribute and name it "ignore" and set the value to true and the game will ignore it and not save it.

Limitations:

  • Saveable Tools must be named exactly how they will be named when the game attempts to save them

  • Any tools not in SaveableTools file will NOT be retrieved however will be stored unless the player rejoins

  • Any tools that are named the same and are in SaveableTools may have issues when retrieving. Please avoid naming tools the same

Possible Errors

Error
Reason
Solution

No Backpack found for player

Player instance did not have a backpack. This is likely a loading issue

Probably a Roblox Outage causing loading delays. Unlikely error

... was unretrievable. Please put a copy of the tool in the SaveableTools folder

Could not find the given tool name in 'SaveableTools' folder

Duplicate the tool and move it to Settings -> CanSaveBackpack -> SaveableTools

Useful Attributes

Here are some useful attributes to add to your tools to manipulate the saving process easily! Remember you must add the attribute to the tool from the priorities and naming, type as well as value must be exact.

Attribute Name
Attribute Type
Function
Default Value

SaveOnDeath

Bool

  • When true, it saves the tool on the player's death.

  • When false, tool is not saved on death

TRUE

SaveOnRejoin

Bool

  • When true, it saves the tool when the player leaves the game.

  • When false, tool is not saved when the player leaves

TRUE

ignore

Bool

  • When true, AutoDetectTools will not detect the tool to be put into SaveableTools

  • When false, AutoDetectTools can clone the tool into the SaveableTools folder

FALSE

Feature in-progress

Video explanation is set to come soon!

PreviousFull errors listNextSaveInStudio

Last updated 1 day ago