⚙️Configuration

Configuration guide of Advanced Banking System.

Welcome to the STG Bank Script configuration guide! This script provides advanced banking features for your FiveM server, including realistic banking interactions, IBAN management, and donation systems. Below is a detailed breakdown of all configurable parameters and features.


General Configuration

Parameter

Description

Example Value

Config.Framework

Determines which framework to use: auto, esx, or qb.

"auto"

Config.Language

Sets the default language for in-game messages (supports en, de, fr, sp, pt, jp).

"en"

Config.Target

Enables or disables target functionality for ATM or bank interactions.

false

Config.serverName

Name of your server, displayed in the banking UI.

"STG Bank"

Config.ibanNumber

Length of the IBAN numbers generated for users.

6

Config.oldQbManagement

Enables compatibility with the old QB Management script.

false

Config.ibanCost

Cost for users to change their IBAN number.

3000


Donation System Configuration

Parameter

Description

Example

Config.Donate

A table defining donation options for specific jobs. Includes job name, title, description, and price.

See below.

Example Donation Table:

Config.Donate = {
    [1] = {
        job = "police",
        title = "Support the Police Department!",
        description = "Help the police department improve public safety and ensure a safer community by supporting their operations.",
        price = 5000
    },
    [2] = {
        job = "ambulance",
        title = "Support the Medical Services!",
        description = "Contribute to the ambulance team to help them provide better medical care and save lives more effectively.",
        price = 10000
    }
}

ATM and Bank Prop Configuration

Parameter

Description

Example Values

Config.ATMProps

List of prop names for ATMs that users can interact with.

'prop_atm_03', 'prop_fleeca_atm'

Config.BankProps

List of prop names for bank displays.

'v_corp_fleeca_display'


Localization

The script supports multiple languages. Below is an example of English ("en") localization:


Framework Detection

The script automatically detects and integrates with your server's framework using the following function:


Last updated