np_metal-scanner v0.1.0 ​
Security screening for roleplay. Venues such as a courthouse, an arena, an airport terminal, a nightclub door or a prison visitation hall get walk-through gates and pole scanners, hand wands with a pat-down, X-ray belts, divest trays, lockers with claim tickets, evidence cases, shifts and a watchlist. A gate reads everything with metal that a player carries, whether it is a GTA loadout weapon or an inventory item, and shows the operator a body map with signal strengths. It never shows names. Names only appear after a pat-down.
It uses the Nimbus UI look of np_hud and np_phone: grey glass, glossy squircle tiles, and colour only where it means something. It runs on es_extended, qbx_core or qb-core, or standalone, with np_inventory, ox_inventory, qb-inventory or the plain ESX inventory (or none). es_extended with np_inventory is the first target. It requires oxmysql, np_npchandler (NPCs) and np_prophandler 1.1.0+ (props). Staff rights are np_admin permission nodes, with a fallback to framework admin groups and an identifier list; roleplay rights are framework jobs plus duty. No ACE anywhere.

| Findings sheet | Hand wand sweep |
|---|---|
![]() |
![]() |
| Divest tray | X-ray belt |
![]() |
![]() |
| Security console | Placement mode |
![]() |
![]() |
| Evidence case | Ground detector |
![]() |
![]() |
The screenshots come from the browser mock at 1920 × 1080 (see Development). The UI ships in English and German.
At a glance ​
- A gate says where and how much, never what. The server builds a metal profile of the visitor (weapons in the loadout and in the hand, inventory items, body metal such as belt buckles and implants) and turns it into seven body zones with signals from 0 to 100. See Gates & poles.
- Everything with metal counts, wherever it lives. GTA loadout weapons and inventory items merge into one profile; a weapon is counted once. Everyday metal (phone, keys) stays below the alarm threshold unless it piles up. See Configuration → Metal.
- Operators decide. Wave through, Secondary screening (hand wand), Walk through again, or Hold & call backup. Unstaffed gates tell the venue's staff, or the police.
- Hand wand with consent. The target complies, refuses or runs. The operator sweeps zone by zone, front and back, and the signal rises with the tone. A pat-down reveals one zone. See Hand wand & pat-down.
- Findings sheet. Every revealed item is returned, held in a locker (claim ticket) or seized as evidence (a case for the police). See Findings, lockers & evidence.
- Divest tray and X-ray belt. Visitors put items on a tray before the gate; the belt draws a colour image and flags dense metal. Lead pouches hide the largest item from gates and wands. See Divest tray & X-ray belt.
- Venues with rules. Weapons
none/permit/allowed, banned classes, schedule, random secondary screening, silent alarm, locker fee, bypass and operator jobs. Staff place scanners in game. See Venues & placement. - Console, shifts and watchlist. A control-room screen with live stats and log, clock-in with pay per interval and per screened visitor, bans and BOLOs. See Console, shifts & watchlist.
- Ground detector. A separate feature: a hand-held detector for beach finds with a dig timing minigame and a buyer. See Ground detector.
- np_phone apps. Checkpoint for security and police (shift, cases, watchlist, stats) and Permits for everyone (cards, permits, locker tickets). See Checkpoint & Permits apps.
How it works ​
- Server-authoritative. Profiles, readings, zones, venues, scanners, sessions, seizures and returns live on the server. The client draws and asks through RPCs; the server checks the caller's permission, job, duty and position, rate-limits and decides.
- Sessions. A person being screened (gate pass, wand sweep, random secondary, X-ray) is one session that keeps
the profile. Gate, wand and pat-down agree on the same items and zones because the zone placement is seeded per
player and stays the same for
Config.Detection.saltMinutes. - Venues and scanners. Default venues are written once on the first start; afterwards the database is the truth.
Scanner types are
gate,pole,xray,wandkitandlocker. - Siblings are optional. Every np_* resource it talks to has a built-in fallback, except np_npchandler and np_prophandler, which are required. See Bridges & integrations.
Quick example ​
-- server: refuse a gate pass at the courthouse after hours, and react to every alarm
exports['np_metal-scanner']:registerHook('beforeScan', function(ctx)
if ctx.venue == 'courthouse' and GlobalState.courtClosed then
return false, 'closed'
end
end)
AddEventHandler('np_metal-scanner:alarm', function(e)
print(('alarm at %s (%s), zones %s, strongest class %s'):format(e.scanner, e.venue, json.encode(e.zones), tostring(e.class)))
end)
-- a plain reading of a player, with no gate involved
local reading = exports['np_metal-scanner']:GetReading(source)
Next steps ​
- Installation · Configuration · Items
- Gates & poles · Hand wand & pat-down · Findings, lockers & evidence · Divest tray & X-ray belt · Console, shifts & watchlist · Venues & placement · Ground detector · Checkpoint & Permits apps
- Exports & hooks · Events, commands & keys · Bridges & integrations · NUI contract







