Vivum Billing
Configuration
Learn how to configure Vivum Billing to your liking.
Locales
To add a locale, first create a copy of the en.json file inside vivum-billing/locales/en.json and name it appropriately, for example vivum-billing/locales/sv.json.
After that, change all English locale strings to your target language (in this case Swedish). Players will see Swedish if they have selected Swedish as their language on the phone. If you are running standalone mode, the locale will only be used if you change Config.Locale to sv.
Fallback Locale (default locale)
If you want to change the locale the resource falls back to if no other appropriate locale is found, this is how:
vivum-billing/config.lua
Config.Locale = "sv"
Grades
If you want to add grades to societies that can manage invoices, here is how you do so:
If you want all grades to have permission to manage invoices, you can just specify "all"
vivum-billing/config.lua
Config.Grades = { police = { "boss", "lieutenant" } cardealer = { "all" } }
App Name
If you want to change the name of the Billing app:
vivum-billing/config.lua
Config.OverrideAppName = "New Billing"
Society Blacklist
If you want to prevent a certain society from sending or receiving invoices:
vivum-billing/config.lua
Config.Blacklisted = { police = { send = true, receive = false } -- Police society will only be able to send, not receive invoices. }
Commission
If you want to add a commission rate (default rate is 0%) for, for example, car dealerships and other similar professions:
vivum-billing/config.lua
Config.Commission = { cardealer = { recruit = 0.05, -- Recruits will receive 5% in commission novice = 0.15, -- Novices will receive 15% in commission experienced = 0.3, -- Experienced will receive 30% in commission boss = 0.0 -- Boss will receive 0% } }
Default Keybind
If you are running in standalone mode and want to change the default keybind to open the billing app, here is how:
vivum-billing/config.lua
Config.DefaultKeybind = "f8" -- Changed from "f7" (default) to "f8"