DEVCORE SCRIPTS
  • Resources
    • REALISTIC SMOKING
      • Installation
      • Configs
    • BANKING SYSTEM
      • Installation
      • Configs
    • REALISTIC NEEDS
      • Installation
      • Exports
        • GetAlcoholValue
      • Configs
    • MILEAGE METER
      • Installation
      • Config
    • WATER-GUN
      • Installation
      • Config
    • MULTIJOB
      • Installation
      • Config
    • NPC DRUG SALES
  • Links
    • Store
    • Discord
Powered by GitBook
On this page
  1. Resources
  2. BANKING SYSTEM

Configs

Config = {}
-- DISCORD : https://discord.gg/zcG9KQj3sa
-- STORE : https://store.devcore.cz/

Config.Locale = 'en' -- Set your locale here -  en/cs/sk/de/fr/es/it/pl
Config.UI = {
	Language = {
        defaultLanguage = "en",  -- Default language for the UI
        availableLanguages = {"en", "cs", "sk", "de", "fr", "es", "it", "pl"}  -- Supported languages
    }
}
Config.KickMessage = 'You have been kicked for attempting to abuse the banking system. If you think this is an error, please contact the server management.'

Config.OpenBanking = 'ox_target' -- ox_target: ox_target, okok_textui: okok textui, ox_lib: ox_lib textui, esx: esx textui, cd: cd draw text ui
Config.Notify = 'ox' -- okok: okok notify, ox_lib: ox notify, esx: esx notification, cd: cd notifications, mythic: mythic notifications, pnotify: pNotify

Config.debug = false

Config.TransactionLabels = {
    ['account_transfer'] = "Account Transfer to: ",
    ['account_transfer_2'] = "Transfer from Account: ",
    ['account_deposit'] = 'Deposit',
    ['account_withdraw'] = 'Withdrawal',
    ['savings_deposit'] = 'Transfer to Savings',
    ['savings_withdraw'] = 'Transfer from Savings',
    ['loan_transaction'] = 'Loan'
}

Config.Loans = {
    MaxActiveLoans = 1,
    MinAmount = 10000, -- Minimum loan amount
    MaxAmount = 100000, -- Maximum loan amount
    minTerm = 5, -- Minimum loan term in days
    maxTerm = 20, -- Maximum loan term in days
    InterestRate = 0.05, -- Interest rate for loans (5%)
    PaymentInterval = 1 * 24 * 60 * 60, -- 1 day (in seconds) for daily payments
    DefaultGracePeriod = 3, -- Grace period in days before next payment is due again if player can't pay
	MinPlaytime = 14, -- Minimum playtime in days before player can take a loan
}

Config.MoneyItem = 'cash' -- Item name for cash

Config.ATMProps = {
	`prop_atm_01`,
	`prop_atm_02`,
	`prop_atm_03`,
	`prop_fleeca_atm`,
	`v_5_b_atm1`,
	`v_5_b_atm2`,
	`fm_ltd_atm_sign_01`
}

Config.BankZones = {
	{ -- Legion Square
		pos = vec3(149.02, -1041.17, 29.37),
		h = 340.0,
		length = 0.8,
		width = 6.0,
		minZ = 28.37,
		maxZ = 31.07
	},

	{ -- Del Perro
		pos = vec3(-1212.92, -331.6, 37.79),
		h = 27.0,
		length = 0.8,
		width = 6.0,
		minZ = 36.79,
		maxZ = 39.49
	},

	{ -- Burton
		pos = vec3(-351.78, -50.36, 49.04),
		h = 341.0,
		length = 0.8,
		width = 6.0,
		minZ = 48.04,
		maxZ = 50.74
	},

	{ -- Hawick
		pos = vec3(313.37, -279.53, 54.17),
		h = 340.0,
		length = 0.8,
		width = 6.0,
		minZ = 53.17,
		maxZ = 55.87
	},

	{ -- Highway
		pos = vec3(-2961.91, 482.27, 15.7),
		h = 87.0,
		length = 0.8,
		width = 6.0,
		minZ = 14.7,
		maxZ = 17.4
	},

	{ -- Sandy Shores
		pos = vec3(1175.7, 2707.51, 38.09),
		h = 0.0,
		length = 0.8,
		width = 6.0,
		minZ = 37.09,
		maxZ = 39.79
	},

	{ -- Paleto Bay
		pos = vec3(-111.54, 6469.59, 31.62),
		h = 315.0,
		length = 0.8,
		width = 4.4,
		minZ = 30.62,
		maxZ = 33.12
	}
}


Config.Jobs = {
    ['ambulance'] = 'society_ambulance',
    ['police'] = 'society_police',
}

