Skip to main content

Framework

config.lua
'auto' detects frameworks in this order: qbx_coreqb-corees_extended. Set it explicitly to skip detection:

Branding

config.lua
Drop your logo into html/img/ and point LogoImage at it. If left blank, the selector displays ServerName and ServerTag as text instead.
config.lua

Primary colour

config.lua
Hex colour used as the UI accent. Can also be set server-wide via convar so all Awoken resources share one colour:
server.cfg
The convar takes priority over the value in config.lua if both are set.

Slots

config.lua
Individual players can be granted extra slots through Discord roles or per-license overrides in config_slots.lua. See Slot system below.

Appearance resource

config.lua
Controls which appearance resource is used to apply saved skins to the preview ped and to open the clothing editor for new characters.

First character event (QB / QBX)

config.lua
Client event fired to open the clothing editor when a brand-new character spawns for the first time. Only used when Config.StartingApartment = false.

Spawn resource

config.lua
Controls where returning characters spawn after selecting a character. New characters always use Config.NewPlayerNoApartmentStartCoords or the apartment resource - this setting does not affect them.
To add support for a spawn resource not listed above, edit client/spawn.lua - it contains instructions at the top and is the only file you need to change.

Custom spawn handler

config.lua
Only called when Config.SpawnResource = 'custom'.

Logout command

config.lua
/logout returns a player to the character select screen. Set false to disable the command for everyone.

Cinematic intro

config.lua
GTA-Online-style intro for brand-new characters: after the clothing editor, the genuine MP_INTRO_CONCAT cutscene plays (the plane landing) using the player’s own appearance, then hands off to the spawn script. Only runs when Config.StartingApartment = false.

Starter items

config.lua
Items given to a brand-new character once, on creation. Leave empty to disable. Works with ox_inventory or the framework’s native inventory - item names must exist in your item list or they’re silently skipped.

Music player

config.lua
Background music on the character screen. Players can paste their own YouTube URL in the Settings popup; the choice is cached client-side and used on every visit.

Starting apartment

config.lua
When true, new characters are handed off to your apartment or housing resource on first spawn instead of dropping at a fixed set of coords. The resource checks which housing script is running and triggers it automatically.
Supported: ps-housing, qbx_properties, qbx_apartments, qb-apartments, bcs_housing, 0r-apartment, okokSpawnSelector, vms_spawnselector
Only one resource may own the new-player spawn. If your framework (or housing script) also runs its own starter-apartment flow on player load, it will fire at the same time as awoken’s - you’ll get two overlapping apartment/clothing screens fighting for focus.Pick one owner:
  • Use an apartment/housing script → set Config.StartingApartment = true here and disable the framework’s built-in starter apartment (see the QBX note below).
  • Let awoken handle it → set Config.StartingApartment = false; new characters spawn at NewPlayerNoApartmentStartCoords and go straight to the clothing editor. Make sure no housing script auto-spawns new players on load.
QBX setup for qbx_properties (or any qbx apartment script). In qbx_core/config/client.lua, turn off qbx’s own starter apartment so it doesn’t run alongside awoken:
qbx_core/config/client.lua
(useExternalCharacters = true should also be set, which disables qbx’s built-in character management - required for any external multicharacter resource.)Then set Config.StartingApartment = true here. awoken closes the character selector, hands the new character to your apartment script, and re-shows the ped for clothing customisation. With both set this way there’s no double apartment/skin screen and the ped is visible in the editor.
To add support for an apartment resource not listed above, edit server/apartments.lua - it contains instructions at the top. If none of those are running (or StartingApartment = false), the player spawns at:
config.lua

Delete button

config.lua
false hides the delete button for everyone by default. You can still grant delete access to specific players or Discord roles in config_slots.lua without exposing it globally.

Custom HUD hook

config.lua
Called when the character selector opens (true) or closes (false). Use this to hide or show your server HUD while the selector is on screen.

Scenarios

Scenarios are the background scenes players cycle through on the selector screen.
config.lua
Each scenario entry:
config.lua
Use either pedScenario or pedAnim, not both. If neither is set the ped stands idle.
Don’t build scenario entries by hand - run /scenecreator in-game (admin, ace-gated). It frames the camera, captures the ped spot, animation, time, weather and DOF with a live preview of the exact select-screen render, then exports a ready-to-paste scenario entry.
Valid weather strings: CLEAR, EXTRASUNNY, CLOUDS, OVERCAST, RAIN, THUNDER, FOGGY, SNOWLIGHT, BLIZZARD

Scene Creator

Settings live in their own file, config_scenecreator.lua. The command is fixed as /scenecreator - see the Commands page for usage and the helper keybinds.
config_scenecreator.lua

Slot system

Slot counts resolve in this order: per-license override → Discord role → Config.DefaultSlots

Per-license overrides

config_slots.lua

Discord role slots

config_slots.lua
If a player has multiple matching roles the highest totalSlots wins. The bot needs Server Members Intent enabled in the Discord Developer Portal - without it role fetches will silently fail and everyone gets Config.DefaultSlots. Role data is cached when the player connects. A reconnect is required for slot changes to take effect.

Delete access

Grant delete access to specific players when Config.EnableDeleteButton = false:
config_slots.lua

Webhooks

config.lua
Discord webhook URLs for automatic notifications. Leave a field as '' to disable that webhook.

Debug

config.lua
Enables extra console logging. Useful when setting up the resource for the first time.