Showing & issuing ​
How players get documents, show them and keep them current. Police tools, badges and the forger are on Police, badges & forgery; the phone app on Phone app.
What a card shows ​
Every document is a row in ident_documents with a unique serial. The inventory item carries only that serial, so a
card always renders the record behind the serial, never the presenter's character:
- A revoked, suspended, expired or lost document shows an inked stamp (
UNGÜLTIG,GESPERRT,ABGELAUFEN,VERLOREN,ERSETZT), even while the player still holds the card. - A stolen card shows the owner's data and photo. The holder check in a police check fails, and the thief has no owner rights (no renew, report lost or replace).
- A card of a type that was deleted or republished with "keep old design" shows the definition it was issued with.
- A forged card has no row. It shows the data the forger wrote into its item metadata. See Forgery.
"Expired" is never stored: a document is expired when its expiry date has passed. A suspension with an end date is lifted on its own (checked every 10 minutes and whenever the record is read), and the holder gets a notification.
Picker ​
/ausweis or F6 opens the picker: your documents on the left, the nearest player as the target.

| Key | Action |
|---|---|
| ↑ / ↓ | Select a document |
| E | Zeigen: show the card to the target (animation with a card prop). The target's viewer opens |
| G | Übergeben: hand the card over. The item moves, the record's owner doesn't change |
| F | Selbst ansehen: open your own viewer |
| TAB | Ziel wechseln: cycle through nearby players |
| ESC | Close |
The list holds every document item you carry (including someone else's card and forgeries) plus your own records.
Each row shows the state (gültig, abgelaufen, gesperrt, …). The target list refreshes every 750 ms. The server
checks the distance (Config.ShowDistance, 3 m), that you carry the card (or that it is your own record in digital
mode), and throttles showing to once every 1.5 s.
Using a document item from the inventory opens the viewer for it too.
Viewer ​

| Key | Action |
|---|---|
| F | Flip to the back |
| Right mouse button | Tilt the card. Hologram colours and glare follow the angle |
| U | UV lamp: only while you carry Config.Items.uvLamp (uv_lamp) |
| C | Photo of the card into the np_phone gallery (needs screenshot-basic and np_phone) |
| Mouse wheel / + − | Zoom |
| ESC | Close |
When someone shows you a card, a chip above it says who and from how far away (zeigt dir: Personalausweis · 1,4 m).
A card pushed by another player is dropped while you are busy at a desk, the clerk panel, the forger, the designer or a
police check; you get a notification saying who wanted to show you something instead. The viewer also closes when you
die, get cuffed or log out.
UV lamp ​

Under UV light a genuine card gets a violet overlay, fluorescent wave lines and a glowing seal. Forgeries never have the UV pattern, whatever their quality.
Desks ​
NPC desks from Config.Desks (and desks placed in the designer) issue documents in a few steps.
The NPCs are np_npchandler local NPCs. Walk up to one and use its option within 2 m: the
np_hud prompt, or the ox_target / qb-target option (np_npchandler picks the
provider). The option is hidden while a view is open or you are dead or cuffed.
np_npchandler spawns them within its spawnDistance (60 m by default) and np_identification adds them again on
np_npchandler:ready.
| Step | |
|---|---|
Dokument |
Offers of this desk with fee, validity and requirement status (Voraussetzungen). Unmet requirements block the offer |
Daten |
Values taken from your character, plus inputs: fields with an input.* source, and character fields the framework doesn't have (for example height on qb) |
Prüfung |
Only when the type requires an exam. The answers are evaluated when you pay; a passed exam is remembered |
Foto & Unterschrift |
Mugshot camera with three angles (1 Frontal, 2 Links, 3 Rechts), SPACE takes the photo. Drag the frame and zoom with the mouse wheel to crop. Draw the signature with the mouse, or use Schrift statt Zeichnung to print your name in a script font |
Bezahlen |
Cash (Bar) or bank (Bankkarte). The live preview shows the finished card |
Fertig |
The card is in your inventory and in the phone wallet |
| Data | Exam | Photo & signature |
|---|---|---|
![]() |
![]() |
![]() |
Requirements come from the type's rules.requires and rules.maxActive: valid documents of other types, no open
warrant, a minimum age, a passed exam, and the number of active documents of this type. See
Document types → Rules.
The photo depends on Config.Photo.method: the in-world camera (screenshot-basic), a ped headshot
(MugShotBase64), or none. Photos are cropped to 300 × 364 JPEG in the UI and rejected above Config.Photo.maxBytes.
Money is charged before the record is written and refunded if anything fails afterwards (database, full inventory).
When the type has rules.account, the fee goes into that society account (Renewed-Banking, qb-banking,
qb-management, okokBanking or esx_addonaccount). Paid through the np_payments checkout (below), np_payments credits it
through its banking provider instead, so with np_banking it lands in np_banking's job account.
np_payments checkout ​
With np_payments running and Config.Payments = 'auto' (the default), these fees are paid in the
np_payments checkout sheet instead of the Bezahlen cash / bank choice. The choice preselects the account; the player
can pay from cash or any account they may use.
| Fee | Merchant | Notes |
|---|---|---|
| Desk (self-service) | np_identification:<desk id> with the desk's label, icon and tint |
One line with the document type |
| Renew / replace (phone, wallet) | np_identification:online |
Bank preselected |
| Forger | np_identification:forger |
Cash only |
- When the type has
rules.account, np_payments credits that society account itself. - If anything fails after the payment (database, full inventory), the money goes back through
exports.np_payments:Refund. - Cancelling the sheet, or letting it expire, cancels the action. A failed payment shows the not-enough-money error.
- Documents issued by a player clerk and the
issueDocumentexport still charge through the framework bridge.
Config.Payments |
Behaviour |
|---|---|
'auto' |
np_payments while it runs, else the framework bridge. An error from np_payments also falls back |
true |
Always np_payments. Fees fail while it isn't running |
false |
Never np_payments |
Player clerks ​
/lizenz opens the issue panel for jobs listed in a type's rules.issuers (job and minimum grade, on duty). Admins
may issue every type.

- Pick the recipient from the nearby players (within
Config.ShowDistance + 1). The panel then shows that player's requirement status and the inputs that are still missing. - Pick the document type, fill in the inputs and optionally override the validity.
Ausstellen: the recipient pays the fee from their bank account.
The built-in types name jobs like city, drivingschool, ammunation, taxi, doj, ambulance, ranger,
flightschool and weazel. Change them in the designer to match your server's jobs.
Lifecycle ​
| Action | Who | Where | What happens |
|---|---|---|---|
| Renew | Owner | Phone app | Only types with rules.renewOnline. Valid or expired documents, the fee is paid from the bank, the expiry date moves forward |
| Report lost | Owner | Phone app | Status lost. The card stays in the world but shows VERLOREN |
| Replace | Owner | Phone app | For lost documents: a new serial, Config.ReplacementFee (bank, else cash), a new item. The old card is removed and its record becomes replaced |
| Expiry reminders | – | Phone | Config.Reminders days before expiry (7, 3, 1), as np_phone notifications |
| Weapon registry | Your scripts | Server export | registerWeapon adds a weapon to the holder's valid Waffenschein (or another type with rules.weaponSlots), shown on the back |
Types without online renewal are renewed at a desk or by a clerk (a new document once the old one has expired, since
maxActive counts only active ones).
Audit log ​
Every issue, renewal, replacement, status change, point, seizure, check, forgery purchase, hand-over and designer
action is written to ident_log (kept for Config.Log.keepDays), with a webhook posted to Discord as an embed, and
with np_admin running forwarded to its audit log (category np_identification).
Admins read it through the log.list RPC; police only for a given serial.


