Roblox Wiki
Advertisement
Roblox Wiki

The Plugin class inherits from Instance. The class is used to make Roblox Studio widgets and is intended to be used by plugins. This class is special, because, unlike other classes, the object of this class is indexed directly from the plugin keyword, which is only accessible to plugins. Other code can access this object through PluginManager():CreatePlugin().

Properties

CollisionEnabled: bool

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/CollisionEnabled.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

GridSize: float

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/GridSize.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

HostDataModelType: StudioDataModelType

  • HiddenThis property is not shown in the object browser and properties window.
  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/HostDataModelType.
  • Category: Data.
  • Read security: RobloxScriptSecurity.
  • Write security: RobloxScriptSecurity.
  • Serialization: cannot load or save.
  • Thread safety: read safe

HostDataModelTypeIsCurrent: bool

  • HiddenThis property is not shown in the object browser and properties window.
  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/HostDataModelTypeIsCurrent.
  • Category: Data.
  • Read security: RobloxScriptSecurity.
  • Write security: RobloxScriptSecurity.
  • Serialization: cannot load or save.
  • Thread safety: read safe

MultipleDocumentInterfaceInstance: MultipleDocumentInterfaceInstance

  • HiddenThis property is not shown in the object browser and properties window.
  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/MultipleDocumentInterfaceInstance.
  • Category: Data.
  • Read security: RobloxScriptSecurity.
  • Write security: RobloxScriptSecurity.
  • Serialization: cannot load or save.
  • Thread safety: read safe

UsesAssetInsertionDrag: bool

  • HiddenThis property is not shown in the object browser and properties window.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/UsesAssetInsertionDrag.
  • Category: Behavior.
  • Read security: RobloxScriptSecurity.
  • Write security: RobloxScriptSecurity.
  • Serialization: cannot load or save.
  • Thread safety: read safe

Methods

Activate(exclusiveMouse: bool): null

Parameters
NameType
exclusiveMousebool
  • Security: PluginSecurity.
  • Thread safety: unsafe

CreateDockWidgetPluginGui(pluginGuiId: string, dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo): DockWidgetPluginGui

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
pluginGuiIdstring
dockWidgetPluginGuiInfoDockWidgetPluginGuiInfo
  • Security: PluginSecurity.
  • Thread safety: unsafe

CreatePluginAction(actionId: string, text: string, statusTip: string, iconName: string = , allowBinding: bool = true): PluginAction

Parameters
NameTypeDefault
actionIdstring
textstring
statusTipstring
iconNamestring
allowBindingbooltrue
  • Security: PluginSecurity.
  • Thread safety: unsafe

CreatePluginMenu(id: string, title: string = , icon: string = ): PluginMenu

Parameters
NameTypeDefault
idstring
titlestring
iconstring
  • Security: PluginSecurity.
  • Thread safety: unsafe

CreateQWidgetPluginGui(pluginGuiId: string, pluginGuiOptions: Dictionary): QWidgetPluginGui

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
pluginGuiIdstring
pluginGuiOptionsDictionary
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

CreateToolbar(name: string): PluginToolbar

Parameters
NameType
namestring
  • Security: PluginSecurity.
  • Thread safety: unsafe

Deactivate(): null

This class member is missing documentation. Create or add to its subpage at Class:Plugin/Deactivate.
  • Security: PluginSecurity.
  • Thread safety: unsafe

GetItem(key: string, defaultValue: Variant): Variant

Parameters
NameType
keystring
defaultValueVariant
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

GetJoinMode(): JointCreationMode

This class member is missing documentation. Create or add to its subpage at Class:Plugin/GetJoinMode.
  • Security: PluginSecurity.
  • Thread safety: unsafe

GetMouse(): PluginMouse

This class member is missing documentation. Create or add to its subpage at Class:Plugin/GetMouse.
  • Security: PluginSecurity.
  • Thread safety: unsafe

GetSelectedRibbonTool(): RibbonTool

This class member is missing documentation. Create or add to its subpage at Class:Plugin/GetSelectedRibbonTool.
  • Security: PluginSecurity.
  • Thread safety: unsafe

GetSetting(key: string): Variant

Parameters
NameType
keystring
  • Security: PluginSecurity.
  • Thread safety: unsafe

GetStudioUserId(): int64

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/GetStudioUserId.
  • Security: PluginSecurity.
  • Thread safety: unsafe

ImportFbxAnimation(rigModel: Instance, isR15: bool = true): Instance

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
rigModelInstance
isR15booltrue
  • Security: PluginSecurity.
  • Thread safety: unsafe

ImportFbxRig(isR15: bool = true): Instance

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
isR15booltrue
  • Security: PluginSecurity.
  • Thread safety: unsafe

