Skip to content
Documentation
Jobs & Systems1Billing System

r_billing Installation

Install r_billing: download it from the Cfx.re Portal, ensure it after ox_lib, oxmysql and QBCore, ESX or QBox. Tables are created on first start.

Prerequisites

Installation Steps

Download & Extract

  1. Download R_Billing from your Cfx.re Portal
  2. Extract the folder into your server's resources directory
  3. Make sure the folder is named exactly r_billing
  • r_billing
    • client
      • cl_custom.luanotifications
    • localesen, fi
      • server
        • sv_custom.luabanking and Discord webhook
      • config.luaevery setting
      • fxmanifest.lua
      • sql.sqlonly if you import it yourself

    Add to server.cfg

    Put it after ox_lib, oxmysql and your framework:

    ensure ox_lib
    ensure oxmysql
    ensure qbx_core
    ensure r_billing

    Language (optional, default English):

    setr ox:locale "en"   # en | fi

    Restart & connect

    Restart your server, or run this in the server console. The tables are created on first start.

    Server console
    refresh
    ensure r_billing
    Started resource r_billing
    [r_billing] database tables ready.

    Connect and press F7 or type /bills.

    Upgrading from v1

    Keep R.AutoInsertSQL = true for the first start. The old tables are converted and the console prints upgraded the v1 tables. Open bills, history and company templates carry over. The config is new, so set it up from the fresh config.lua.

    Updates

    The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the folder, keeping your config.lua, client/cl_custom.lua, server/sv_custom.lua and locales.

    Keep the folder name r_billing and don't change author in fxmanifest.lua, or the update check stops.

    Next Steps