PluginCapabilities
Declares a plugin's capabilities (the data models it targets and the permissions it requests) through a JSON manifest.
| Memory category | Instances |
|---|
Member index 1
Description
PluginCapabilities describes what a plugin is allowed to do. Its
Manifest property holds a JSON string that
declares which data models the plugin targets (such as Edit, Server, and
Client) and the permissions the plugin requests. It's used by built-in and
standalone plugins to record their declared capabilities.
History 4
Members 1
Manifest
| Type | Default | |
|---|---|---|
| string | {"Metadata":{"TargetDataModels": ["Edit", "Server", "Client"]},"Permissions":{}} | |
A JSON-encoded string describing the plugin's declared capabilities. It
contains a Metadata object whose TargetDataModels array names the data
models the plugin runs against (Edit, Server, and Client), and a
Permissions object listing the permissions the plugin requests. Defaults
to
{"Metadata":{"TargetDataModels": ["Edit", "Server", "Client"]},"Permissions":{}},
which targets all three data models and requests no additional
permissions.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |