Configuration
Everything is in config.lua.
Branding
Name and logo in the top corner.
| Option | Default | What it does |
|---|
Config.Branding.wordmark | 'LOS SANTOS' | Small text line |
Config.Branding.title | 'FUSINGFLAME' | Main name |
Config.Branding.subtitle | 'ROLEPLAY' | Line under the name |
Config.Branding.logo | 'flame.webp' | Logo image, in the html folder |
Config.Branding.layout | see below | Position and size of the text and logo |
layout = {
text = { x = 7.36, y = 5.72, scale = 1.00 },
logo = { x = 2.64, y = 2.07, height = 10.92 },
},
To move or resize them, open branding-editor.html in your browser, arrange it, press Copy, and paste the result over Config.Branding.
To change the background picture, replace html/backdrop.jpg.
General
| Option | Default | What it does |
|---|
Config.Debug | false | Console messages |
Config.Framework | 'auto' | 'auto', 'qb', 'qbx' or 'esx' |
Config.Theme | 'auto' | 'auto' is your framework's own look. With fusing-multicharacter-themes: 'cyber', 'toon', 'royale', 'kawaii' |
Config.StartingApartments | true | New characters pick a starting apartment (qb-apartments / qbx_properties). Not used on ESX |
Config.DefaultSpawn | vector3(-1035.71, -2731.87, 12.86) | QBCore's default spawn. Qbox and ESX use their own |
Config.SkipSelection | false | Skip the spawn menu and go back to where they logged out. ESX always does this |
Config.SpawnResource | 'auto' | QBCore: 'auto', 'fusing-spawn' or 'qb-spawn' |
Config.EnableDeleteButton | true | Players can delete characters |
Characters per player
| Option | Default | What it does |
|---|
Config.DefaultNumberOfCharacters | 5 | Characters per player, up to 5 |
Config.PlayersNumberOfCharacters | {} | Per player limits, by license |
Config.PlayersNumberOfCharacters = {
{ license = 'license:xxxxxxxx', numberOfChars = 2 },
}
New character form
| Option | Default | What it does |
|---|
Config.MinNameLength | 2 | Shortest name |
Config.MaxNameLength | 16 | Longest name |
Config.MinAge | 18 | Youngest allowed age |
Config.MaxAge | 80 | Oldest allowed age |
Config.Nationalities | 41 nationalities | The nationality list. QBCore and Qbox only |
Qbox
| Option | Default | What it does |
|---|
Config.Qbox.DateFormat | 'YYYY-MM-DD' | Must match dateFormat in qbx_core/config/client.lua |
ESX
| Option | Default | What it does |
|---|
Config.ESX.Prefix | 'char' | Must match your old esx_multicharacter prefix |
Config.ESX.MinHeight | 120 | Shortest height, in cm |
Config.ESX.MaxHeight | 220 | Tallest height, in cm |
Sounds
GTA frontend sounds. Set any to false to silence it.
Config.Sounds = {
move = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'NAV_UP_DOWN' },
select = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'SELECT' },
back = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'BACK' },
open = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'SELECT' },
error = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'ERROR' },
warn = { set = 'HUD_MINI_GAME_SOUNDSET', name = 'LOSER' },
commit = { set = 'HUD_FRONTEND_DEFAULT_SOUNDSET', name = 'SELECT' },
}