Getting Started
This documentation will guide you through the setup and use of the dnd_identitydocs resource.
What the resource does
dnd_identitydocs is an advanced identity card, license, and document management system for FiveM. It provides a comprehensive set of features, including a user-friendly desktop UI, job-based access control, and customizable documents. Key functionalities include:
- Desktop Apps: Manage requests, licenses, documents, archives, printers, and templates with ease.
- Holder/Viewer Modes: Choose between DB-backed holder mode or inventory item-based mode.
- Dynamic Templates: Use runtime DB-driven document templates for maximum flexibility.
- DMV/STNK Support: Efficiently manage vehicle registrations.
- Radial Menu Integration: Quickly access document commands via
qbx-radialmenu.
Core Workflows
Identity / License
- Player submits request.
- Request enters
pendingstatus. - Staff approves or rejects the request.
- If required, player completes a pass photo.
- Request becomes
ready_to_print. - Staff prints the document to a target player.
- Result is stored in either the holder DB or as an inventory item, depending on the chosen mode.
- Players can view or show their documents using in-game commands.
DMV/STNK Registration
- Player submits STNK request.
- Staff approves the request.
- Request goes directly to
ready_to_print(no pass photo required). - Staff prints the document to the target player.
- The system renders STNK documents as
PLAT | NAMA MOBIL.
Document Creation
- Staff selects a document template.
- Fills out the required form fields.
- Submits the document for printing.
- Resulting document is available in archives, holders, or viewer modes.
New Features in 2026 Update
- Desktop UI: Includes a sidebar navigation menu and supports dynamic logos.
- Job/Grade-based Access Control: Restrict features based on player job and rank.
- Archive Filtering: Only show entries relevant to the player’s job.
- Quick Access Command:
/holder_documentsfor instant document access. - Enhanced Radial Menu: Faster and more intuitive document commands.
- Additional Apps: Name Change App (including holder persistence) & Printer App (photo validation included).
- Compatibility with ESX and QBox: Fully supported across both frameworks.
Recommended First Steps
- Install all necessary dependencies.
- Verify database table structure.
- Configure the
config.luafile according to your server’s requirements. - Optionally, register
ox_inventoryitems needed for operation. - Test key workflows, such as printing and archive access, on a staging server with multiple testers.
- Confirm that
Config.use_holderis set to your preferred storage mode.
Production-Ready Settings
Config.Debug = false- Ensure database seeding has been completed for templates and configuration.
- Verify seamless operation for both desktop and in-world interactions.