Real Wallet / Configuration
General
Lua
Config.Version = '1.0.0'
Config.Debug = false
Config.UpdateCheck = true
Config.Locale = 'en'
Config.Framework = 'auto'
Config.CheckCommand = 'walletcheck'
| Setting | Default | What it does |
|---|---|---|
Config.Version |
'1.0.0' |
The version, shown by /walletcheck and on start. Leave it as it is. |
Config.Debug |
false |
true prints extra [ryan-wallet] lines in the server console (for example a card face that could not be built). |
Config.UpdateCheck |
true |
The update status in the server console on start. false turns it off. See Updating. |
Config.Locale |
'en' |
The players' language: a code from locales/, or 'auto'. See Languages. |
Config.Framework |
'auto' |
'auto' picks the first one running: qbx_core, qb-core, es_extended, else 'standalone'. Set it by name if you run more than one. |
Config.CheckCommand |
'walletcheck' |
The name of the check command. false = no command. See Commands. |
Framework
With 'auto', the framework is picked the first time it is needed, so Real Wallet still finds a framework that
started after it. The console line [ryan-wallet] framework: <name> shows which one is used. If none is running, the
wallet runs standalone and warns about a framework that is installed but not started.
| Framework | Character id (owns a card) | Name, birth date, sex on your own card |
|---|---|---|
qbx_core |
citizenid |
From charinfo |
qb-core |
citizenid |
From charinfo |
es_extended |
identifier |
firstName, lastName, dateofbirth, sex, height |
standalone |
The player's license | Their FiveM name |
Another framework: add an entry in bridge/framework/server.lua. See Framework bridge.
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.