How configuration works
How Eleven Phone configuration works on FiveM: your config.lua, the factory values in config/defaults.lua, what escrow lets you edit and why updates keep it.
Three files, three roles
| File | What it is |
|---|---|
config.lua | Yours. Only what you change. Updates never touch it. |
config/defaults.lua | The factory values, each explained right next to it. It loads after yours and only fills in what's missing. Every update rewrites it. |
config/bootstrap.lua | Prepares the load. Nothing to touch here. |
To change something, copy that key from config/defaults.lua into your config.lua and change the value. Don't edit defaults.lua: it's the reference list, and the next update wipes whatever you write there.
-- config.lua
Config.Locale = 'en'
Config.Keybind = 'F2'
Config.FeatureFlags = {
chispa = false,
deportes = false,
}
The config is read when the resource starts: restart it for changes to apply.
Setting part of a table is fine
In the main tables, factory values are filled in key by key. This only changes the masts and leaves the rest of Config.Cobertura intact:
Config.Cobertura = {
Enabled = true,
Repetidores = {
{ x = 383.0005, y = -2106.0876, z = 17.2751, h = 309.3065 },
},
}
It works like this for FeatureFlags, Cobertura, Redes, Servicios, Podcast, Licencias, Emote, Taxi, Correo, Galeria, Subida, Garaje, Anuncios, EcoVerificado and Security (including Security.Face and Security.Fingerprint).
Warning
For any other table, if you set it, yours replaces the factory one entirely. Copy the whole table from defaults.lua and change only what you need.
What you can edit
The resource is protected with Cfx.re escrow. These stay readable and editable:
config.luaand theconfig/folderlocales/(translations)sql/schema.sql(for reference)ox_inventory_items.lua
The rest of the code can't be modified. If you need a change or a new feature, open a ticket on our Discord.
Configuration pages
- External systems: bank, cards, garages, keys, CAD, inventory.
- Catalogues: Services, Taxi, Podcast, driving school and Mail public bodies.
- Coverage, plans and wifi.
- Media and video calls: FiveManage, your own storage and TURN.
- Feature flags: turning apps on and off.
- One phone per item and Cloud.
- Config reference: the full list.
- Translations.