Skip to content

Items & the cue case ​

Everybody can play with the house cue and the house chalk on the rail: no item is needed to play. Owned gear is optional and trades stats instead of just being better: a heavy cue breaks harder but spins less, a light one spins and steadies but hits softer. The item names are in Config.Items.

Cue case

The items ​

Item Label Weight Stack Use Metadata
pool_cue Pool cue 600 g no Opens the cue case { cue, serial, wear (tip, 0–100), racks, wins, runs, wrap?, maker?, number?, tip?, label }
pool_shaft Cue shaft 300 g no Opens the cue case { shaft, serial, wear }
pool_chalk Cue chalk 20 g no Chalks your tip (like H at the table) { chalk, uses }
pool_glove Bridge glove 40 g yes Opens the cue case none
pool_tip_kit Re-tip kit 30 g yes Opens the cue case (re-tip a cue there) none

A cue item without metadata gets a serial, Config.DefaultOwnedCue (ridgeback) and a fresh tip the first time np_billiards reads it. Shops, a cue maker job or staff hand out cues with GiveCue, which writes the full metadata.

np_inventory ​

Nothing to do. np_billiards registers the five items at start (and again when np_inventory restarts) with exports.np_inventory:RegisterItem, in the category misc, each with server = { export = 'np_billiards.useItem' }, so using an item calls np_billiards. See np_inventory → Items.

lua
exports.np_inventory:RegisterItem('pool_cue', { label = 'Pool cue', weight = 600, stack = false, close = true,
  icon = 'wand-magic-sparkles', tint = 'neutral', description = 'Your own cue. Equip it in the cue case.',
  category = 'misc', server = { export = 'np_billiards.useItem' } })

While you play or have a pool menu open, np_billiards sets np_inventory busy, so the inventory can't be opened over the table.

ox_inventory ​

Add the items to ox_inventory/data/items.lua:

lua
['pool_cue'] = { label = 'Pool cue', weight = 600, stack = false, server = { export = 'np_billiards.useItem' } },
['pool_shaft'] = { label = 'Cue shaft', weight = 300, stack = false, server = { export = 'np_billiards.useItem' } },
['pool_chalk'] = { label = 'Cue chalk', weight = 20, stack = false, server = { export = 'np_billiards.useItem' } },
['pool_glove'] = { label = 'Bridge glove', weight = 40, server = { export = 'np_billiards.useItem' } },
['pool_tip_kit'] = { label = 'Re-tip kit', weight = 30, server = { export = 'np_billiards.useItem' } },

qb-inventory and the ESX inventory ​

  • qb-inventory: add the five items to your shared items. They become usable through QBCore.Functions.CreateUseableItem; the item info holds the metadata.
  • ESX inventory: import sql/items_esx.sql (INSERT IGNORE into items). The items are made usable with ESX.RegisterUsableItem. The ESX inventory has no metadata, so every owned pool_cue there is Config.DefaultOwnedCue and tip wear isn't stored on the item.
  • No inventory: everybody plays with the house cue and house chalk.

Cues ​

Stats are 0–100. power sets the break speed, touch the spin you can put on the ball (and fewer miscues), steady the stroke error, guide the length of the aim stubs on tables that show them, deflection less squirt on side spin.

Id Label Tier Power Touch Steady Guide Deflection Price
house House cue · Bar rack · 19 oz house 50 45 45 50 30 free
ridgeback Ridgeback 58" · Maple butt · 19 oz pro 60 62 58 55 40 $850
ivory_swan Ivory Swan 59" · Lighter, longer · 18 oz signature 52 76 75 63 42 $4,200
thunder Thunder 21 · Heavy hitter · 21 oz pro 78 48 52 50 35 $1,100
jump_break Jump-break J2 · Break / jump cue break 92 30 40 40 25 $600

jump_break is a break cue (breakOnly): equip it as your break cue and it is used for the break only. The price is informational; np_billiards sells nothing itself.

Part Options
Shafts maple (Maple 13 mm · soft feel, touch +4, $120), carbon (Carbon LD 12.4 · low deflection +30, touch −2, $900)
Tips soft (grip 85, fewer miscues, wears fastest), medium (layered, the default), hard (phenolic, more miscues, wears slowest). The tip comes from the cue's tip metadata
Chalk house (on the rail, quality 0.6), blue_diamond (−40 % miscue, quality 1.0, 12 applications, $25)
Glove bridge (smoother stroke, steady +5, $40)
Wraps slate, walnut, navy, oxblood, felt, ivory; carbon unlocks with Table runner, gold_leaf with Golden break

The cue case ​

/cuecase, or using a cue, shaft, glove or tip kit, opens the case. It shows the equipped kit with its stats and the deltas to the house cue, every owned piece with its history (serial, tip wear, racks, wins, break and runs), the wraps and three presets:

Preset What
League night Your loadout; ranked tables cap it to the league limit
Bar banger The house cue, whatever you own
Hustle Plays your owned cue; the loadout marks it as disguised (looks like a house cue)

You can't change the loadout during a match.

  • League cap. On ranked tables the stat total (power + touch + steady + guide + deflection) is capped at Config.LeagueCap (330): stats above 50 are scaled down until the total fits. The HUD marks a cue that isn't league legal.
  • Chalk. Every spin shot drains grip, a miscue drains more. H at the table (or using a pool_chalk) brings it back to the chalk's quality; owned chalk uses one application and is removed when it is empty.
  • Tip wear. Owned cues lose tip with every shot (more with spin, by tip type). Below 40 % the cue miscues more. A pool_tip_kit re-tips a cue to 100 % in the case.
  • History. At the end of a match the cue's tip wear, racks, wins and break-and-runs are written back into the item.