Give plugins access to the ribbon bar menu options and preferences

Ribbon bar menu options? You know, these things:

https://devforum.roblox.com/uploads/default/original/3X/7/7/77364c7a7e641fae7adff7595e625297d85041c1.png


Been making a building utility plugin and it’s crossed my mind a few times how nice it would be to have access to these so I didn’t have to keep track of them myself / prompt the user for information they’ve already set.

[Osyris had the mighty find idea of making it a method of Plugin] (http://devforum.roblox.com/t/accessing-color-and-material-preferences-from-a-plugin/31096/2?u=whobloxedwho), and to elaborate on that idea more I give you…

```plugin:Get[fitting-name-here](string SettingName)```
Where Setting Name would include:

Those are just some of the ones I think would be useful, I’m sure there are loads more (if anyone has some I’ll add it to the list)


An alternative way to accomplish the same thing (and maybe even in more detail) could be to have a method of plugin that gets settings per ribbon bar tab and group.

```plugin:GetRibbonSettings(string TabName, string GroupName)```
where TabName and GroupName correspond to: http://i.imgur.com/r2bC4Ed.png, and the method would return a table of relevant information based on what the button group has to offer.

So lets bring it in folks

What do we want? A way to get more information about studio user set preferences and options in a way that isn’t really convoluted and maybe even a way to set them.

When do we want it? Realistically as soon as possible but hey no rush we can make ends meet until then.

9 Likes

Would be nice if there was a mutator method as well

Just Lua-fying access to the menu things in general would be nice.
(but as methods of Studio or StudioSettings, not just Plugin, cuz commandline access 'n stuff)
(^ methods would still have PluginSecurity and not work/exist online, of course)
(^ actually I think the Studio class already is a studio-only class)
(^ also I just semi-realized that StudioSettings might not be a thing. maybe it == Studio, e.g. Settings.Studio)
(^ using a lot of ^'s for some reason, not sure why)