Skip to content

Phone app ​

When np_phone runs, np_identification registers the Dokumente app: a digital wallet with the player's documents, their details and the applications they can make. It is registered whenever np_phone or np_identification starts (with exports.np_phone:registerStoreApp, see np_phone exports → App Store) and is installed by default (Config.PhoneApp.default).

Card stack Detail Applications
Wallet Detail Applications

Screens ​

Dokumente ​

The player's own records as a stack of real cards (no replaced ones): unusable documents at the back, valid ones in front, and a valid Personalausweis fully visible at the bottom. Tap a card to open it. Below the stack, notices point at what needs attention:

  • P-Schein abgelaufen: with online verlängern · $300 when the type allows online renewal, else am Schalter verlängern.
  • … läuft in 3 Tag(en) ab, … läuft heute ab.
  • Gewerbeschein gesperrt: with the reason and the end date.
  • … als verloren gemeldet: with Ersatz beantragen · $50.

Detail ​

The card (Vorderseite / Rückseite), then status, expiry, the first list field (for example Klassen), points and serial. Actions, depending on the document:

Action Available when Effect
Digital vorzeigen Always for own documents Shows the card to the nearest player within Config.ShowDistance, no item needed
Verlängern · $… The type has rules.renewOnline and the document is valid or expired Pays the fee from the bank account after a confirmation that shows the new expiry date
Als verloren melden Documents that aren't revoked, lost or replaced The document becomes invalid immediately (VERLOREN)
Ersatz beantragen · $… Lost documents A new document with a new serial for Config.ReplacementFee. The old card is removed from the inventory

Anträge ​

Every document type that a desk offers, split into Bereit zum Beantragen and Voraussetzungen fehlen (with the missing requirement), plus the fee and the desks where to apply (Beantragen bei). Documents that can be renewed online are listed too. The tab badge counts renewable documents that are expired or about to expire. Applications themselves happen in person at the desk, where the photo and signature are taken.

Notifications ​

Expiry reminders (Config.Reminders, 7 / 3 / 1 days before) and re-issue notices after a designer publish with Neuausstellung verlangen go to the phone as notifications from the Dokumente app. Without np_phone, reminders fall back to normal notifications (np_hud, or the resource's own toasts). Status changes (points, suspensions, seizures) are always normal notifications.

The open app updates live: after an issue or a status change (docs:changed) and after a designer publish (types:changed).

Photos of cards ​

With screenshot-basic and np_phone running, C in the viewer takes a photo of the card and saves it to the np_phone gallery, for example as evidence of a check. The upload goes through np_phone's upload target.

Settings ​

lua
Config.PhoneApp = {
  enabled = true, id = 'np_identification', name = 'Dokumente',
  icon = 'fa-solid fa-id-card', tint = 'blue', default = true,
}

See Configuration → Log and phone app. The app RPCs are listed on the NUI contract page.

Without np_phone ​

Everything still works: documents are shown from the picker (/ausweis), and digital-only servers (no inventory with metadata) present own records directly from it. Renewing, reporting lost and replacing need the phone app.