Skip to content

Police, badges & forgery ​

Permissions ​

Police actions need a job from Config.PoliceJobs (police, sheriff, sahp, fib) that is on duty. Each document type adds its own limits through rules.police: whether it can be checked, suspended / revoked or seized at all, and the minimum grade (minGrade). Admins pass every check. All of it is enforced on the server; the UI only hides what you can't do.

Document check ​

/ausweispruefung checks the nearest player (the server allows up to 5 m). It looks at the card that player showed you in the last 5 minutes; otherwise it takes their Personalausweis, or their first document when they have none.

Police check

The panel shows the card (F flips it), chips with serial, state and points, and one row per check:

Check Passes when
Registereintrag The serial exists in the registry. Forgeries fail here
Inhaber The record belongs to the player in front of you. Stolen cards fail; forgeries show a warning
Status The document is valid. Suspensions show the end date and the reason
Gültigkeit Not expired
Punkte Below the type's maximum. Warns within 2 points of it
Klassen Shows the first list field (for example the driving classes)
Haftbefehle No open warrants for the record's owner (MDT bridge or your warrant provider)

Every check is written to the audit log; a check on a forgery is logged as forgery_detected.

Actions ​

Key Action Notes
P Punkte 1–50 points with a reason. Only types with rules.police.points
S Sperren Suspend for 1–3650 days with a reason. Lifted automatically when the time is up
E Einziehen Takes the card from every player within 5 m of you (forgeries too) and revokes the record
R Widerrufen Marks the record as revoked (UNGÜLTIG). Follows the type's suspend permission

The holder gets a notification for points, suspensions, revocations and seizures, also when they are not nearby.

Points and automatic suspension ​

Types with rules.police.points = true and a rules.pointsMax collect points (the built-in Führerschein: up to 8).

  • Every entry expires after Config.Points.expireDays (60). The total on the card is the sum of the entries that haven't expired.
  • When the total reaches pointsMax on a valid document, it is suspended for Config.Points.suspendDays (14) with the reason points, and the holder is told until when.
  • On the Klassen-Tabelle back template, the points show as boxes next to the classes.

Your scripts add points with addPoints, for example from a speed camera.

ID requests ​

Police can ask a player for their ID without searching them:

  1. Use the Ausweis verlangen target option on a player (ox_target / qb-target, 2.5 m). The server allows up to 10 m and one open request per officer and player.
  2. The player gets a toast that doesn't take focus. Y shows the ID, N refuses. It times out after Config.RequestTimeout (20 s).
  3. Accepting presents the player's Personalausweis (or their first document) to the officer, exactly like showing it from the picker. The officer can then run /ausweispruefung on that card.

ID request

The officer is notified when the player accepts, refuses, has no document, or lets it time out. Players can rebind Y and N under Settings → Key Bindings → FiveM.

Badges ​

/badge flashes your department badge. It is shown to you and to every player within 2 × Config.ShowDistance, with a 3 s cooldown.

Badge

  • Only jobs in Config.Badges, at or above minGrade, and on duty.
  • The badge shows the department, your rank (job grade label) and a number: the callsign (qb / qbx metadata.callsign), the server id or the citizen id, depending on number.
  • With document set (for example service_id), your valid document of that type is shown next to the badge.
  • Badge designs: lspd, bcso, sahp, lsmd, fib, doj.

The badge has no default key (Config.Keys.badge = ''). Set one there to get a key mapping that players can rebind under Settings → Key Bindings → FiveM.

Forgery ​

A black-market NPC (Config.Forgery, no blip) sells fake documents for cash. Talk to him: the prompt shows within 2 m, the server allows up to 5 m.

Forger

  1. Pick a document type from Config.Forgery.types.
  2. Pick a quality: Billig, Ordentlich or Profi.
  3. Fill in any data you like (the forger writes what you tell him; your character fills the rest) and optionally take a photo of your current face.
  4. Kaufen: the cash is taken and the card lands in your inventory.
Quality Default price Tells
Billig $1,500 60 % chance of a typo per name field, wrong fonts, no hologram, no UV pattern
Ordentlich $5,000 20 % typo chance, no hologram, no UV pattern
Profi $15,000 Looks real, with hologram. No UV pattern

What every forgery has in common:

  • No registry entry. It exists only as an item with its data in the metadata, under a serial that doesn't exist. A police check fails Registereintrag and shows Inhaber as a warning.
  • No UV pattern. Under the UV lamp, genuine cards glow; fakes don't.
  • Typos are swapped letters in name fields, the same on every look at the card.
  • It can be shown, handed over and seized like a real card, but it isn't in the phone wallet and can't be renewed.

The forger needs physical cards: with Config.RequireItem = false or an inventory without metadata it isn't available. Purchases are logged as forge.