OverflowOverflow
Billing

Configuration

Everything lives in config/config.lua. Translations live in config/locale/.

Core

SettingValuesNotes
Config.Localeen, esLoads the matching file from config/locale/
Config.Frameworkqb, esx, standaloneNo auto detection
Config.Phonenil, lb-phone, sd-phone, qs-smartphone, standalonenil binds to the first phone running
Config.AutoSQLtrue, falseCreates the tables on start
Config.Debugtrue, falseConsole logging

App

Config.App is the entry the phone lists in its app store.

SettingNotes
idInternal app id
nameDisplay name. Empty falls back to Billing
descriptionShown in the app store
developerAuthor credit
autoDownloadInstalls the app for every player

qs-smartphone also reads category, age, appStoreOnly, sizeMb and extraDescription. sd-phone reads sizeMb and fixBlur.

fixBlur

sd-phone only. It rewrites the app root font size, which fights the high DPI scaling of the UI. Turn it on only if text looks blurry inside the phone.

Standalone

With no phone installed, or with Config.Phone set to standalone, the app opens in its own window.

SettingNotes
Config.UI.disableStandaloneRemoves the command and the keybind
Config.UI.keybindDefaults to f7. The command is /ledger
Config.Blur.enabledBlurs the screen behind the window
Config.Blur.durationFade time in milliseconds

Job settings

Grades, blacklist and commission are not config. Open the app as an admin, pick a job and edit them in game. They are stored in ledger_job_settings.

OptionEffect
Can send invoicesJob appears as a sender
Can receive invoicesJob can be billed
Can issueGrade can send invoices for the company
Can manageGrade can pay or cancel on behalf of the company
CommissionPercentage of each payment paid to the employee who issued it

Translations

Copy config/locale/en.lua, rename it to your language and point Config.Locale at it. Each file guards itself on the first line, so keep it matching the name:

config/locale/es.lua
if (Config.Locale ~= "es") then return end

Every string in the app comes from that file, including the money format, month names and the 12 or 24 hour clock.

On this page