Skip to content

LenixDev/ox_banking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

526 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox_banking

A complete banking system for FiveM for the ox_core framework implementing shared accounts, logs, invoices and more.

🔗 Links

  • 💾 Download
    • Download the latest release directly.
  • 📽️ Showcase
    • Watch the video showcase of the resource.
  • 🛤️ Cfx.re
    • See our release thread for discussions or other information.

✨ Features

Dashboard

  • Weekly overview of income and expenses on the default account
  • Overview of recent transactions and invoices

Accounts

  • Ability to create new accounts
  • Shared and group accounts
  • Withdraw, deposit and transfer balance from an acccount
  • See unpaid, paid and sent invoices for an account
  • Overview of account balanace changes with logs
  • Abiltiy to convert personal accounts to shared
  • Access management for shared accounts
  • Access for group accounts based on group grades

ATM

  • Withdraw only ATMs placed throughout the map

📦 Dependencies

Installation

  1. Install bun if you don't have it
npm i -g bun # the last `npm` command you'll ever need

or visit

  1. Download the packages
bun i
  1. Build the script
bun run build
  1. If you want to use precise account roles, you can add to each grade a role, otherwise the system with use isboss to determine whether to give the grade a viewer role or a manager role or a custom fallback based on your preferenses on the server config variables e.g.
  • shared/jobs.lua
['police'] = {
  label = 'LSPD',
  type = 'leo',
  defaultDuty = true,
  offDutyPay = false,
  grades = {
    [0] = {
      name = 'Recruit',
      payment = 50,
      accountRole = 'viewer'
    },
    [1] = {
      name = 'Officer',
      payment = 75,
      accountRole = 'viewer'
    },
    [2] = {
      name = 'Sergeant',
      payment = 100,
      accountRole = 'contributor'
    },
    [3] = {
      name = 'Lieutenant',
      payment = 125,
      accountRole = 'manager'
    },
    [4] = {
      name = 'Chief',
      isboss = true,
      bankAuth = true,
      payment = 150,
      accountRole = 'owner'
    },
  },
},
  • server.cfg
set ox_banking:fallback_roles "manager,viewer"

Acknowledge

About

Banking system for Qbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.7%
  • JavaScript 1.8%
  • Other 1.5%