Configuration


Config Preview: v1.0

Config = {}

Config.Webhooks = {
    enabled = true,
    url = ""
}

-- Consult https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures/blips | https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures/blips_mp
Config.CreateBlipIcon = "blip_ambient_quartermaster" -- BLIP TO CREATE BANK ACCOUNT
Config.AccessBlipIcon = "BLIP_PROC_BANK" -- BLIP TO ACCESS BANK

Config.TransferFee = 0.05 -- 5% taken when player transfers money to another account somewhere

Config.Bankcard = { -- WORKS BUT STILL A TEST FEATURE! IF PEOPLE LOOSE CARD CANT MAKE NEW ONE YET!
    enabled = true, -- True/false for need of card
    item = "acid" -- Name of the item
}

Config.BankAudit = { -- Players with specific job can open menu
    coords = vector3(1018.51, -1778.07, 47.58), -- localizaรงรฃo do prompt da auditoria
    jobs = {
        ["government"] = true,
    }
}

Config.MaintenanceFee = { -- Happens every start of new month
    enabled = true, -- true or false if you don't want maintenanceFee
    threshold = 10000,      -- will only charge if account balance is higher than threshold
    feePercent = 0.10,     -- 10% of the balance
    minFee = 10            -- minimum fee
}

Config.Fees = {
    deposit = {
        enabled = true, -- true or false to enable fee
        percent = 0.2,   -- 2% tax depositing
        min = 1           -- minimum charged | Example 2% of $10 = $0.20 is less than 1, so min charged will be 1
    },
    withdraw = {
        enabled = false, -- true or false to enable fee
        percent = 0.01, -- 1% tax withdrawing
        min = 1  -- minimum charged | Example 1% of $10 = $0.10 is less than 1, so min charged will be 1
    }
}

Config.AccountOpening = {
    cost = 25, -- Cost to open an account
    locals = {
        vector3(-3668.83, -2624.92, -13.59),-- Coords to open an account
        vector3(1291.02, -1298.64, 77.06),
        vector3(2646.92, -1286.62, 52.26),
        vector3(-810.48, -1277.52, 43.64),
    },
}

Config.SafeWeight = 5000 -- How much weight should be safe be able to handle?

-- NPC model used in bank locations
Config.BankPedModel = "s_m_m_bankclerk_01"

Config.UsableBanks = {
    valentine = { -- Use the same defined in Config.AccountOpening
        coords = vector3(-308.11, 773.97, 118.7), -- COords to interact with bank
        heading =  14.86, -- heading for location | npcs will take this rotation
        label = "Valentine Bank", -- Name of the blip for the bank
        schedule = { open = 8, close = 17 }, -- Ingame schedulo
    },
    blackwater = {
        coords = vector3(-813.79, -1275.4, 43.64),
        heading = 173.02,
        label = "Blackwater Bank",
        schedule = false,
    },
    armadillo = {
        coords = vector3(-3664.08, -2628.65, -13.59),
        heading = 5.53,
        label = "Armadillo Bank",
        schedule = { open = 8, close = 17 },
    },
    rhodes = {
        coords = vector3(1292.94, -1304.71, 77.04),
        heading = 318.24,
        label = "Rhodes Bank",
        schedule = { open = 8, close = 17 },
    },
    saintsdenis = {
        coords = vector3(2645.09, -1294.57, 52.25),
        heading = 28.33,
        label = "Saints Denis Bank",
        schedule = false,
    },
}

-- PERSONAL SAFE
Config.SafeName = "Safe in" -- Name for the inventory of personal safe in menu
Config.AcceptWeapons = true -- True/False to accept weapons in the safe

-- BANK MENU LOCALES
Config.Balance = "๐Ÿ’ฐ Balance: $"
Config.GoldBalance = "๐Ÿช™ Gold Balance: "
Config.Deposit = "๐Ÿ’ฐ Deposit Money"
Config.Withdraw = "๐Ÿฆ Withdraw Money"
Config.DepositGold = "๐Ÿช™ Deposit Gold"
Config.WithdrawGold = "๐Ÿต Withdraw Gold"
Config.Transfer = "๐Ÿ“ค Transfer Money"
Config.PersonalSafe = "๐Ÿ”’ Personal Safe"
Config.Shedule1 = "Bank's closed. Open between "
Config.Schedule2 = "am and "
Config.Schedule3 = "pm."

