Configuration Reference
Reference for the current oxide-banking config layout and defaults.
Reference for the current oxide-banking config layout.
Config File Map
| File | Purpose |
|---|---|
config/config.lua | General settings, interaction, security, time, cards, business, transfer delays, and debug settings |
config/accounts.lua | Tier definitions, account types, and savings goal categories |
config/loans.lua | Loan products, approval rules, late fees, collections, and vehicle-loan display types |
config/interest.lua | Interest, investments, market simulation, and certificates of deposit |
config/fees.lua | Transaction, maintenance, overdraft, service, and waiver rules |
General Settings
File: config/config.lua
| Setting | Type | Default | Description |
|---|---|---|---|
Config.Debug | boolean | false | Enables debug logging |
Config.UseTarget | boolean | true | Uses o-link.target for bank/ATM interaction; false uses proximity fallback |
Config.ATMModels | string[] | 4 models | ATM object models used for detection and targeting |
Config.BankLocations | table[] | 8 locations | Bank interaction points and labels |
Config.Blips.enabled | boolean | true | Enables map blips for configured banks |
Security
File: config/config.lua
| Setting | Default | Description |
|---|---|---|
Config.Security.Enable2FA | true | Enables 2FA flow for large transactions |
Config.Security.TwoFactorThreshold | 50000 | Amount that starts requiring 2FA |
Config.Security.MaxLoginAttempts | 3 | Failed PIN attempts before lockout |
Config.Security.LockoutDuration | 300 | Lockout duration in seconds |
Config.Security.EnableFraudDetection | true | Enables suspicious transaction checks |
Config.Security.SuspiciousTransactionAmount | 100000 | Threshold for suspicious transaction flagging |
Config.Security.EnableTransactionAlerts | true | Enables bank transaction notifications |
Config.Security.AlertThreshold | 10000 | Minimum amount for alerts |
Scheduling And Time
File: config/config.lua
Config.TimeSettings still controls banking intervals and payout timing, but the current scheduler code uses server wall-clock time and an internal day counter rather than reading an external weather-sync resource.
| Setting | Default | Description |
|---|---|---|
Config.TimeSettings.UseInGameTime | true | Retained config flag; current scheduler still falls back to server time behavior |
Config.TimeSettings.InterestPayoutHour | 0 | Hour used for daily task processing |
Config.TimeSettings.SavingsInterestInterval | 1 | Savings interest interval in banking days |
Config.TimeSettings.LoanPaymentInterval | 7 | Loan processing interval in banking days |
Config.TimeSettings.InvestmentUpdateInterval | 1 | Market update interval |
Config.TimeSettings.RecurringPaymentCheck | 1 | Recurring payment processing interval |
Config.TimeSettings.DaysPerYear | 28 | Banking calendar length used for calculations |
Cards, Notifications, Logging, And Transfers
File: config/config.lua
Cards
Config.Cards controls card order cost, replacement cost, PIN length, per-account limits, shared-account card permissions, and cleanup retention for cancelled cards.
Important defaults:
OrderCost = 50ReplacementCost = 100PinLength = 4MaxCardsPerAccount = 2ShowAccountBalanceInSelector = falseAllowPINChange = trueAllowFreeze = trueAllowCancel = trueAllowReplacement = true
Notifications
| Setting | Default |
|---|---|
Config.Notifications.Position | top-right |
Config.Notifications.Duration | 5000 |
Logging
| Setting | Default | Description |
|---|---|---|
Config.Logging.Enabled | true | Enables banking logging |
Config.Logging.WebhookName | 'banking' | Webhook channel/key used by the logging layer |
Config.Logging.LogTransactions | true | Transaction log toggle |
Config.Logging.LogLoans | true | Loan log toggle |
Config.Logging.LogAccountChanges | true | Account/admin change log toggle |
Config.Logging.LogSecurityEvents | true | Security log toggle |
Transfer delays and transaction caps
Config.TransferDelays controls delayed transfer behavior for internal, external, and wire transfers.
Config.Transactions caps individual deposit, withdrawal, and transfer amounts at 10000000 by default.
Account Tiers And Account Types
File: config/accounts.lua
Tiers
Config.AccountTiers currently ships with:
basicpremiumbusiness
Each tier defines:
- label and description
- monthly fee
- interest rate
- max shared accounts
- daily withdraw and transfer limits
- feature flags
- requirement rules
Account types
Config.AccountTypes currently includes:
checkingsavingssharedjobgang
These values are part of the data model and work identically across all supported frameworks (QBCore, QBX, ESX) through o-link.
Savings goals
Config.SavingsGoals defines max goals per player and the category list used by the UI.
Loans
File: config/loans.lua
Core loan settings
| Setting | Default |
|---|---|
Config.Loans.enabled | true |
Config.Loans.maxActiveLoans | 3 |
Config.Loans.dailyLoanLimit | 2 |
Config.Loans.gracePeriod | 1 |
Config.Loans.minimumInterestRate | 0.01 |
Built-in products
Current built-in products:
personalbusinessemergency
Each product defines:
- amount range
- base interest rate
- term options
- eligibility requirements
- collateral usage
- optional instant-approval behavior
External loan types
Config.Loans.externalTypes is used for externally managed loan records that still appear in the bank UI. The shipped config includes vehicle.
Approval, late fees, and collections
The file also defines:
Config.CreditScoreRateModifiersConfig.LatePaymentConfig.Loans.collectionsConfig.LoanApproval
Notable collection settings include wage garnishment, asset seizure support, and optional collateral handler resource configuration.
Interest, Investments, And CDs
File: config/interest.lua
Interest
Config.Interest controls:
- enabled state
- simple vs compound calculation
- daily vs weekly payout frequency
- minimum balance
- max payout cap
- account-type-specific rate overrides
Investments
Built-in investment products:
savings_bondstock_indexcrypto_fundreal_estate
The file also defines dividend defaults and market simulation behavior such as trend duration, crash chance, boom chance, and momentum carry-over.
Certificates of deposit
Config.CertificatesOfDeposit.products currently includes:
cd_shortcd_mediumcd_long
Each product defines term length, interest rate, min/max deposit, and early withdrawal penalty.
Fees
File: config/fees.lua
Config.Fees covers:
- ATM fees
- wire transfer fees
- external transfer fees
- expedited transfer fees
- maintenance fees
- service fees
- overdraft fees
- insufficient funds fees
- late payment fees
Config.FeeWaivers defines waiver rules for premium tier, business tier, and high-balance customers.
Config.FeeDescriptions provides UI-facing labels for fee keys.
Debug Settings
File: config/config.lua
| Setting | Default | Description |
|---|---|---|
Config.DebugSettings.AllowInProduction | false | Prevents debug mode from being enabled casually on production servers |
Config.DebugSettings.AutoTimeoutMinutes | 30 | Auto-disables debug mode after the configured duration |
Config.DebugSettings.RequireGodMode | false | Reserved setting; not used by the current implementation |