# config

### Upload

```javascript
cloudcfg.uploadConfig();
```

Automatically sends the users current CFG file from 'C:\Users\username\AppData\Roaming\@buse\cs2' to our CDN

### Download

```javascript
cloudcfg.downloadConfig();
```

Automatically download the users CFG file from our  CDN if found and replace it

### Save

We can use the [gui](https://abuse.gitbook.io/lua-documentation/reference/counter-strike-2/gui "mention") module for this since the function is in the gui file

```javascript
gui.saveConfig();
```

### Load

We can use the [gui](https://abuse.gitbook.io/lua-documentation/reference/counter-strike-2/gui "mention") module for this since the function is in the gui file

```javascript
gui.loadConfig();
```
