Configuration
Every option in ox_lib/web/ko/config.js with its default.
Every setting is in ox_lib/web/ko/config.js. After a change, enter refresh and ensure ox_lib (or restart the server) and reconnect.
General
| Option | Default | Description |
|---|---|---|
theme.primary | '#ff8a1f' | Main accent colour of the whole interface ('#RRGGBB') |
theme.secondary | '#e8590c' | Second accent colour for gradients ('#RRGGBB') |
animations | true | false turns off every animation (entrance, glow, icon animations) |
scale | 1 | Size of the interface: 1 normal, 0.9 smaller, 1.1 bigger |
locale | 'auto' | Language of the own texts (field errors, search, calendar): 'auto' follows ox_lib (German when ox_lib is German, otherwise English), or fixed 'de' / 'en' |
Notifications
| Option | Default | Description |
|---|---|---|
notify.maxVisible | 5 | Maximum notifications shown at the same time per position |
notify.duration | 3000 | Duration in milliseconds when a script does not set one |
Progress
| Option | Default | Description |
|---|---|---|
progress.showPercent | true | Percentage next to the progress bar label |
Text UI
| Option | Default | Description |
|---|---|---|
textUi.keyBadge | true | Shows a leading [E] in the text as a key cap, e.g. [E] - Open door |
ox_lib settings
ox_lib's own settings keep working as before, for example the notification position and sound each player picks in ox_lib's settings menu, and the ox:locale convar.
Was this page helpful?
