Skip to content

CodexisPhantom/hype_banking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💸 Enhanced Renewed Banking

A custom-enhanced version of Renewed Banking Revamp and Renewed Banking, featuring a complete backend rewrite, UI improvements, and new features like invoice sending/canceling and LB-phone integration.

✨ What's New

  • 🔧 Backend Overhaul
    Completely refactored backend for improved performance, maintainability, and extensibility.

  • 🧾 Invoice Management (Basic)
    Players can now send and cancel invoices directly from the banking interface.

  • 🧩 Invoices Tab
    A dedicated section in the bank UI to view and manage incoming invoices.

  • 📱 Phone Banking Support (LB-Phone)
    Integrated bank app designed specifically for LB-phone users.

  • 🎨 UI Enhancements
    Refined and modernized interface for an improved user experience across both PC and mobile.

  • 📱 Added interact support Check this out amazing interact.

🛠 Requirements

  • ESX or QBCore framework
  • oxmysql
  • LB-phone (optional, for mobile app support)

📦 Server Exports

Account Management

  • GetAllAccounts: Get all bank accounts in the system

    local accounts = exports['hype_banking']:GetAllAccounts()
  • CreateAccount: Create a new bank account

    local account = exports['hype_banking']:CreateAccount({
        id = 'unique_id',
        name = 'Account Name',
        type = 'org',
        frozen = false,
        amount = 0,
        transactions = {},
        auth = { [identifier] = true },
        creator = identifier
    })
  • GetAccount: Get a specific account by ID

    local account = exports['hype_banking']:GetAccount('account_id')

Invoice Management

  • CreateInvoice: Create a new invoice

    local invoice = exports['hype_banking']:CreateInvoice({
        player = source,
        target = target_id,
        item = 'Service',
        amount = 1000,
        note = 'Payment for services',
        autopay = false
    })
  • GetPlayerInvoices: Get all invoices for a specific player

    local invoices = exports['hype_banking']:GetPlayerInvoices(identifier)
  • GetPlayerPendingInvoices: Get pending invoices for a specific player

    local pendingInvoices = exports['hype_banking']:GetPlayerPendingInvoices(identifier)
  • GetInvoiceByJob: Get all invoices for a specific job

    local jobInvoices = exports['hype_banking']:GetInvoiceByJob('job_name')
  • PayInvoice: Pay a specific invoice

    local result = exports['hype_banking']:PayInvoice(source, 'invoice_id')
  • PayAllPendingInvoices: Pay all pending invoices for a player

    local result = exports['hype_banking']:PayAllPendingInvoices(source)
  • CancelInvoice: Cancel a specific invoice

    local result = exports['hype_banking']:CancelInvoice(source, 'invoice_id')

Transaction Management

  • CreateTransaction: Create a new transaction record
    local transaction = exports['hype_banking']:CreateTransaction({
        account = 'account_id',
        title = 'Transaction Title',
        amount = 1000,
        message = 'Transaction description',
        issuer = 'Sender Name',
        receiver = 'Receiver Name',
        trans_type = 'transfer'
    })

🙏 Credits

Huge thanks to both teams for their solid foundations and continued community contributions.

📃 License

This resource builds on open contributions and is shared for educational and community server use. Please respect the licenses of the original authors when modifying or redistributing.

About

Banking and Invoices Resource for FiveM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Svelte 61.8%
  • Lua 31.8%
  • TypeScript 4.5%
  • CSS 1.2%
  • Other 0.7%