PH_Licenses

PH_Licenses

€10.00

Add to Basket

PH Licenses will be availible **soon** here are some pictures of the script.

First of all the Design of the Cards could change in the future but i dont know yet



# PH_Licenses - Feature Overview


If you want a license system that feels clean for players and easy for staff to manage, this is exactly what PH_Licenses is built for.


It covers normal licenses, fake identity flows, police-issued protection IDs, license shops, mugshots, and a full visual card editor, all in one resource.


## Core Features


- Modern front/back license cards with realistic document data.

- Show license to nearby players with configurable distance.

- Built-in show animation for better RP presentation.

- Card supports classes, restrictions, status, serial, issue/expiry dates, and mugshot.

- Multiple visual themes (DMV / State / LSPD), including per-license theme mapping.


## Identity and RP Flows


- Standard license issuing (driver, ID, weapon, hunting, pilot, boat, work permit, etc.).

- Fake ID flow with custom display name.

- Police Safety ID flow with target + custom protection name.

- Permission checks for police and issuer actions (job and/or ACE based).

- Named licenses only change card metadata, so your core character identity stays untouched.


## Built-In NPC Systems


- Fake ID NPC support with `ox_target`.

- Public license shop NPC with configurable:

- prices per license type

- cash or bank payment account

- repurchase rules

- excluded license types

- configurable locations, ped models, scenario and interaction distance

- Smart distance-based NPC spawn/despawn for performance.


## Mugshot System


- Optional mugshot capture flow with Discord webhook upload.

- Uses `screenshot-basic` with direct upload path and server fallback path.

- Face camera capture mode for stable portrait shots.

- Tunable quality, width, and timeout settings.

- Can refresh mugshots on existing licenses.


## Admin and Customization Tools


- Full in-game layout editor (`/ph_layout`) for admins:

- edit fields and labels live

- toggle visible sections

- adjust card scale and text scale

- manage classes, restrictions, and custom categories

- edit/apply full JSON layout data

- create/update/delete/generate custom license types in-game

- save and reload overrides/templates without restarting workflow

- Player personal layout panel (`/ph_playerlayout` by default, keymapped) for per-player position/scale preferences.


## Compatibility


- Frameworks: ESX, QB-Core, Qbox (`auto` detect supported).

- Inventories: PH_Inventory, ox_inventory, qb-inventory, qs-inventory (`auto` detect supported).

- Optional integrations: `ox_lib`, `ox_target`, `screenshot-basic`.

- Locale support included: English + German.

- Core flow works metadata-first (no mandatory SQL for base issuing/show logic).


## Developer Friendly


- Server exports for issue/show flows (`CreateLicense`, `CreateLicenseType`, `IssueFakeLicense`, `IssueLicenseToTarget`, etc.).

- Client export for inventory usability (`useDriverLicense`).

- Clean event/callback hooks for integrating with existing job/NPC scripts.

- Config-driven templates and defaults make it easy to extend without hardcoding.

PREVIEW SOON