mirror of
https://github.com/SnapEnhance/scripting-docs.git
synced 2026-08-30 20:24:23 +00:00
docs: script permissions
This commit is contained in:
@@ -16,7 +16,7 @@ Every script written for the Scripting Engine must include a header section at t
|
|||||||
// ==/SE_module==
|
// ==/SE_module==
|
||||||
```
|
```
|
||||||
The following fields are required: `name`, `version`, `author`<br>
|
The following fields are required: `name`, `version`, `author`<br>
|
||||||
Additionally, there are also optional fields available which are: `displayName`, `description`, `minSnapchatVersion`, `minSEVersion`, `grantedPermissions`
|
Additionally, there are also optional fields available which are: `displayName`, `description`, `minSnapchatVersion`, `minSEVersion`, `permissions`
|
||||||
|
|
||||||
### Field Description
|
### Field Description
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ Additionally, there are also optional fields available which are: `displayName`,
|
|||||||
`description`: Brief explanation of the script's functionality.<br>
|
`description`: Brief explanation of the script's functionality.<br>
|
||||||
`minSnapchatVersion`: Minimum required Snapchat version code (e.g., 106822).<br>
|
`minSnapchatVersion`: Minimum required Snapchat version code (e.g., 106822).<br>
|
||||||
`minSEVersion`: Minimum required SnapEnhance version code (e.g., ).<br>
|
`minSEVersion`: Minimum required SnapEnhance version code (e.g., ).<br>
|
||||||
`grantedPermissions`: -
|
`permissions`: Grant permissions to the script (e.g. unsafe-classloader)
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
To start off, you can find a couple of Example scripts written by us [here](https://github.com/SnapEnhance/docs/tree/main/examples).
|
To start off, you can find a couple of Example scripts written by us [here](https://github.com/SnapEnhance/docs/tree/main/examples).
|
||||||
|
|||||||
Reference in New Issue
Block a user