SConfig = {}
SConfig.DiscordLogs = {
    Enabled = true,
    Logs = {
        ["transaction"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Transaction Log",
            Description = "A banking transaction has occurred."
        },
        ["banking_account_creation_basic"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Account Creation Log",
            Description = "A new banking account has been created."
        },
        ["banking_account_creation_savings"] ={
            Webhook = "",
            Color = 3447003,
            Title = "Savings Account Creation Log",
            Description = "A new savings banking account has been created."
        },
        ["banking_account_creation_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Account Creation Failure Log",
            Description = "An attempt to create a banking account has failed."
        },
        ["banking_card_creation"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card Creation Log",
            Description = "A new banking card has been created."
        },
        ["banking_card_creation_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card Creation Failure Log",
            Description = "An attempt to create a banking card has failed."
        },
        ["card_limit_change"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card Limit Change Log",
            Description = "The limit on a banking card has been changed."
        },
        ["card_limit_change_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card Limit Change Failure Log",
            Description = "An attempt to change the limit on a banking card has failed."
        },
        ["card_pin_change"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card PIN Change Log",
            Description = "The PIN on a banking card has been changed."
        },
        ["card_pin_change_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Card PIN Change Failure Log",
            Description = "An attempt to change the PIN on a banking card has failed."
        },
        ["banking_loan_payment"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Loan Payment Log",
            Description = "A loan payment has been made."
        },
        ["banking_loan_fully_paid"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Loan Fully Paid Log",
            Description = "A banking loan has been fully paid off."
        },
        ["banking_loan_payment_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Loan Payment Failure Log",
            Description = "An attempt to make a loan payment has failed."
        },
        ["banking_loan_creation"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Loan Creation Log",
            Description = "A new banking loan has been created."
        },
        ["banking_loan_creation_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Loan Creation Failure Log",
            Description = "An attempt to create a banking loan has failed."
        },
        ["banking_society_withdrawal"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Withdrawal Log",
            Description = "A society withdrawal has been made."
        },
        ["banking_society_withdrawal_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Withdrawal Failure Log",
            Description = "An attempt to withdraw from a society has failed."
        },
        ["banking_society_deposit"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Deposit Log",
            Description = "A society deposit has been made."
        },
        ["banking_society_deposit_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Deposit Failure Log",
            Description = "An attempt to deposit into a society has failed."
        },
        ["banking_society_transfer"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Transfer Log",
            Description = "A society transfer has occurred."
        },
        ["banking_society_transfer_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Transfer Failure Log",
            Description = "An attempt to transfer funds within a society has failed."
        },
        ["banking_society_savings_deposit"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Savings Deposit Log",
            Description = "A deposit has been made into a society's savings account."
        },
        ["banking_society_savings_deposit_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Savings Deposit Failure Log",
            Description = "An attempt to deposit into a society's savings account has failed."
        },
        ["banking_society_savings_withdrawal"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Society Savings Withdrawal Log",
            Description = "A withdrawal has been made from a society's savings account."
        },
        ["banking_society_savings_withdrawal_fail"] = {
             Webhook = "",
            Color = 3447003,
            Title = "Society Savings Withdrawal Failure Log",
            Description = "An attempt to withdraw from a society's savings account has failed."
        },
        ["banking_savings_withdrawal"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Savings Withdrawal Log",
            Description = "A withdrawal has been made from a savings account."
        },
        ["banking_savings_withdrawal_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Savings Withdrawal Failure Log",
            Description = "An attempt to withdraw from a savings account has failed."
        },
        ["banking_savings_deposit"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Savings Deposit Log",
            Description = "A deposit has been made into a savings account."
        },
        ["banking_savings_deposit_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Savings Deposit Failure Log",
            Description = "An attempt to deposit into a savings account has failed."
        },
        ["banking_withdrawal"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Withdrawal Log",
            Description = "A withdrawal has been made from a banking account."
        },
        ["banking_withdrawal_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Withdrawal Failure Log",
            Description = "An attempt to withdraw from a banking account has failed."
        },
        ["banking_deposit"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Deposit Log",
            Description = "A deposit has been made into a banking account."
        },
        ["banking_deposit_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Deposit Failure Log",
            Description = "An attempt to deposit into a banking account has failed."
        },
        ["banking_transfer"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Transfer Log",
            Description = "A transfer has occurred between banking accounts."
        },
        ["banking_transfer_fail"] = {
            Webhook = "",
            Color = 3447003,
            Title = "Transfer Failure Log",
            Description = "An attempt to transfer funds between banking accounts has failed."
        }
    }
}

PreviousInstallationNextREALISTIC NEEDS

Last updated 22 hours ago