addonscript-spec/docs/schema/install.md

27 lines
568 B
Markdown
Raw Normal View History

# Install Object
```json
{
2022-08-26 21:56:07 +02:00
"action": "move",
2023-02-03 16:20:43 +01:00
"args": ["./mods"],
"side": "both"
}
```
## Required properties
2022-08-26 21:56:07 +02:00
### action
This is the [install action](../concepts/install.md), which will be used at this installation step.
## Optional properties
### args
2022-08-26 21:56:07 +02:00
This is an array of arguments for the [install action](../concepts/install.md). Each of them takes other arguments.
2023-02-03 16:20:43 +01:00
### side
This specifies, for which side this install action should be performed. Valid values are `client`, `server` and `both`.
If this property is not present, it defaults to `both`.