As a Roblox developer, it’s currently possible to save as much data as you want into a plugin’s settings file. This should probably not be the case and it should be capped at some point. Preferably at a few megabytes, since that seems well beyond what most plugins will get to.
Recently, I noticed that the size of the built-in plugin’s settings file was 800kb. After some inspection, this was because plugins that are saved locally or created with
PluginManager():CreatePlugin() share the same settings file as the built in plugins and at some point a plugin had saved the entirety of the API dump json to the settings file.
Opening a file with this
settings.json proved to be slow enough that it just hung Studio for a bit. I was able to make a settings file that was around 360mb before I made this post, and it hung Studio for a solid minute when it first opened a place file. I’m lucky enough to know how to fix this, but if a plugin maliciously bloated the size of the built-in settings file, it would be hard for a lot of people to fix it.