> For the complete documentation index, see [llms.txt](https://docs.17movement.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.17movement.net/complete-interface-system/integrations/ox_lib-and-qbox.md).

# ox\_lib & QBOX

This integration allows resources using `ox_lib` interface functions to display their UI through our interface without requiring changes in those resources.

QBox servers use the same integration through `ox_lib`, so no separate installation is required.

### Installation

Open:

```
installation/ox_lib/
```

Inside this folder you will find replacement files for supported `ox_lib` interface components.

Copy these files into:

```
ox_lib/resource/interface/client/
```

and replace the files with the same names.

We recommend keeping a backup of the original files before replacing them.

Files without a provided replacement should remain unchanged.

Restart the server after making the changes.

***

### Supported Functions

#### Alert Dialog

Replacement file:

```
alert.lua
```

Supports:

* `lib.alertDialog`
* `lib.closeAlertDialog`
* `ox_lib:alertDialog`

***

#### Context Menu

Replacement file:

```
context.lua
```

Supports:

* `lib.registerContext`
* `lib.showContext`
* `lib.hideContext`
* `lib.getOpenContextMenu`

***

#### Input Dialog

Replacement file:

```
input.lua
```

Supports:

* `lib.inputDialog`
* `lib.closeInputDialog`

***

#### Menu

Replacement file:

```
menu.lua
```

Supports:

* `lib.registerMenu`
* `lib.showMenu`
* `lib.hideMenu`
* `lib.setMenuOptions`
* `lib.getOpenMenu`

***

#### Notifications

Replacement file:

```
notify.lua
```

Supports:

* `lib.notify`
* `lib.defaultNotify`
* `ox_lib:notify`
* `ox_lib:defaultNotify`

***

#### Progress Bar

Replacement file:

```
progress.lua
```

Supports:

* `lib.progressBar`
* `lib.progressCircle`
* `lib.cancelProgress`
* `lib.progressActive`

***

#### Radial Menu

Replacement file:

```
radial.lua
```

Supports:

* `lib.registerRadial`
* `lib.addRadialItem`
* `lib.removeRadialItem`
* `lib.clearRadialItems`
* `lib.disableRadial`
* `lib.hideRadial`
* `lib.getCurrentRadialId`

***

#### Text UI

Replacement file:

```
textui.lua
```

Supports:

* `lib.showTextUI`
* `lib.hideTextUI`
* `lib.isTextUIOpen`
