For Studio plugins that want to save user preferences, where should that data be saved?
Let's say for example, I have a list of toggle switches, and I want to save what the user has toggled on and off. Where should that go? Is there a place to store data that persists across DataModel sessions? The plugin documentation and tutorials don't cover this use case.
DataStores don't seem to be the right place as they are on a "per-experience" basis, require explicit permission to work in Studio, and are a security risk to expose for a plugin that doesn't care about a user's game data.
I've never used LocalStorageService, but the name implies that it might be the right place, but the docs are currently just a skeleton.
Is there a way to store any data with a plugin?
The
pluginobject has a function called SetSetting that allows you to store information in the plugin itself. According to the docs :You can retrieve this data using the GetSetting function.