summaryrefslogtreecommitdiff
path: root/Data/BuiltIn/Libraries/lua-addons/addons/update/readme.md
blob: 3a1adb3995e7c5035524c6748ea383ee709d4e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Update

Once loaded can update all addons and plugins to the newest version using `//update`. This can also be done automatically by configuring the settings file or by typing `//update auto`.

### Commands

#### Update

```
update
```

Will send an update command.

**Note:** This interferes with Spellcast XMLs using the custom `update` trigger command. To resolve that problem stop using Spellcast.

#### Toggle automatic updates

```
update auto [on|off]
```

Sets automatic updating to on or off (toggles if no argument specified). Note that automatic updates will not check for updates while you're currently in combat.

#### Set update interval

```
update interval <time>
```

Sets the automatic update interval to the provided time. Allows unit conversion, defaults to seconds. Example:

```
update interval 5min
update interval 2h
update interval 30
```

These will set the interval to 5 minutes, 2 hours and 30 seconds respectively.