How to get plugin

I’m just confirming if I what I know is accurate (again I can’t test it, studio is down)

If you have a plugin with ModuleScripts, the only way for the modules to have access to plugin is to inject them from the Main script.

  • true
  • false

0 voters

The requiring script should have its security context level shared with the ModuleScript. This can be proved by requiring ModuleScripts, and using them in the Command Bar, which usually leads to unexpected behavior.

2 Likes

So any ModuleScript in a plugin will have access correct? because all modules will stem from one Main script which has plugin access.

Under a plugin’s context level, yes.

1 Like