Pubs, boards & the owner panel ​
A pub is an area with boards, an owner, house rules and a balance. The pubs ship in shared/config_pubs.lua (see
Configuration); owner data (rules, balance, revenue, wear, nights, records) is stored in
np_darts_pubs.
| Pub | Area | Boards | Shipped |
|---|---|---|---|
yellowjack The Yellow Jack |
Sandy Shores | The map's cabinet, house regular | enabled, blip |
lostmc Lost MC Clubhouse |
East Vinewood | The map's cabinet (clubhouse clips), house regular | enabled |
tequilala Tequi-la-la |
West Vinewood | The map's cabinet | enabled |
clubhouse1, clubhouse2 MC Clubhouse |
MC clubhouse interiors | The interiors' cabinets (clubhouse clips) | disabled: need the interior loaded |
henhouse Hen House |
Paleto Bay | none in the map | disabled until a board is placed |
bahamamamas Bahama Mamas |
Del Perro | none in the map | disabled until a board is placed |
Owners ​
A player owns a pub when one of these is true:
- their job is the pub's
owner.jobatowner.gradeor higher, or they are the job's boss; - one of their identifiers is in
owner.identifiers; - they hold the np_admin node
np_darts.owner(every pub).
Shipped: the Yellow Jack belongs to the job yellowjack from grade 2, the Lost MC clubhouse to lostmc from grade 3,
Tequi-la-la to tequilala from grade 2. On standalone servers there are no jobs: use identifiers.
/darts owner (or OpenOwnerPanel(pub?)) opens the panel of your pub, also away from the board.
The owner panel ​

| Section | What |
|---|---|
| Boards | Every board with its status, the match on it, the queue, the rental, and the sisal condition (100 = new) |
| Revenue | The last 7 days: rental, rake, drinks sold during matches, cup cuts, rented hours |
| House rules | See below |
| Nights | League nights, party nights, charity cups: post them to Oche |
| Leagues and cups | Create, start and cancel (see Leagues, cups & challenges) |
| Staff | Online players with the pub's job, grade and duty |
| Balance | Rake and rental collect here; withdraw it to your bank |
Sisal wear. Every dart wears the bed it lands in; the worst bed sets the board's condition. Worn sisal makes
bounce-outs more likely. Rotate turns the sisal one segment for free (the board is in maintenance for a minute);
New sisal resets the wear for the pub's sisalPrice ($240), paid from the balance first.
Drinks revenue. np_payments food, shop and other payments made by a player in a match (or watching one) at the pub
count as darts revenue. This is only the owner's statistic: the money stays with the bar. Other bar scripts report
sales with AddPubRevenue.
House rules ​
| Rule | Description |
|---|---|
rental |
Price per rental period (Config.Rental.minutes); 0 = free |
rake |
% of the pot the pub keeps, capped by Config.Stakes.rakeMax (10) |
stakeCap |
Highest stake at this pub, capped by Config.Stakes.max |
handicapAbove |
Stakes above this force the handicap by average (off = none) |
free180Pint |
180 = a pint on the house: a pintItem (beer) to the thrower |
happyHour |
Happy hour on league night, shown to players |
pintItem, sisalPrice, boardPrice, maxBoards |
From Config.HouseRules: the pint item, new sisal ($240), a placed board ($1,800), boards per pub (4) |
The owner's changes are stored on top of the pub's config rules; Config.HouseRules fills in the rest.
Placing boards ​
Owners place boards at their pub (up to maxBoards), staff with np_darts.place anywhere and for free:
/darts place <pub> or Add a board in the owner panel.
| Key | Action |
|---|---|
| Look at a wall | A ghost prop_dart_bd_cab_01 follows it, the bull at regulation height (1.73 m over the floor under you) |
| Mouse wheel | Move it off / onto the wall |
← / → |
Turn it |
E |
Place |
Backspace |
Cancel |
The server checks rights, the distance (6 m from you), that it is inside the pub (owners), the board limit and the
price (boardPrice, from the balance first). Placed boards are stored in np_darts_boards, spawned for everyone
(as an np_prophandler streamed prop) and a config line is printed to the server
console:
[np_darts] board placed: { id = 'henhouse:p12345678', label = 'Board 1', coords = vector3(…), heading = 90.0000, spawn = true },
Paste it into config_pubs.lua to ship the board with the config. Placed boards can be removed from the panel; the
map's own boards can't.
The chalkboard ​

On the wall next to each pub's first board np_darts draws a chalkboard (a DUI of web/dist/chalk.html) within
Config.Chalkboard.drawDistance (9 m): live matches, the queue (chalk your name), house records (the highest
checkout, 180s this week) and the next posted nights. Its position is Config.Chalkboard.offset in the board's frame.
Staff tools ​
With np_admin running, these are np_admin actions under Resource tools (node
np_darts.admin), logged to the audit log:
| Action | What |
|---|---|
| End darts match (refund stakes) | Target a player: their match ends, every stake is refunded |
| Give dart set | Target a player, pick a set |
| Free every dartboard | Ends every match with refunds, clears lobbies and queues |
/darts end ends the match on the nearest board (15 m) with refunds. Staff actions, payouts, refunds and board
placements are also logged to np_discord (Log('np_darts', …)).