Multicharacter
Core Settings
Overview of every config file and the main settings in config/core.lua.
On this page3 sections
Config files
Every setting has a short description above it in the file itself.
| File | What it controls |
|---|---|
core.lua | Framework, locale, server name, debug, appearance, inventory, admins |
| characters.lua | Slots, deletion, cooldowns and limits, /relog |
| identity.lua | Age, name length, genders, height, weight, nationalities, citizen id |
| spawn.lua | Default spawn, first spawn, buckets, spawn camera, spawn selector |
| camera.lua | Select scenes, animations, filters, lineup, world freeze, UI sounds |
| arrival.lua | Airplane intro and welcome card |
| startingitems.lua | Starting items screen |
| loading.lua | Loading screen staff list and player count |
| discord.lua | Discord roles and identity |
discord-secrets.lua | Bot token and Discord guild id |
| integrations.lua | Logs to Discord, Fivemanage, or a custom endpoint |
| theme.lua | Colors, radius, logo, font, and effects |
core.lua
Config.Framework = 'auto'Config.Locale = 'en'Config.ServerName = 'SleepyCode'Config.Debug = falseConfig.StartingMoney = { cash = 500, bank = 5000,}Config.Appearance = 'auto'Config.Inventory = 'auto'Config.AdminGroups = { superadmin = '*', admin = '*', god = '*', mod = { 'getcharacters', 'lockchar', 'unlockchar' }, support = { 'getcharacters' },}Config.AutoFixDatabase = trueConfig.UseSteamIdentifier = falseConfig.CitizenIdPrefix = 'char'Options
| Option | Type | Default | Description |
|---|---|---|---|
Framework | string | 'auto' | 'auto', 'esx', 'qbcore', 'qbox', or 'ox'. |
Locale | string | 'en' | File name from locale/ without .json. |
ServerName | string | 'SleepyCode' | Server name on the welcome card. Empty gives a neutral greeting. |
Debug | boolean | false | Detailed logs in the server console and F8. Disable on production. |
StartingMoney.cash | number | 500 | Starting cash. Ignored on ESX, QBCore, Qbox, and ox_core, which use their own config. |
StartingMoney.bank | number | 5000 | Starting bank. Same as above. |
Appearance | string/false | 'auto' | Adapter key from bridge/client/appearance.lua. 'auto' tries them in order. false disables. |
Inventory | string/false | 'auto' | 'ox_inventory', 'qb_inventory', 'qs_inventory', 'auto', or false. |
AdminGroups | table | see above | Framework group to '*' or a list of commands. See Commands and Permissions. |
AutoFixDatabase | boolean | true | Creates missing tables and columns on start. false only prints the SQL. |
UseSteamIdentifier | boolean | false | Identify players by Steam instead of the Rockstar license. |
CitizenIdPrefix | string | 'char' | ESX only. 'char' for multiple characters, 'license', or 'none'. |