Skip to content

Divest tray & X-ray belt ​

The visitor side of screening. Walking up to a screened gate shows the venue's rules once and offers a divest tray. Items on the tray leave the pockets, go through the X-ray belt and come back after a clear gate pass.

Divest tray

The tray ​

  1. Walk up to a gate or pole. Within Config.Tray.bannerRadius (7 m) of the front of a gate of an open venue a banner shows once per venue: the weapon rule (no weapons, permit required, weapons allowed) and whether lockers are available.
  2. Open the tray. At the prompt in front of the gate (promptOffset, 2 m) press the interact key (E, or the target option). The tray screen shows what is in the pockets and what is on the tray.
  3. Move items. Click an item to put it on the tray or take it back. A tray holds capacity (6) stacks. The server takes the item out of the pockets (a loadout weapon through the framework) and keeps it in custody: a temporary stash (np_inventory, ox_inventory) or a record in scanner_trays (other inventories), so a tray survives a disconnect and is returned at the next login. Names in Config.Tray.exclude cannot go on the tray.
  4. Metal pips. Each of your own items shows 0 to 3 pips for how much metal it carries, so the visitor can guess what will ring. Switch them off with Config.Tray.pips = false for hardcore RP. Zones and sides are never shown.
  5. Declare a weapon. See below.
  6. Submit. The tray goes onto the nearest working X-ray belt of the venue and the screen closes. Without a belt (or with an empty tray) it counts as clear.
  7. Walk through the gate. A clear pass with a clear bag returns the tray at once. If the bag was flagged, the tray waits for the belt operator, up to holdSeconds (15 minutes), and is then returned anyway.

Leaving is safe: closing the screen before the walk-through, walking farther than leaveDistance (25 m) from the gate, or waiting longer than openSeconds returns the tray and counts as leaving the queue (the queueLeft event and a log entry). After a pass, an unreturned tray comes back after returnSeconds (2 minutes) at the latest. The average waiting time feeds the console stats.

A visitor with an open tray can only use the gate they opened it at, until it is returned.

Declaring a weapon ​

A firearm or blade can be declared in two ways: keep (allowed only if the venue's rules let it in: not a banned class, weapons not none, and a valid permit where the venue asks for one) or hand it to a locker (needs lockers at the venue and the fee). The panel shows the visitor's permit and the venue rule. A declared item is recorded on the session and fires declared; the beforeDeclare hook may veto.

The X-ray belt ​

A scanner of type xray draws every bag as a colour X-ray image. The class colours the shapes:

Class Colour Meaning
Organic orange No metal: food, drink, clothing, medical, money, documents; also np_drugs' organic items
Mixed green A little metal, below metalMass (25)
Metal blue Metal of mass 25 and above
Impenetrable black Shielded: a lead pouch. Always flagged

X-ray belt

  • Silhouettes come from a small library by item name (Config.Xray.silhouettes) and category: gun, knife, phone, keys, bottle, coins, box, generic. Positions and sizes are seeded, so the same bag always looks the same.
  • Automatic flags. A box is drawn around impenetrable masses, firearms, blades and metal at or above flagMass (40), with a hint (impenetrable, firearm, dense metal). A flagged bag fires xrayFlagged and appears in the Checkpoint app under Needs you.
  • No names. The belt shows shapes only. Search bag is the explicit decision that reveals the contents, and only to the operator who asks for it; live console updates never carry them.
  • Clear bag marks the bag cleared; a tray belonging to it is then released when the owner passes the gate.

Operators decide from anywhere inside the venue area (Config.Xray.operatorInVenue, a control room), or within operatorDistance (6 m) of the belt otherwise. The owner of the bag must still be near the gate. A belt remembers keep (8) bags and forgets a bag after bagSeconds (30 minutes).

Carried bags ​

A visitor can also put a carried bag on the belt: a container item (backpack, bag, duffel_bag, suitcase, briefcase, or any item of category bag) within visitorDistance (3 m). The server reads the contents from the inventory (np_inventory's container inventory or the item's items metadata) and never trusts client shapes.

Hiding and smuggling ​

  • A lead pouch hides the largest metal item from the gate and the wand, but the belt shows it as an impenetrable black mass that gets flagged. A good smuggler decides whether to face the gate or the belt.
  • A ceramic knife has no metal mass at all: it rings nowhere. Only a full search finds it.
  • See Items and Config.Smuggling.