Config.Owner = "Owner: "
Config.Bank = " Banco: "

Config.UseBank = "Access Account"
Config.Fee = " (Fee: $"
Config.Deposited = "Deposited $"
Config.Recieved = "Recieved $"
Config.Withdrew = "Withdrew $"
Config.Transfered = "Transferred $"
Config.ChooseDestination = "Choose Destination Bank"
Config.To= " to "

Config.GoldWithdraw = "Withdrew "
Config.GoldDeposit = "Deposited "
Config.Gold = " Gold"

Config.DestinationAccountNF = "Destination account not found."
Config.FailedDeduct = "Failed to deduct from origin account."
Config.CantUse = ". Cant use this bank"
Config.CardNeed = "You need a bank card to access acount!"
Config.FrozenAccount1 = "Bank account in "
Config.FrozenAccount2 = " is frozen. Contact a Government agent."
Config.Bank = "Bank: "
Config.FrozenAccount = "Frozen account. Can't use this bank."
Config.GoldQuantity = "Gold Quantity"
Config.ValueWithdraw = "Amount to withdraw"
Config.Amount = "Amount"
Config.BalanceIn = "Balance in"
Config.BalanceMoney = ": $"
Config.TransferToBank = "Amount to transfer"
Config.AccountIn = "Account at "

Config.NoPermissionWithdraw = "No permission to withdraw from central funds."
Config.NoPermission = "No permission to search accounts"
Config.NoAccountFound = "No account found with that name."
Config.AccessDenied = "Access denied to bank audit."
Config.AccountNotFoundIn = "Account not found in "
Config.AccountNotFound = "Account not found."
Config.InvalidName = "Invalid Name"
Config.InvalidAmount = "Invalid amount."
Config.ErrorCreating = "Error creating account."
Config.ErrorDepositing = "Error depositing."
Config.ErrorWithdrawing = "Error withdrawing"
Config.ErrorTranfering = "Error transferring"
Config.Error = "Error updating account or getting character!"

Config.InsufficientBalancaWithFee = "Insufficient balance (with fee)."
Config.InsufficientMoneyCreating = "Insufficient money to create account."
Config.InsufficientMoneyAccount = "Insufficient money in account."
Config.InsufficientMoneyAfterFee = "Insufficient money after fee."
Config.InsufficientTransferAfterFee = "Insufficient funds for transfer (with fee)."
Config.InsuficientTresury = "Insuficient Tresury: $"
Config.InsufficientGold = "Insufficient Gold"

-- BANK AUDIT MENU LOCALES
Config.BankManager = "Manage Bank Accounts"
Config.BankAuditText = "๐Ÿ“‹ Bank Audit"
Config.AccountActions = "โš™ Account Actions"
Config.SeeAccounts = "๐Ÿ“‹ Search bank accounts"
Config.Search = "๐Ÿ”Ž Search Account"
Config.CentralTotal = "๐Ÿ› Central Total: $"
Config.GlobalTotal = "๐Ÿ’ฐ Global Total: $"
Config.AccountState = "โ„น Account State"
Config.WithdrawMoneyTresury = "๐Ÿฆ Withdraw"

Config.BankAccounts = "Bank Accounts"
Config.SearchTool = "Searching tool"
Config.FreezeAccount = "โ„ Freeze Account"
Config.UnfreezeAccount = "โœ… Unfreeze Account"
Config.Frozen = "โ„ FROZEN"
Config.Normal = "Active Account"
Config.AlreadyFrozen = "Account is already frozen"
Config.AlreadyActive = "Account is already active"
Config.NameSearch = "Name to Search"
Config.BankTresury = " from bank tresury."
Config.AccountFrozen = "Account frozen with success."
Config.AccountUnfrozen = "Account unfrozen with success."

-- CREATE ACCOUNT MENU
Config.CreateBank = "Create Bank Account"
Config.AccountSuccess = "Account created with success!"
Config.BankLocation = "Choose the bank"
Config.ConfirmOpen = "Confirm Opening"
Config.OpenAccountIn = "Open account in "
Config.ConfirmAccount = "โœ… Yes, open account!"
Config.RejectAccount = "โŒ Cancel"
Config.OpenedAccount = "You already have an opened account in this bank!"

Last updated