Skip to content

Staff tools ​

Staff rights are the np_admin nodes np_billiards.admin and np_billiards.referee (no ACE). Bar owners and referees manage their own bar from the owner tablet without any node.

/pooladmin ​

The command name is Config.Admin.command. Referees may use calibrate and void; cue and drinks need np_billiards.admin. Without a sub-command it toggles the calibration overlay. The server console can run void, cue and drinks.

Command What
/pooladmin calibrate Toggles the calibration overlay
/pooladmin void [table] Voids the match at a table (default: the nearest within 15 m). See Voiding
/pooladmin cue <id> [cueId] Gives a player (server id, default yourself) a cue item, default ridgeback
/pooladmin drinks <id> <n> Sets a player's drinks (0–8, for 30 minutes) to test the sway

Calibration ​

With the overlay on, every table within 10 m gets its cushions and jaws drawn as white lines on the felt, the pockets as red spheres and the head string in blue. Use it when you add a table model or a spawned table looks off, and tune center, ballZ, length, width, cornerCut and sideGap in Config.Models. The cue prop on the aim line is tuned with Config.CueProp.

Voiding ​

A void ends the match without a winner: every stake and bet is refunded, no ELO moves, a voided cup match is called again. It is written to the np_admin audit log and, with np_discord, to the log channel. Referees also void and pause from the owner tablet.

np_admin actions ​

With np_admin running, these appear in its staff tools under Resource tools:

Action Node What
Void pool match (np_billiards.void) np_billiards.referee or np_billiards.admin Table id, or empty for the nearest table
Give pool cue (np_billiards.givecue) np_billiards.admin Pick a player and a cue model
Set pool drinks (np_billiards.drinks) np_billiards.admin Pick a player and 0–8 drinks
Close / open pool table (np_billiards.closetable) np_billiards.admin Pick a table and minutes (0 = open again, up to 1,440)

See np_admin → Staff tools.

Logs and alerts ​

np_billiards writes to the np_admin audit log (npAdmin.log) and, with np_discord, to the channel Config.DiscordChannel (billiards):

Action When
start A two-player match starts (table, mode, players, stake)
end / void A match ends or is voided (winner, score, stake, payout, reason)
house An owner changes the house rules
cup A cup ends (winner, prize)
flag An odd result on a big bet pool: also a staff alert (npAdmin.notifyStaff)