Configuration ​
Everything is in shared/config.lua and shared/config/, one file per area. All of them are shared (client and
server), so nothing secret goes in there. Money is whole dollars, distances are metres, durations are named in the
option (Ms, Seconds, Hours, Days). Numbers that appear in the screenshots are defaults, not rules.
With np_admin running, the main tunables are also on its Resource settings page under Metal scanner (see Editable in np_admin). Venues and scanners are stored in the database and edited in game, see Venues & placement.
| File | What |
|---|---|
config.lua |
Core: framework, inventory, locale, siblings, jobs, duty, staff without np_admin, rate limit, keys, distances, log |
metal.lua |
Metal model: classes, detection defaults, every GTA weapon, component, category and item metal, body sources |
venues.lua |
Scanner types and defaults, venue rule defaults, the five default venues |
sessions.lua |
Screening sessions |
gate.lua |
Gate and pole runtime: trigger, lamp, chime, operator panel, keys |
wand.lua |
Hand wand: jobs, sweep, consent, battery, tone, keys |
findings.lua |
Findings sheet and full search |
lockers.lua |
Venue lockers and claim tickets |
cases.lua |
Cases and evidence |
tray.lua |
Divest tray |
xray.lua |
X-ray belt |
console.lua |
Security console and gate calibration |
shifts.lua |
Shifts and wages |
watchlist.lua |
Bans and BOLOs |
placement.lua, props.lua |
Placement limits; scanner and detector props |
ground.lua |
Ground detector: areas, finds, buyer, evidence |
smuggling.lua |
Lead pouch, ceramic knife, optional polymer pistol |
phone.lua |
The np_phone apps |
siblings.lua |
Options for the np_* siblings, permits |
Core (config.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Framework |
'auto' |
'esx', 'qbx', 'qb', 'standalone', or auto-detect (es_extended → qbx_core → qb-core) |
Config.Inventory |
'auto' |
'np', 'ox', 'qb', 'esx', 'none', or auto-detect (np_inventory → ox_inventory → qb-inventory → ESX) |
Config.Locale |
'en' |
'en' or 'de', for server texts and the NUI |
Config.Debug |
false |
Debug log |
Config.AutoCreateTables |
true |
Create the tables on start |
Config.Integrations |
every sibling 'auto' |
'auto' = used while started, false = never (the fallback runs). Keys: np_inventory, np_hud, np_admin, ox_target, qb-target and every sibling of siblings.lua |
Config.Jobs |
security, police (police, sheriff), ems (ambulance) |
Job groups. A list of job names (any grade) or { job = minimum grade }. Venue rules name these groups or plain job names |
Config.RequireDuty |
true |
Operators must be on duty (framework duty flag; the shifts module may add its own clock-in) |
Config.AdminGroups |
{ 'admin', 'superadmin', 'god' } |
Staff without np_admin: framework admin groups |
Config.Admins |
{} |
Staff without np_admin: FiveM identifiers ('license:…', 'discord:…', 'fivem:…') |
Config.StandaloneJobs |
{} |
Standalone only: ['license:…'] = { job = 'security', grade = 1 } |
Config.RateLimit |
{ perSecond = 10, burst = 20, maxPayload = 8192 } |
Token bucket per player over every RPC |
Config.Keys |
{ interact = 'E', cancel = 'X' } |
The own prompt's interact key and the cancel key for progress bars |
Config.Distance |
{ interact = 2.0, player = 3.0, operator = 12.0 } |
Interaction distance, player to player, operator to scanner |
Config.ImagePath |
'nui://np_inventory/web/images/' |
Where item images come from |
Config.AskTimeout |
2500 |
Milliseconds the server waits for a client answer (the weapons report and other asks) |
Config.Log |
see below | The screening log |
Config.Log: keepDays = 30 (older rows are removed at start), webhookConvar = 'discord_webhook_metalscanner' and
webhookKinds (alarm, seized, tamper, override, watchlist, case; '^prefix' patterns allowed). Every
decision goes to scanner_log, to np_admin's audit log (category np_metal-scanner) and, without np_admin, to the
Discord webhook of that convar.
Metal (metal.lua) ​
The model of what carries how much metal. mass is a score from 0 to 100 (a holstered pistol is about 70, a phone about
10). A zone's reading is the sum of mass × class factor × sensitivity / 50, plus noise and drift. A mass of 0 (or
false) is invisible to every scanner: the deliberate smuggling path.
| Option | Default | Description |
|---|---|---|
Config.MetalClasses |
firearm 1.0 · blade 0.8 · tool 0.55 · everyday 0.25 · body 0.2 | How strongly one mass point of a class shows up |
Config.Detection.sensitivity |
50 |
0 to 100; 50 is factor 1.0, 100 is 2.0 |
Config.Detection.threshold |
20 |
Zone signal that alarms; everyday items below it are ignored entirely |
Config.Detection.noise |
2 |
Random noise per zone (± half of it) |
Config.Detection.drift |
0 |
Extra positive noise of a gate that was not calibrated |
Config.Detection.scanLoadout |
true |
Read GTA loadout weapons |
Config.Detection.scanInventory |
true |
Read inventory items |
Config.Detection.clientReport |
true |
Ask the target's client which weapons the ped has (HasPedGotWeapon) |
Config.Detection.tamperLog |
true |
The server knows a weapon, the client denies it: tamper flag and log |
Config.Detection.saltMinutes |
30 |
Zone placement stays the same for this long per player (gate, wand and pat-down agree) |
Config.Detection.kgPerMass |
0.013 |
Turns mass into the "~0.9 kg" the wand shows |
Config.Detection.ammoPerRound / ammoMax |
0.05 / 8 |
Loadout ammo adds mass per round, capped |
Config.Detection.stackFactor |
0.5 |
Every further item of a stack adds this share of one item's mass |
Config.Detection.objectMin |
3 |
An item counts as an "object" in the reading from this signal on |
Config.Detection.centerZones |
{ head = true } |
Zones without a left and right |
The seven zones are head · shoulders · chest · waist · thighs · knees · ankles (shoulders cover the back as well:
slung long guns). A metal entry is { mass, class, zone } or { mass, class, zones = { … } }; a zones list picks one
zone per player and session (stable, seeded) and an entry that repeats weights the pick. The tables, in the order a
lookup reads them:
| Table | What |
|---|---|
Config.WeaponGroupMetal |
Defaults per weapon group: pistol 70, smg 85, rifle / shotgun / sniper 95, mg and heavy 100, melee 30 (blade), thrown 35, stungun 30, petrolcan 40, fireextinguisher 60, parachute 6, digiscanner 25, unknown 60 |
Config.Weapons |
Every vanilla weapon with its group and label. The client report checks this list |
Config.WeaponMetal |
Explicit values over the group: knife 30, machete 45, WEAPON_CERAMICPISTOL 12, WEAPON_SNSPISTOL 52, WEAPON_PISTOL50 82, and false for the bottle, stone hatchet, candy cane, snowball, ball and acid package |
Config.ComponentMetal, ComponentPatterns, ComponentMass |
Attachments on a loadout weapon add mass: exact names first, then Lua patterns (_SUPP 12, _CLIP_DRUM 14, _SCOPE 10, _CAMO 0), then the default 6 |
Config.ReportComponents |
The components the client report checks on every weapon (HasPedGotWeaponComponent) |
Config.CategoryMetal |
By np_inventory category: weapon 70, ammo perUnit = 0.5 up to 20, tool 20, electronic 10, key 6, material 10; medical, money, illegal, document, drink, food, bag, clothing and misc are false |
Config.ItemMetal |
By item name: phone 10, radio 14, laptop 22, keys 6, lockpick 8, repairkit 30, toolbox 60, handcuffs 25, armour_vest 25 (class body), metal_wand 25; money, black_money and the documents are false |
Config.BodyMetal |
Believable false positives from the body, stable per character: belt buckle (35 %), jewellery (25 %), steel toe (6 %), implant (2 %) |
For an inventory item the order is: the item's metadata.metal (0 = invisible, a table overrides) → Config.ItemMetal
→ the inventory definition's own metal field → the GTA weapon of a weapon item → Config.CategoryMetal. A stack counts
perUnit × count up to max, otherwise mass × (1 + stackFactor × (count − 1)). metadata.zone places an item (carry
spots). An item with shield = n hides the n largest unshielded items from gates and wands.
Config.ItemMetal.my_flask = { mass = 18, class = 'everyday', zone = 'waist' }
Config.ItemMetal.my_ceramic_plate = false -- never shows
Venues (venues.lua) ​
| Option | Default | Description |
|---|---|---|
Config.SeedVenues |
true |
Write Config.Venues into the database on the first start (when scanner_venues is empty) |
Config.ScannerTypes |
gate, pole, xray, wandkit, locker |
The types a scanner may have |
Config.ScannerDefaults |
per type | Trigger box (x width, y depth along the heading, z height) and default settings: gate 1.2 × 0.8 × 2.3 and pole 1.6 × 1.0 × 2.3 with sound and lights, xray 1.0 × 2.4 × 1.4, wandkit 1.0 × 1.0 × 1.5, locker 1.4 × 0.8 × 2.0 |
Config.VenueRuleDefaults |
see below | Rules a venue gets for every key it does not set itself |
Config.Venues |
five venues | The seed: courthouse, Maze Bank Arena, Bahama Mamas, Bolingbroke visitation, LSIA terminal, each with its scanners |
Venue rules (scanner_venues.rules), with the default of Config.VenueRuleDefaults:
| Rule | Default | Description |
|---|---|---|
weapons |
'none' |
'none', 'permit' or 'allowed': may a visitor keep a declared weapon? |
bannedClasses |
{ 'firearm', 'blade' } |
Classes that are never allowed in (permit or not) |
permitDoc |
'weapon_license' |
np_identification document type that counts as a weapon permit |
lockers / lockerFee |
true / 0 |
Lockers at the entrance, fee in dollars (0 = free) |
randomSecondary |
20 |
1 in N clear visitors is wanded anyway (0 = off) |
silentAlarm |
false |
No chime, no red lamp; staff and police are told quietly |
chime |
true |
Gate chime audible within a few metres |
threshold / sensitivity |
20 / 50 |
Detection defaults of every scanner of the venue (a scanner may override) |
schedule |
none | { days = { 1..7 }, from = 'HH:MM', to = 'HH:MM' }; 1 is Monday. No schedule means always screened |
bypassJobs |
{ 'police' } |
Jobs that are logged but never alarm (on duty) |
operatorJobs |
{ 'security', 'police' } |
Who may operate the posts: { 'security', { job = 'police', grade = 1 }, { group = 'police' } } |
Venue data: { coords, radius, icon, tint, blip = { sprite, color } | false }. A scanner is
{ id, type, label, coords, heading, box, model, settings }; its settings may hold sensitivity, threshold,
noise, drift, scanLoadout, scanInventory, sound, lights and silentAlarm. The effective values are
Config.Detection < the venue's rules < the scanner's settings.
Sessions (sessions.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Sessions.ttl |
900 |
Seconds an open session lives (also when nobody closes it) |
Config.Sessions.sweepSeconds |
30 |
How often expired sessions are closed |
Config.Sessions.closeOnDrop |
true |
The target or the operator leaves the server: the session closes |
Config.Sessions.maxPerOperator |
4 |
Open sessions one operator may run at once |
Config.Sessions.revealDistance |
3.0 |
An operator pats down a zone only this close to the target |
Gate (gate.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Gate.types |
{ 'gate', 'pole' } |
Scanner types that run a pass when walked through |
Config.Gate.direction |
'both' |
'forward': only walking along the scanner's heading counts (an entrance) |
Config.Gate.clientDebounceMs / scanRange |
3500 / 30.0 |
The client never reports the same gate twice in this time; it only checks gates within this distance |
Config.Gate.passCooldownMs |
3000 |
Per player and gate: a second pass inside this window is ignored |
Config.Gate.passDistance |
3.0 |
The player must stand this close to the scanner when a pass is reported |
Config.Gate.operatorRange |
25.0 |
On-duty operators of the venue within this distance get the operator panel |
Config.Gate.decideDistance |
15.0 |
An operator decides only this close to the gate |
Config.Gate.lightRange |
45.0 |
Clients within this distance draw the lamp and zone LEDs |
Config.Gate.clearSeconds / alarmSeconds |
4 / 45 |
The green lamp stays on this long; an undecided alarm lamp goes idle after this long (the session stays open) |
Config.Gate.holdUnstaffed |
false |
An unstaffed gate asks the visitor to wait anyway |
Config.Gate.unstaffedFallback |
'police' |
Unstaffed and no venue staff on duty anywhere: 'police' notifies on-duty police, 'none' nothing |
Config.Gate.policeJobs |
'police' |
Who is told about Hold & call backup and silent alarms |
Config.Gate.light |
{ range = 3.0, intensity = 8.0, height = 0.15 } |
The lamp above the arch |
Config.Gate.chimeRange / sounds |
10.0 / alarm and clear sounds |
Chime range and the two frontend sounds |
Config.Gate.tagRange / tagHeight |
18.0 / 0.55 |
The floating label above the gate |
Config.Gate.keys |
wave E, secondary G, again R, hold H, panel F6 |
Remappable in Settings → Key Bindings → FiveM |
Wand (wand.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Wand.fieldVenue |
'wand_field' |
Internal venue without coordinates, for mobile screening outside posts |
Config.Wand.jobs |
security, police, doc, corrections |
Who may use the item (on duty) |
Config.Wand.requireDuty |
true |
On duty only |
Config.Wand.requireItemForSecondary |
false |
A gate's secondary screening uses the post's wand kit; true demands the item |
Config.Wand.prop, bone, pos, rot |
w_am_metaldetector in the right hand |
The prop in the operator's hand |
Config.Wand.startRange / range |
4.0 / 2.6 |
The target must be this close when the wand starts; sweep, turn and pat-down need operator and target this close |
Config.Wand.consentSeconds |
25 |
No answer counts as a refusal |
Config.Wand.breakSeconds |
6 |
Operator and target apart (more than twice the range) this long: the wand stops |
Config.Wand.secondsPerZone |
1.6 |
Holding the wand on one zone this long covers it fully |
Config.Wand.maxSpeed |
1.4 |
Metres per second of the wand head over the body; faster gives no coverage (too fast) |
Config.Wand.sweepRateMs |
250 |
Client batch interval |
Config.Wand.hitAt |
22 |
A zone signal from here on counts as a hit (HUD hit, pat-down suggestion) |
Config.Wand.sensitivity / defaultSensitivity |
low 35, med 60, high 85 / 'med' |
The three wand sensitivities |
Config.Wand.threshold |
6 |
Everyday items below this signal are silent |
Config.Wand.lateral |
same 1.0, centre 0.8, other 0.35 |
Signal on the swept side against the item's side |
Config.Wand.battery |
{ perSecond = 0.6, low = 15 } |
Percent drained per second of sweeping (item metadata battery); the low warning |
Config.Wand.tone |
Beep_Red from 650 to 70 ms |
The repeated beeps; the rate rises with the signal |
Config.Wand.anims |
comply and refuse | The target's poses |
Config.Wand.keys |
patdown E, turn F, finish BACK, sensitivity Z, comply Y, refuse N, run B |
Remappable keys |
Findings (findings.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Findings.distance |
3.0 |
The operator must stand this close to the target for every action on the sheet |
Config.Findings.foldEveryday |
true |
Everyday metal below the venue threshold is folded into one row |
Config.Findings.searchJobs |
'police' |
Who may run a full search (opens the target's inventory) |
Config.Findings.searchVenues |
{} |
Venue ids whose security may search too: { courthouse = true } |
Config.Findings.returnNeedsPermit |
true |
Return of a weapon needs a valid permit where the venue asks for one (override staff pass) |
Config.Findings.closeOnApply |
true |
The session closes once every decision is executed |
Config.Findings.cooldownMs |
600 |
Per RPC and operator |
Lockers (lockers.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Lockers.hours |
24 |
A locker expires after this many hours (items go to lost and found) |
Config.Lockers.slots / maxWeight |
20 / 60000 |
Stash size per locker, in slots and grams |
Config.Lockers.pointDistance |
2.5 |
Using the ticket or the collect prompt only works this close to a locker point |
Config.Lockers.leaveMargin |
8.0 |
Left the venue means beyond the venue radius plus this margin (and away from locker points) |
Config.Lockers.autoReturn |
true |
Give items back as soon as the owner leaves the venue area |
Config.Lockers.sweepSeconds |
20 |
Server check of owners that left (backs up the client report) and of expiry |
Config.Lockers.feeAccounts |
{ 'cash', 'bank' } |
Tried in this order when np_payments is not used |
Cases (cases.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Cases.notifyJobs |
'police' |
Told about a new case (on duty) |
Config.Cases.readJobs |
'police' |
May read every case; venue operators read their venue's cases |
Config.Cases.handOffJobs |
{ 'police' } |
Jobs a case may be handed to |
Config.Cases.evidenceSlots / evidenceWeight |
50 / 200000 |
Size of an evidence stash |
Config.Cases.refFormat |
'C-%04d' |
How a case id is shown |
Config.Cases.listLimit |
50 |
Cases per list |
Divest tray (tray.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Tray.capacity |
6 |
Stacks per tray |
Config.Tray.pips |
true |
Show metal pips (0 to 3) on the visitor's own items; false for hardcore RP |
Config.Tray.promptOffset / promptRadius |
2.0 / 1.6 |
The tray prompt sits this far in front of the gate (negative: the other side) |
Config.Tray.bannerRadius |
7.0 |
The venue banner shows once when you come this close to the front of a gate |
Config.Tray.distance |
6.0 |
The server accepts tray actions this close to the gate |
Config.Tray.leaveDistance |
25.0 |
Walking farther away returns the tray (and counts as leaving the queue) |
Config.Tray.openSeconds |
600 |
An open tray that never went through is returned after this |
Config.Tray.returnSeconds |
120 |
After walking through the tray is returned at the latest after this (a clear pass returns it at once) |
Config.Tray.holdSeconds |
900 |
A flagged bag waits this long for the X-ray operator before it is returned anyway |
Config.Tray.exclude |
{} |
Item names that cannot go into the tray |
Config.Tray.icons |
by np_inventory category | The item's own icon wins |
X-ray (xray.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Xray.keep |
8 |
Bags remembered per belt |
Config.Xray.bagSeconds |
1800 |
A bag is forgotten after this |
Config.Xray.metalMass |
25 |
Metal at or above this mass draws as metal (blue), below as mixed (green) |
Config.Xray.flagMass |
40 |
Metal at or above this mass gets an automatic dense metal box |
Config.Xray.operatorInVenue |
true |
Operators decide from anywhere inside the venue area (control room) |
Config.Xray.operatorDistance |
6.0 |
Otherwise this close to the belt |
Config.Xray.visitorDistance |
3.0 |
A visitor puts a carried bag on the belt from this close |
Config.Xray.containers, containerCategories |
backpack, bag, duffel_bag, suitcase, briefcase; category bag |
What counts as a carried bag |
Config.Xray.organicCategories |
food, drink, clothing, medical, illegal, money, document, misc | Categories drawn as organic |
Config.Xray.silhouettes, categorySilhouettes |
per item name, then per category | The shape drawn; anything else is generic (organic) or box (metal) |
Console (console.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Console.command |
'securityconsole' |
Chat command that opens the console ('' = none) |
Config.Console.key |
'' |
Default key of the remappable keybind (for example 'F7') |
Config.Console.managerGrade |
2 |
Operator jobs from this grade on may change post rules and set permanent bans |
Config.Console.logLimit / exportLimit |
40 / 200 |
Live log lines; lines in an export |
Config.Console.randomSecondaryDefault |
20 |
1 in N when random secondary is switched on from the console |
Config.Console.hiddenKinds |
tray_move, log_export, shift_pay, scan |
Log kinds the live log leaves out |
Config.Console.lockerCapacity |
40 |
The lockers in use bar |
Config.Console.statsFlushSeconds |
60 |
Daily counters are written to scanner_kv this often |
Config.Calibration.enabled |
true |
Gates drift without calibration |
Config.Calibration.types |
{ 'gate', 'pole' } |
Scanners that drift |
Config.Calibration.driftPerHour / maxDrift |
1.5 / 30 |
Drift added per hour since the last calibration, and its cap |
Config.Calibration.tickSeconds |
60 |
How often drift is recomputed |
Config.Calibration.duration / distance |
8000 / 3.0 |
Milliseconds of the calibration task; staff stand this close |
Shifts (shifts.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Shifts.required |
false |
The listed jobs must clock in at a post before they may operate |
Config.Shifts.jobs |
{ 'security' } |
Job groups the clock-in applies to |
Config.Shifts.setDuty |
true |
Clocking in or out also switches the framework duty flag |
Config.Shifts.distance |
4.0 |
Clock in within this distance of the post |
Config.Shifts.promptOffset |
1.4 |
The clock-in prompt sits this far to the right of the post |
Config.Shifts.leaveDistance / leaveGrace |
80.0 / 120 |
Farther than this from the post for this many seconds ends the shift |
Config.Shifts.maxHours |
10 |
A shift ends by itself after this |
Config.Shifts.tickSeconds |
30 |
How often pay and distance are checked |
Config.Shifts.payInterval / pay |
900 / 150 |
Seconds per paid interval, dollars per full interval |
Config.Shifts.perVisitor |
3 |
Dollars per visitor screened at your post (paid with the next interval) |
Config.Shifts.payPartial / minPartial |
true / 120 |
The unfinished interval is paid pro rata at clock-out once it is this many seconds long |
Config.Shifts.society / account |
'security' / 'bank' |
np_banking society account that pays; framework account of the fallback |
Config.Shifts.historyLimit |
20 |
Shifts the phone lists |
Watchlist (watchlist.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Watchlist.kinds |
{ 'ban', 'bolo' } |
Entry kinds |
Config.Watchlist.defaultDays |
7 |
A ban without a length |
Config.Watchlist.maxDays |
365 |
Longest ban an operator may set; 0 days is permanent (managers and configure only) |
Config.Watchlist.matchCooldown |
120 |
Seconds before the same person at the same venue is reported again |
Config.Watchlist.listLimit |
100 |
Rows per list |
Placement and props (placement.lua, props.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Placement |
{ maxDistance = 25.0, nearbyDistance = 80.0, maxScanners = 256, minBox = 0.2, maxBox = 10.0 } |
How far staff may place from where they stand, how far the panel lists scanners, the scanner cap and the trigger box limits |
Config.Props.streamDistance |
100.0 |
spawnDistance of the np_prophandler scanner props (5 to 300) |
Config.Props.models |
per type | An ordered list; the first model the game build knows is used. Gate: ch_prop_ch_metal_detector_01a, then prop_gate_airport_01 |
Config.Props.passThrough |
gate, pole |
Types a ped must be able to walk through (the arch is a trigger box, not an obstacle) |
Config.Props.fallback |
'prop_table_03' |
Used when no model of the list exists |
Config.Props.groundScanner, groundFallback |
w_am_metaldetector, prop_tool_shovel |
The detector in hand and a vanilla fallback |
Some model names are marked unverified in the file because they could not be checked against a game build; the list order makes a missing model harmless.
Ground detector (ground.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Ground.requirePermit |
false |
Civilians need a valid detecting permit (np_identification); police are exempt |
Config.Ground.collectionGoal |
60 |
The 23 / 60 finds counter of the HUD |
Config.Ground.scanRadius / reach |
1.2 / 2.5 |
How close a find must be to the coil to sound; how close you must stand to dig |
Config.Ground.density |
36 |
Hidden finds per area (an area may set its own) |
Config.Ground.respawn |
1800 |
Seconds between refills |
Config.Ground.scanMs |
350 |
Scan interval |
Config.Ground.digMs / digTtl |
6000 / 30 |
Dig duration in ms; seconds a dig token is valid |
Config.Ground.stormBoost |
1.5 |
Finds are boosted while the server weather is rain or thunder |
Config.Ground.buyers |
one beach buyer | { id, model, scenario, coords, radius }: an np_npchandler NPC; radius is its interact distance (0.5 to 10) |
Config.Ground.areas |
six areas | Vespucci, Del Perro, Paleto, Sandy, Chumash, Alamo: { id, coords, radius }. The centres are approximate: walk them with the detector once and adjust |
Config.Ground.finds |
eleven finds | { item, label, weight, id, depth = { min, max }, price, icon }, from a pull tab at $2 to a rare relic at $900 |
Config.Evidence |
{ casingTtl = 1800, weaponTtl = 3600, maxPoints = 300, shotMs = 1500 } |
Lifetime of shell casings and dropped weapons, the cap, the shot cooldown |
Smuggling (smuggling.lua) ​
Config.Smuggling = { polymerPistol = false }. The file defines lead_pouch (hides the largest metal item, the X-ray
shows an impenetrable mass), ceramic_knife (mass 0, invisible to gates, wands and X-ray metal reading) and, when
polymerPistol is true, polymer_pistol (an item variant of the pistol with no metal). See
Items.
Phone (phone.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Phone.enabled |
true |
Register the apps with np_phone |
Config.Phone.checkpoint |
id checkpoint, job security, police, sheriff, on duty only, not installed by default |
The np_phone store entry of the staff app |
Config.Phone.wallet |
id checkpoint_wallet, installed by default |
The store entry of the permits app |
Config.Phone.staffJobs / policeJobs |
{ 'security', 'police' } / { 'police' } |
Who may use the Checkpoint RPCs; police see every venue, security the venues they may operate |
Config.Phone.dutyForRecords |
true |
Cases and watchlist need duty |
Config.Phone.island |
{ alarm = true, seconds = 45 } |
Dynamic Island live activity on a gate alarm |
Config.Phone.notify |
caseCreated, watchlistMatch, lockerStored, lockerReturned, xrayFlagged, all true |
Which events send a phone banner |
Config.Phone.nearby |
{ radius = 0, limit = 12 } |
Screened tonight near you: venues within this many metres (0 = all), at most limit |
Config.Phone.needsSeconds |
600 |
Needs you keeps alarms and bags for this long |
Config.Phone.caseLimit |
30 |
Case list length in the app |
Siblings (siblings.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Permits.fallbackAllowed |
false |
Permits count as valid without np_identification |
Config.Permits.types |
firearm and blade weapon_license, detecting detecting_permit, security security_license |
Document type per permit class |
Config.Permits.categories |
firearm B, C; blade A |
Which weapon_license categories cover a class |
Config.Permits.seizurePoints |
{ enabled = true, points = 1, reason = 'Metal scanner seizure' } |
License points on a seizure (np_identification) |
Config.Siblings.payments |
account bank, payee society police, invoiceDays = 7, seizureFine = 0 |
A value above 0 invoices the visitor this much when staff seize something |
Config.Siblings.banking |
{ society = 'security', account = 'bank' } |
Wage source |
Config.Siblings.prison |
venue bolingbroke_visitation, facility bolingbroke, gateOnAlert = false |
Gating visitation on the facility alert level (blockedLevels: siren, manhunt) |
Config.Siblings.passwords |
enabled, 3 minutes, 3.0 m, crack, owner job security, PIN length 6 |
Hackable gates |
Config.Siblings.npc |
guards true, model s_m_m_security_01 |
Guard NPC at a gate with no operator on duty |
Config.Siblings.menu |
context, radial both true |
np_menu options |
Config.Siblings.shops |
id npms_security_supply, groups security, police, sheriff |
The Security Supply shop; prices: wand $250, pinpointer $300, ground detector $850, trowel $60 |
Config.Siblings.drugs |
{ organic = {} } |
More item names mapped to true that must never be metallic |
Config.Siblings.clothing |
{ pieces = {} } |
[piece id] = { mass, class, zone, label }: worn pieces that become body metal |
Config.Siblings.dispatch |
enabled, reasons hold and seized |
np_drugs witness dispatch for these gate reasons |
Config.Siblings.gangs |
{ seizureAttention = 5 } |
Police attention for the turf at a seizure |
Config.Siblings.screens |
{ boards = {} } |
[venue id] = existing np_screens content id |
Config.Siblings.helicam |
{ enabled = false } |
The BOLO facade exists but nothing calls it |
Config.Siblings.environmental |
enabled, 40 m, multiplier 1.5 |
Ground finds near a storm-debris scene |
Editable in np_admin ​
With np_admin running, these keys are on its Resource settings page under Metal scanner
(shared/np_admin_settings.lua). np_admin stores only the overrides; shared/config/ stays the default. Each config
file adds its own group, so the list below is what ships. Every field says when it applies: live, reload (at a
player's next init) or restart. The settings are listed even while np_metal-scanner is stopped.
| Category | Keys |
|---|---|
| General | Locale, Debug, RequireDuty, Distance.operator, Log.keepDays |
| Detection | Detection.sensitivity, .threshold, .noise, .scanLoadout, .scanInventory, .clientReport, BodyMetal.enabled |
| Sessions | Sessions.ttl, Sessions.revealDistance |
| Gate | Gate.direction, .passCooldownMs, .passDistance, .operatorRange, .decideDistance, .clearSeconds, .alarmSeconds, .holdUnstaffed, .unstaffedFallback, .chimeRange |
| Wand | Wand.range, .consentSeconds, .secondsPerZone, .maxSpeed, .hitAt, .battery.perSecond, .requireItemForSecondary |
| Findings | Findings.distance, .foldEveryday, .returnNeedsPermit |
| Lockers | Lockers.hours, .autoReturn, .leaveMargin |
| Cases | Cases.notifyJobs |
| Divest tray | Tray.capacity, .pips, .returnSeconds |
| X-ray belt | Xray.flagMass, Xray.operatorInVenue |
| Console | Console.managerGrade, Calibration.enabled, .driftPerHour, .maxDrift |
| Shifts | Shifts.required, .payInterval, .pay, .perVisitor, .society |
| Watchlist | Watchlist.defaultDays, .maxDays, .matchCooldown |
| Phone | Phone.enabled, Phone.island.alarm, .island.seconds, .dutyForRecords, .nearby.radius |
| Integrations | Permits.fallbackAllowed, Permits.seizurePoints.enabled, Siblings.passwords.minutes |
The same file registers the five permission nodes and the staff actions Place scanners and Configure venues (both open the placement panel).