Config = {}
-- ox | qb | qbx | esx_legacy | esx_finals_v1 | auto (ox → qb → esx)
Config.Framework = 'auto'
Config.Debug = false
-- QB/QBX: one-time legacy migration (qb_banking / renewed_banking). Backups in backupSubdir.
Config.BankingMigration = {
enabled = false,
skipCitizenWithFinalsIndex = true,
autoOnFirstInstall = false,
autoMigrateSource = 'renewed_banking',
backupSubdir = 'install_backups',
}
Config.Locale = 'en'
-- Collection alerts: auto = lb-phone → NPWD → 17mov → gk. CustomServerSend replaces provider.
Config.Phone = {
provider = 'auto',
lbResource = 'lb-phone',
npwdResource = 'npwd',
npwdResources = nil,
npwdCollectionSenderNumber = '555-BANK',
mov17Resource = '17mov_Phone',
gksResource = 'gksphone',
CustomServerSend = nil,
}
-- Themes: client/core/theme_presets.lua. Override or add keys in CustomThemePresets.
Config.UiTheme = 'yellow'
Config.CustomThemePresets = {
-- yellow = { primary = '#ffe066', primaryRgb = '255, 224, 102' },
}
Config.BankBrand = 'Finals Bank'
Config.CurrencySymbol = '$'
Config.NearbyShareMemberRadius = 2.5
-- Job company accounts. QB/QBX: jobBalanceStorage. See GitBook for society rules per framework.
Config.SocietyBanking = {
enabled = true,
accountLabelFormat = '{jobLabel}',
jobBalanceStorage = 'finals_banking',
esx = {
extraBossGradeNames = nil,
useLegacyGradeRules = false,
minGrade = 4,
bossGradeName = 'boss',
},
ox = {
extraBossGradeNames = nil,
unemployedNames = { unemployed = true },
},
}
Config.BillingInvoices = {
enabled = true,
resource = 'finals_billingsystem',
maxList = 5,
esxCitizenKey = 'citizenid',
}
Config.Banks = {
vector4(149.3335, -1042.0449, 29.3680 - 0.99, 337.3499),
vector4(247.4281, 224.9573, 106.2874 - 0.99, 146.7205),
}
Config.spawnNpc = true
Config.BankNpc = {
model = 'cs_bankman',
scenario = 'WORLD_HUMAN_CLIPBOARD',
}
-- ox_lib | ox_target | qb_target
Config.Interaction = 'ox_lib'
Config.BankTarget = {
icon = 'fas fa-building-columns',
label = nil,
distance = nil,
}
Config.PointDistance = 2.6
Config.Marker = false
Config.EmiAdvanceClerk = {
enabled = true,
model = 's_m_m_highsec_01',
scenario = 'WORLD_HUMAN_CLIPBOARD',
spawnNpc = true,
coords = vector4(242.44, 226.77, 106.29 - 0.99, 153.89),
}
Config.Blip = {
enabled = true,
sprite = 207,
colour = 2,
scale = 0.65,
label = nil,
}
Config.BankerOfficeBlip = {
enabled = true,
coords = vector3(245.6981, 220.2523, 106.2869),
sprite = 475,
colour = 5,
scale = 0.65,
label = nil,
}
-- ox_inventory item; register export finals_banking.useDebitCardItem
Config.DebitCard = {
item = 'bankcard_fleeca',
orderPrice = 0,
}
-- Bot token: setr finals_banking_discord_bot_token (see GitBook)
Config.DiscordExport = {
enabled = true,
cooldownSeconds = 86400,
}
Config.Atm = {
enabled = true,
models = {
'prop_atm_01',
'prop_atm_02',
'prop_atm_03',
'prop_fleeca_atm',
'hei_prop_hei_atm_01',
'vw_prop_casino_atm_01',
},
targetIcon = 'fas fa-credit-card',
targetLabel = nil,
targetDistance = 3.25,
sessionSeconds = 600,
}