Venues & placement ​
A venue is a place that screens people: a courthouse, an arena, a terminal, a club door, a visitation hall, or an event another resource registers. It owns the rules, a staff list, its scanners, its lockers and its log.

Venues ​
- The database is the truth. The five default venues of
Config.Venues(Courthouse, Maze Bank Arena, Bahama Mamas, Bolingbroke visitation, LSIA Terminal) are written intoscanner_venuesandscanner_scannersonce, on the first start with an empty table. Afterwards edit them in game. Their coordinates are starting points: check them against your map. - Area. A venue covers a circle (
data.coords,data.radius). Lockers use it for leaving the venue, the console for who is inside, the Permits app for screened tonight near you, andIsVenueScreened(coords)for other resources. - Rules. Weapon rule, banned classes, permit document, lockers and fee, random secondary, silent alarm, chime, threshold, sensitivity, schedule, bypass jobs and operator jobs. The full list with defaults is under Configuration → Venues.
- Schedule.
{ days, from, to }in the server's local time zone, with 1 as Monday. A window that crosses midnight (22:00to04:00) belongs to the day it started. Outside it the venue is closed: gates ignore passes, trays and belts refuse, and the Permits app does not list it. - Operators. Who may operate a venue: an operator job on duty (
operatorJobs), someone on the venue's staff list (an identifier added in placement mode, who passes without a job), ornp_metal-scanner.override. Bypass jobs pass gates unalarmed (logged). - Other resources create and update venues with the
RegisterVenueexport, for example a temporary event.data.temporaryanddata.expiresmark such a venue in its public view; removal stays the registering resource's job.
Scanners ​
| Type | Does |
|---|---|
gate |
Walk-through arch, see Gates & poles |
pole |
Slim scanner for queues and doors, same pass |
xray |
Belt for trays and carried bags, see X-ray belt |
wandkit |
A wand post: Secondary screening uses it, no item needed |
locker |
A locker point: collect the ticket, open the lost-and-found |
A scanner has an id, a label, coordinates, a heading, a trigger box (width, depth along the heading, height), an
optional prop model and settings. Its runtime state is idle, clear, alarm or offline. The props are
np_prophandler client-only streamed props, frozen and spawned only within
Config.Props.streamDistance. Each type has a list of models and the first one the game build knows is used, so a missing model falls
back instead of leaving the post invisible.
Placement mode ​
Staff place and edit scanners in game. Open it with /scannerplace, or from np_admin's staff tools (Place scanners,
Configure venues). Rights are the nodes np_metal-scanner.place (add new scanners) and np_metal-scanner.configure
(edit and delete scanners, edit venues).
-
The panel lists the venues and the scanners within 80 m (
Config.Placement.nearbyDistance). -
Pick a type and a venue, set the label, the sensitivity and the threshold, whether it scans loadout weapons and inventory items, sound, lights and a silent alarm, and optionally a prop model name.
-
Move the ghost. The panel hides and the world takes over. A translucent copy of the prop follows where you aim. An outline of the trigger box is drawn in the world.
Input Action Hold left mouse Move the ghost to where the camera points (snapped to the ground) Mouse wheel Rotate by 1° (hold Shiftfor 15°)ZToggle box editing: left / right changes the width, up / down the depth, Shiftwith up / down the heightTabBack to the panel -
Save. The server validates everything again: coordinates within
maxDistance(25 m) of the staff member, a box between 0.2 and 10 m, a model name made of letters, digits and underscores, the scanner cap (maxScanners, 256). The scanner appears for everyone at once. -
Test. Test reading runs a reading of your own metal against that scanner's settings, so you can tune the threshold without a test dummy.
-
Venues. The venue editor creates a venue at your position (radius 40 m) or edits the rules of an existing one: weapons, permit document, lockers, fee, random secondary, silent alarm, chime, sensitivity, threshold, schedule, bypass, operator and banned lists.
Every create, update and delete is written to the screening log and, with np_admin, to its audit log (category
np_metal-scanner, action placement_created, placement_updated, placement_deleted, placement_venue,
placement_test).
Removal ​
Deleting a venue removes its scanners too. Deleting a scanner closes the sessions that were waiting on it. Changes reach
every client as a delta (scanners, venues), so nobody has to reconnect.