Intersect(objects: Objects): Instance

Parameters
NameType
objectsObjects
  • Security: PluginSecurity.
  • Thread safety: unsafe

Invoke(key: string, arguments: Tuple): null

Parameters
NameType
keystring
argumentsTuple
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

IsActivated(): bool

This class member is missing documentation. Create or add to its subpage at Class:Plugin/IsActivated.
  • Security: PluginSecurity.
  • Thread safety: unsafe

IsActivatedWithExclusiveMouse(): bool

This class member is missing documentation. Create or add to its subpage at Class:Plugin/IsActivatedWithExclusiveMouse.
  • Security: PluginSecurity.
  • Thread safety: unsafe

Negate(objects: Objects): Objects

Parameters
NameType
objectsObjects
  • Security: PluginSecurity.
  • Thread safety: unsafe

OnInvoke(key: string, callback: Function): Instance

Parameters
NameType
keystring
callbackFunction
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

OnSetItem(key: string, callback: Function): Instance

Parameters
NameType
keystring
callbackFunction
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

OpenScript(script: LuaSourceContainer, lineNumber: int = 1): null

Parameters
NameTypeDefault
scriptLuaSourceContainer
lineNumberint1
  • Security: PluginSecurity.
  • Thread safety: unsafe

OpenWikiPage(url: string): null

Parameters
NameType
urlstring
  • Security: PluginSecurity.
  • Thread safety: unsafe

PauseSound(sound: Instance): null

Parameters
NameType
soundInstance
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

PlaySound(sound: Instance, normalizedTimePosition: double = 0): null

Parameters
NameTypeDefault
soundInstance
normalizedTimePositiondouble0
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

PromptForExistingAssetId(assetType: string): int64

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
assetTypestring
  • Security: PluginSecurity.
  • Thread safety: unsafe

PromptSaveSelection(suggestedFileName: string = ): bool

  • YieldsThis function can yield the script it is used in.
Parameters
NameTypeDefault
suggestedFileNamestring
  • Security: PluginSecurity.
  • Thread safety: unsafe

ResumeSound(sound: Instance): null

Parameters
NameType
soundInstance
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

SaveSelectedToRoblox(): null

This class member is missing documentation. Create or add to its subpage at Class:Plugin/SaveSelectedToRoblox.
  • Security: PluginSecurity.
  • Thread safety: unsafe

SelectRibbonTool(tool: RibbonTool, position: UDim2): null

Parameters
NameType
toolRibbonTool
positionUDim2
  • Security: PluginSecurity.
  • Thread safety: unsafe

Separate(objects: Objects): Objects

Parameters
NameType
objectsObjects
  • Security: PluginSecurity.
  • Thread safety: unsafe

SetItem(key: string, value: Variant): null

Parameters
NameType
keystring
valueVariant
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

SetReady(): null

This class member is missing documentation. Create or add to its subpage at Class:Plugin/SetReady.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

SetSetting(key: string, value: Variant): null

Parameters
NameType
keystring
valueVariant
  • Security: PluginSecurity.
  • Thread safety: unsafe

StartDecalDrag(decal: Instance): null

Parameters
NameType
decalInstance
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

StartDrag(dragData: Dictionary): null

Parameters
NameType
dragDataDictionary
  • Security: PluginSecurity.
  • Thread safety: unsafe

StopAllSounds(): null

This class member is missing documentation. Create or add to its subpage at Class:Plugin/StopAllSounds.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

Union(objects: Objects): Instance

Parameters
NameType
objectsObjects
  • Security: PluginSecurity.
  • Thread safety: unsafe

Events

Deactivation()

This class member is missing documentation. Create or add to its subpage at Class:Plugin/Deactivation.
  • Security: PluginSecurity.
  • Thread safety: unsafe

Ready()

This class member is missing documentation. Create or add to its subpage at Class:Plugin/Ready.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

Unloading()

This class member is missing documentation. Create or add to its subpage at Class:Plugin/Unloading.
  • Security: PluginSecurity.
  • Thread safety: unsafe

Callbacks

ProcessAssetInsertionDrag(assetId: string, assetTypeId: int, instances: Objects): Objects

  • NoYieldThis function does not yield the calling thread.
Parameters
NameType
assetIdstring
assetTypeIdint
instancesObjects
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

ProcessAssetInsertionDrop(): null

  • NoYieldThis function does not yield the calling thread.
This class member is missing documentation. Create or add to its subpage at Class:Plugin/ProcessAssetInsertionDrop.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

Removed members

Methods

  • Bind
  • BindAndFire
  • CreatePluginGui
  • Fire
  • HasItem
  • RemoveItem

Properties

  • MDIInstance

External links[]

Advertisement