mirror of
https://github.com/SnapEnhance/scripting-docs.git
synced 2026-08-31 12:42:32 +00:00
chore: displayName
This commit is contained in:
10
README.md
10
README.md
@@ -8,18 +8,20 @@ In case of any questions, feel free to ask via opening an issue or asking on our
|
|||||||
Every script written for the Scripting Engine must include a header section at the beginning of the file. The header follows a specific format, as shown below:
|
Every script written for the Scripting Engine must include a header section at the beginning of the file. The header follows a specific format, as shown below:
|
||||||
```
|
```
|
||||||
// ==SE_module==
|
// ==SE_module==
|
||||||
// name: Script Name
|
// name: script_name
|
||||||
|
// displayName: Script Name
|
||||||
// description: Script description
|
// description: Script description
|
||||||
// version: 1.0
|
// version: 1.0
|
||||||
// author: Author
|
// author: Author
|
||||||
// ==/SE_module==
|
// ==/SE_module==
|
||||||
```
|
```
|
||||||
The following fields are required: `name`, `version`<br>
|
The following fields are required: `name`, `version`, `author`<br>
|
||||||
Additionally, there are also optional fields available which are: `description`, `author`, `minSnapchatVersion`, `minSEVersion`, `grantedPermissions`
|
Additionally, there are also optional fields available which are: `displayName`, `description`, `minSnapchatVersion`, `minSEVersion`, `grantedPermissions`
|
||||||
|
|
||||||
### Field Description
|
### Field Description
|
||||||
|
|
||||||
`name`: Descriptive name for the script.<br>
|
`name`: Descriptive name for the script. Must be composed of lowercase letters and underscores only.<br>
|
||||||
|
`displayName`: Display name of the script. <br>
|
||||||
`author`: Name of the script's creator.<br>
|
`author`: Name of the script's creator.<br>
|
||||||
`version`: Version number of the script (e.g., 1.0).<br>
|
`version`: Version number of the script (e.g., 1.0).<br>
|
||||||
`description`: Brief explanation of the script's functionality.<br>
|
`description`: Brief explanation of the script's functionality.<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user