Crew, prison & temporary ink ​
Besides regular flash (kind = 'shop') and approved custom designs (custom), designs have three special kinds:
crew, prison and temp.
Crew ink ​
Crew designs carry a crew restriction and only members can buy them. They work as proof of membership.
-- shared/catalogue/30_crew.lua
crew = { type = 'gang', name = 'ballas', label = 'Ballas', grade = 1 } -- or type = 'job'
- Membership: the bridge's gang (or job) must have the same
nameand a grade of at leastgrade(default 0). Other players see the card locked ("Ballas only", or "… staff only" for jobs). - ESX has no gangs:
gangcrews are matched against the job there. - Standalone: membership comes from the np_admin permission nodes
np_tattoos.gang.<name>[.<grade>]andnp_tattoos.job.<name>[.<grade>](Permissions). - Proof:
exports.np_tattoos:hasCrewInk(src, 'ballas')istruewhen the character has a healed, unflagged piece of that crew.
The shipped set (30_crew.lua) has pieces for ballas, vagos, families, lostmc and the tattoo job. Rename the
crew names to match your framework's gangs and jobs.
Leaving the crew ​
Config.Crew = {
onLeave = 'flag', -- 'flag' | 'remove' | 'none'
graceDays = 3,
afterGrace = 'cover', -- 'cover' | 'remove'
coverDiscount = 0.0,
removalClears = true,
coverDesign = { ZONE_HEAD = 'fm_hip_tat_021', ZONE_TORSO = 'fm_tat_029', ZONE_LEFT_ARM = 'fm_tat_005', … },
}
np_tattoos re-checks crew pieces on character load and when the framework reports a job or gang change
(QBCore:Server:OnJobUpdate, QBCore:Server:OnGangUpdate, qbx_core:server:onGroupUpdate, esx:setJob). For a
piece whose crew the character no longer belongs to:
onLeave |
Effect |
|---|---|
'flag' |
The piece is flagged with a deadline graceDays from now. Toast: "You left Ballas: cover or laser … within 3 day(s)." Fires np_tattoos:flagged |
'remove' |
The piece is deleted right away. Fires np_tattoos:removed |
'none' |
Nothing happens |
A grade drop alone never flags a piece; only leaving the crew does. Rejoining clears the flag ("… is yours
again."). While flagged, a cover-up costs coverDiscount × the price (free by default),
and a laser session clears the flag when removalClears is on.
When the deadline passes (checked by the healing tick and on load), afterGrace applies: 'cover' replaces the piece
for free with coverDesign[zone] (fires np_tattoos:covered), 'remove' deletes it. If a zone has no valid cover
design, the piece is removed. The server warns at start about cover design names that aren't in the catalogue.
Prison ink ​

Config.Prison = {
enabled = true,
requireJail = true,
kitItem = 'prison_ink_kit',
zones = { { coords = vec3(1690.0, 2591.0, 45.9), radius = 120.0 } }, -- Bolingbroke yard
opacity = { 0.45, 0.85 },
isJailed = nil,
}
A parlour in mode prison with only the crude flash set (kind = 'prison', shared/catalogue/10_prison.lua) and only
the Flash tab. It costs no money: each piece consumes one kit. Every piece gets a random opacity between
opacity[1] and opacity[2], so it looks home-made, and always the black & grey variant.
- Who: with
requireJail = truethe player must be jailed. The first answer wins:exports.np_tattoos:setJailedProvider(fn), thenConfig.Prison.isJailed(src), then the framework bridge (qb / qbxmetadata.injail > 0; ESX thejailed/jail/jailTimestate bag or xPlayer variable). - np_prison: registers itself as the jailed provider when it starts (and again after an np_tattoos restart), so its inmates count as jailed. It also applies the ink again after the jumpsuit and after the own outfit comes back at release.
- How it opens: using a
prison_ink_kit, or your jail resource callsexports.np_tattoos:openParlour(src, nil, 'prison'). There is no prompt in the yard. - Where: the session stays valid while the player is in one of
zonesor opened it with a kit. An export open skips the zone check. - Without kits:
kitItem = falsemakes prison ink free. Open it with the export then; the player must still be jailed (withrequireJail) and stay in a zone unless the export opened it.
A steady hand (np_minigames) ​
With np_minigames running and Config.Minigames.enabled on, inking yourself with a kit is a skill
game instead of the opacity dice roll: one sway game per checkout, judged by
np_minigames on the server (exports.np_minigames:Play from the checkout RPC). Its score sets how dark the pieces come
out inside the same opacity range (perfect = darkest), so nothing gets cheaper or stronger. The server re-checks the
session, the jail / zone rule and the kits after the game.
| Kit | Default | Game | The score |
|---|---|---|---|
Prison ink (yard or prison_ink_kit) |
on | sway, medium |
sets the opacity inside Config.Prison.opacity |
Henna (henna_kit) |
off | sway, easy |
maps onto minOpacity … full strength |
Config.Minigames = {
enabled = true,
maxMove = 2.0, -- metres the player may move during the game before it fails with 'moved'
prison = { enabled = true, game = 'sway', difficulty = 'medium', opts = {}, onFail = 'faded' },
temp = { enabled = false, game = 'sway', difficulty = 'easy', opts = {}, onFail = 'faded', minOpacity = 0.5 },
}
onFail = 'faded' inks the pieces at the low end of the range (the kits are used up); 'botched' inks nothing and
uses the kits anyway. Esc, a busy player or a refused start use nothing. Parlour artists never ask for a game.
Temporary ink ​

Config.Temporary = { enabled = true, days = 7, kitItem = 'henna_kit', sweepMinutes = 60 }
Henna and stick-ons (kind = 'temp', shared/catalogue/20_temporary.lua). They are sold on a parlour's Temporary
tab (shops with temp in kinds), or self-applied with a henna kit, which opens a parlour in mode temp where
each piece consumes one kit instead of money.
- Temporary pieces never heal (
Config.Healing.enabledFor.temp = false) and have no colour variant. - Each piece expires after the design's
days, orConfig.Temporary.days. The parlour shows "Washes off in 3 days". - Expired pieces are deleted on character load and by a sweep every
sweepMinutes: online players get "… washed off." andnp_tattoos:removedfires; offline rows are deleted in the database. - They can't be lasered or covered.