Skip to content
JbXSmMods
Home Packages Ayrshire RP × JBXSM Mods — Official Partnership About Custom work Docs Basket (0) Log in Join our Discord
Home / Docs

Docs

Installation, configuration and troubleshooting for every script we sell. Most problems have a fix on this page. If yours doesn't, open a ticket and include your server console output.

Before you open a ticket

Four checks solve most of what comes through support. Run them first:

  1. Read your server console from the start of the resource. The first error is the real one; everything after it is usually a consequence.
  2. Confirm the resource actually started. Check the ensure line is in your server.cfg and the console says it started rather than erroring out.
  3. Check dependencies start first. A script that needs ox_lib or oxmysql fails confusingly if they load after it.
  4. Test on a clean-ish server if you can. If it works there, the conflict is with another resource — and knowing that saves hours.
What to include

Your console output, the script version, your framework, and what you were doing when it broke. With those four things most issues get answered in one reply instead of five.

JBxSM Pool

Multiplayer 8-ball pool — deterministic physics, full 8-ball rules, spectator mode and host-authoritative networking. Current version 0.8.5. Works with Qbox, QBCore, ESX or fully standalone.

Installing Pool

  1. Drop the jbxsm_pool folder into your resources/ directory.
  2. Add ensure jbxsm_pool to your server.cfg.
  3. Restart and watch the console — the resource reports its version on start.
  4. Join the server and run /tableconfig to place your first table.
Load order

If you use oxmysql, ensure it before jbxsm_pool. Resources start in the order they're listed, and a database call made before the driver is ready fails silently.

Setting up a table

Look at the table and run /tableconfig. You get an orbit camera and click-to-place controls:

ControlDoes
Left mousePlace a point
RUndo the last point
Right mouseLook around
ScrollZoom
FRecentre the camera
EnterNext step / save
BackspaceCancel

You walk through pockets, rack position and cue ball spots. On save the profile applies immediately — no restart — and a paste-able config snippet is printed to console if you'd rather keep the setup in a file.

With no configuration at all the script guesses a profile from the table prop's bounding box. That's usually playable but rarely exact, so configure properly before players get near it.

Pool troubleshooting

The resource doesn't start

Check server.cfg contains ensure jbxsm_pool and the folder name matches exactly — it's case-sensitive on Linux servers.

A manifest error usually means your server artifacts are older than the resource expects. Update them.

Balls fall through the table, or the cue ball sits in mid-air

The table profile doesn't match the prop. Run /tableconfig and place the pockets and cue ball spot by hand instead of relying on the bounding-box guess.

Nothing happens when I aim at the table

Usually the table has no profile. Run /tableconfig while looking at it.

If you run a targeting resource (ox_target, qb-target), check it isn't consuming the interaction first.

Profiles reset after a restart

oxmysql isn't reachable, so saves fall back to local storage. Check it's ensured before jbxsm_pool and your connection string is right.

Government Dashboard

Government audit and finance system — real-time society account monitoring, transaction auditing and suspicious balance detection. Requires ox_lib. Works with qbx_core, qb-core or es_extended, auto-detected.

Installing the Dashboard

  1. Drop the folder into resources/.
  2. Add it to server.cfg after your framework and ox_lib.
  3. Restart, then run /govsetup in game.
Use the setup wizard first

/govsetup verifies installation and framework compatibility automatically. Run it before editing config by hand — it usually tells you exactly what's wrong.

Dashboard configuration

Three things you must set:

  • Government job name — whose members can open the dashboard.
  • Government account — the society account it audits.
  • Office coordinates — where the dashboard can be opened.

Banking resources are auto-detected. Supported:

  • Renewed-Banking
  • qb-banking
  • qb-management
  • okokBanking
  • esx_addonaccount

Access is controlled two ways, and both apply: job-based access for members of the configured government job, and ACE permissions via command.govdash for admins. Unauthorised players cannot read account data or perform transfers — that's enforced server-side, not by hiding the UI.

Ships with English (en.json) and Danish (da.json) in the locales folder. Copy either file and translate the values to add a language; the keys are what matter.

Dashboard troubleshooting

Dashboard won't open

Run /govsetup first — it checks the usual causes.

If it opens for admins but not for the government job, the job name in config doesn't match your framework's job name exactly. Check spelling and case.

Balances show as zero or blank

The banking resource wasn't detected, or the configured society account doesn't exist. Check the account name against your banking resource's own list.

Transfers fail silently

Usually a banking resource detected for reads but not writes. Watch the server console at the moment you attempt the transfer — the error is logged there.

ox_lib errors on start

ox_lib is ensured after the dashboard, or not at all. It must start first.

Everything shows in the wrong language

Check which locale is selected in config and that the file exists in locales/ with valid JSON. A trailing comma silently breaks the whole file.

JBxSM Loans

Housing loan system for Qbox — player loan applications with configurable down payment, term length and interest, automatic weekly repayments taken from the player's bank account, admin oversight panels, society-funded lending and Discord webhook logging.

Docs in progress

This section is thinner than the others while we finish writing it up. If something isn't covered, open a ticket and we'll answer — and then add it here.

Installing Loans

  1. Drop the folder into resources/.
  2. Add it to server.cfg after your framework and database resources.
  3. Restart and check the console for the schema install line.

Loans configuration

The settings a server owner will want first:

  • Down payment — deposit required to take a loan.
  • Term length — how long a loan runs.
  • Interest — the rate applied.
  • Society account — where loan money comes from and repayments go.
  • Discord webhook — for approval and default logging.

Loans troubleshooting

The resource doesn't start

Check the folder name matches the ensure line exactly — case-sensitive on Linux. Read the first console error, not the last.

Loans don't persist across restarts

The database isn't reachable. Confirm your database resource is ensured before this one and that the tables were created on first boot.

Repayments aren't being taken

Check the society account and the player's bank account are both resolvable by your banking resource, and watch the console when a payment is due.

Licensing

One licence per server, with lifetime updates. The Lua is escrow-protected; configuration files are open and meant to be edited. If you need behaviour the config doesn't expose, that's a custom work conversation rather than a support ticket.

Having problems with our scripts?

Open a ticket and we'll get you sorted — include your server console output and we'll be faster still.