Skip to main content
All configuration lives in config.lua at the root of the awoken_loadingscreen resource. Restart the resource after any change to apply it: ensure awoken_loadingscreen (or restart awoken_loadingscreen from your console if it’s already running).
Anywhere there are alternatives (backgrounds, socials, music tracks) the file lists them all with only one uncommented. To swap variants, flip which line is commented - remove the -- from the one you want, add -- to the one you just had.

Branding

The top-left logo, hero title, tagline, subtitle, and per-player welcome message.
The player’s name comes from the server’s playerConnecting handler and is substituted into {name} automatically. No extra setup needed.

Theme

Every accent colour in the UI (glows, gradients, progress bar, hex icons, hover states) is derived from accent + accentSoft.

Global Awoken colour

Set the accent globally for all Awoken resources via server.cfg. This convar overrides theme.accent and automatically derives a lighter shade for accentSoft.
server.cfg
Leave the convar unset (or empty) to use the colours in config.lua. The convar is read once at resource start, so changing it requires ensure awoken_loadingscreen to take effect.

Fonts

Every piece of text on the screen is driven by three font “roles”. Set each role to any font-family name and that typeface is used everywhere that role applies - no need to touch the code. A role’s value can point at a custom font you register, a Google font, one of the three always-available built-ins (Inter, Bebas Neue, Dancing Script), or any system font (Arial, Georgia, …). The whole fonts block is optional - omit it and the defaults below are used.

Custom (non-Google) fonts

Any font that isn’t on Google Fonts - a brand font, a purchase from a foundry, or something from a site like dafont.com - is self-hosted: the file ships inside the resource, so it loads instantly and never depends on an external service. This is the most reliable option inside FiveM’s browser.
1

Add the font file

Drop the font file into web/build/media/fonts/. Supported formats: .woff2 (smallest, recommended), .woff, .ttf, .otf.
If you only have a .ttf or .otf (e.g. straight from dafont.com), convert it to .woff2 at a tool like transfonter.org for a much smaller file. The .ttf/.otf will still work as-is if you’d rather skip this.
2

Register it

Add an entry to fonts.custom. The family is the name you’ll use to select it.
3

Restart

ensure awoken_loadingscreen. The next player to connect sees the new font.
Multiple weights of one typeface - add several entries with the same family and different files + weight:

Google fonts

List extra Google families in fonts.google, then reference them in roles. Append :weights to load specific weights.
Licensing. Make sure you have the right to use any font you ship - especially on a commercial server. Many dafont.com fonts are licensed “free for personal use” only; using them commercially requires buying the appropriate licence from the foundry. The resource provides the mechanism; sourcing a properly licensed font file is up to you.

Background

Pick one of six variants. Keep the others commented out.
Most reliable option. Works regardless of network or YouTube embed restrictions.
MP4 / WebM. Drop the file in web/build/media/.

Overlay

Darkens (or tints) the background so foreground text stays readable. Raise opacity for busier videos / images, lower it for clean gradients.

Music

Background music playlist. Players press Space to pause/play, arrow keys to skip, and can drag the volume slider in the top-right (their volume saves in their browser).
The top-right audio visualiser is live - it reacts to the actual audio waveform when a track is playing.
MP3 is safest, but OGG, WAV, and M4A also work. Leave playlist empty for silence. If the YouTube background has useAudio = true, this playlist is ignored.

Socials

Bottom row of social links. Built-in icons are recognised by platform name:
For anything not in the built-in list (Kick, Steam, a custom forum, …) supply your own icon:
  • iconUrl takes precedence over any built-in icon.
  • An unknown platform with no iconUrl falls back to a generic link icon.
  • label overrides the tooltip (defaults to the platform name).

Status tips

Rotating one-liners shown under the loading bar.

Progress bar

Toggle the visual elements of the loading bar.

Info panels

A column of hexagon trigger buttons sits at the right edge of the screen. Clicking one opens a centered modal with that panel’s content; Esc, the X button, or click-outside closes it. Three kinds are available. Leave the panels array empty to hide the column entirely.

Common fields

sections - heading + bullet list

Best for Rules, Support, FAQ, etc.

releases - dated changelog

Scrolls when long. Newest at the top.

controls - clickable keyboard

Renders a US-layout keyboard with the bound keys highlighted. Selecting a key shows its label + description below.
Recognised key values (case-insensitive):
SHIFT, CTRL, and ALT match both the left and right keys on the keyboard.