Skip to main content
All configuration lives in config.lua at the root of the awoken_ui resource. Every option belongs to the global AwokenConfig table.
config.lua
Colour values are injected as CSS variables at runtime, so changes apply after a simple ensure awoken_ui - no rebuild required.

Language & text

Every fixed string the UI shows - the context menu’s Close / Press ESC / Available Options labels, dialog buttons, the Press X to cancel hint, skill-check prompts and more - lives in the locales/ folder. Each file returns a simple table of key = "text" pairs, so you can translate the UI or just reword it to match your server.

Included languages

Set locale in config.lua to any of the bundled codes:
config.lua

Changing the wording

Open locales/en.lua (or whichever language you use) and edit the text inside the quotes. Leave the keys on the left untouched.
locales/en.lua

Adding a new language

  1. Copy locales/en.lua to a new file, e.g. locales/it.lua.
  2. Translate the text on the right-hand side of each line.
  3. Set locale = 'it' in config.lua.
English is always loaded as the base, so any key you remove, mistype, or haven’t translated yet falls back to English - a partial translation will never break the UI. Locale files are read at runtime, so changes apply after a simple ensure awoken_ui with no rebuild.

Global Awoken colour

Set the primary colour globally for Awoken UI, Awoken Target, and other Awoken resources via your server.cfg. This convar overrides the primaryColor setting in config.lua.
server.cfg
This allows you to theme all Awoken resources with a single setting.

Awoken Target icon

The targeting reticle that appears on screen when ox_target is active can be changed via the awoken:targetIcon convar. Set it once in server.cfg, restart ox_target, and the icon swaps for every player.
server.cfg

Built-in presets

Five SVG presets ship with the resource. All five inherit your primary colour automatically through currentColor, so there’s nothing else to configure once you pick one.

FontAwesome icons

You can also pass any FontAwesome 6 Solid class name prefixed with fa-. The icon inherits your accent colour the same way the presets do.
server.cfg
Anything that isn’t a recognised preset name or a fa- class falls back to crosshair, so a typo or unset convar won’t break the reticle.