Nexo ID Card
Free IDs, licenses and badges with a real character photo and signature, a visual document editor, QR, fake documents and fingerprint forensics.
What's included
IDs, licenses and badges with a real character photo and signature, a visual editor so admins can design their own documents, QR verification, optional fake documents and fingerprint forensics for police. Free, for ESX, QBCore, Qbox or no framework, in 8 languages.
- Documents as items with metadata. If your inventory doesn't store metadata, there's a virtual wallet (
/cartera). - Real photo of the character, taken by the game itself (no external sites) when the document is issued. Staff can take a new one.
- Signature with the mouse when receiving the document.
- Wallet with a 3D card, hologram, front and back. Show it to the player next to you with an animation.
- Issue and edit: search citizens (online or offline), issue, edit data, new photo, request a signature, revoke, reinstate, duplicate and history.
- City hall: an NPC to get, renew or duplicate your ID for a fee.
- QR verification: whoever sees your document scans it and knows if it's valid, the age, if it's expired or revoked, or if it's fake. Police also see warrants.
- Discord logs per action type.
Installation
- Copy the resource Get it for free from the store, download it from keymaster.fivem.net → Granted Assets and put the
nexo_idcardfolder in resources.Don't rename itIf the folder has another name, the script won't start and warns you in the console. - Add it to your server.cfg After
oxmysql, your framework and your inventory. Database tables are created automatically (or importsql/install.sql).ensure oxmysql # ...framework e inventario / framework and inventory ensure nexo_idcard add_ace group.admin nexo_idcard.admin allow
- Add the items ox_inventory: copy what's inside the braces of
install/ox_items.luaintoox_inventory/data/items.lua. QBCore / Qbox (qb, ps, lj): copyinstall/qb_items.luaintoqb-core/shared/items.lua. qs, codem, core, tgiann: create the same items in your inventory; documents must be unique (not stackable). - Copy the images Move the images from
install/imagesinto your inventory's images folder.
| Item | What for |
|---|---|
id_card · driver_license · weapon_license · police_badge | The 4 base templates |
passport | Passport (gallery template) |
fingerprint_kit · fingerprint_scanner | Kit to lift prints and reader |
fingerprint_card · evidence_fibers · forensic_report | Lifted print, glove fibers and report |
uv_lamp · bleach · cloth | UV lamp and print cleaning |
Compatible with ox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory, codem-inventory, core_inventory and tgiann-inventory.
Commands
| Command | Who | What it does |
|---|---|---|
/cartera | Everyone | Opens your wallet. It also opens when using the item. |
/idcards | Admins and anyone who can issue | Template editor and issuing and editing documents |
Names are changed in Config.Commands and you can set a wallet key with Config.WalletKey.
Base documents
The 4 templates that come with the script are set in Config.Documents. The ones you create in the editor or add from the gallery are set in the editor itself (Card tab).
| Template | Issued by | Price | Expires | Number |
|---|---|---|---|---|
dni · ID card | admin, city hall | 250 | 10 years | SA-####-#### |
driver · Driver license | admin, driving school | 1500 | 5 years | DL-###### |
weapon · Weapon license | admin, police:2 | 5000 | 1 year | WL-##### |
badge · Badge | admin, police:3 | 0 | Never | LSPD-#### |
issuers accepts admin, a job (police) or a job with a minimum rank (police:3). In format, # is a number and ? a letter. sign asks the player to sign.
Config.Documents = {
dni = { item = 'id_card', issuers = { 'admin', 'cityhall' }, price = 250, days = 3650, format = 'SA-####-####', sign = true },
driver = { item = 'driver_license', issuers = { 'admin', 'driving' }, price = 1500, days = 1825, format = 'DL-######', sign = true },
weapon = { item = 'weapon_license', issuers = { 'admin', 'police:2' }, price = 5000, days = 365, format = 'WL-#####', sign = true },
badge = { item = 'police_badge', issuers = { 'admin', 'police:3' }, price = 0, days = 0, format = 'LSPD-####', sign = false },
}
Config.MoneyAccount = 'cash' -- 'cash' o 'bank'Template editor
With /idcards admins design documents from scratch or start from a template.
- Elements: texts, character data, photo, signature, barcode, QR, MRZ zone, logos, chip, hologram, shapes and your own images.
- Tools: drag, resize, multi-select, align and distribute, lockable layers, rulers, zoom, undo and redo.
- Design: backgrounds (gradients, colour or image), security patterns, frame, custom fonts and UV ink.
- Preview with real players from the server.
- Version history with restore (up to
Config.Editor.MaxVersions). - Gallery with 6 extra templates: passport, business card, hunting license, fishing license, EMS credential and BCSO badge.
- Export and import templates with a code.
City hall and QR
The city hall NPC lets players get, renew or duplicate their ID for a fee. It's set in Config.CityHall (locations, ped, blip, duplicate price and whether it can be issued again after staff revoke it).
With Config.Verify you choose who can scan the QR: jobs in Full see warrants and records, and everyone else (bouncers, shops...) only sees if it's valid and the age. With Item you can require an item to scan (for example, phone).
The UV lamp (Config.UV) reveals the UV ink of genuine documents.
Fake documents
Config.FakeDocuments.Enabled = true. They're ordered from a black-market forger who can move on every restart.- Basic (5000): they're not in the registry, so the QR gives them away.
- Premium (25000): they copy a real number, so they pass the QR but show the real owner's photo. They also have no UV ink.
Prices, templates and wait minutes in Config.FakeDocuments. Set premium = 0 to not offer premium ones.
Fingerprint forensics
- Prints are left when driving a vehicle and firing a weapon. Other scripts can add more spots with
LeavePrint. - With gloves no prints are left, only fibers.
- Prints lose quality over time (
Decay, 120 min). Bleach destroys them and a cloth leaves them half. - Kit with developing powder, UV lamp and tape to lift them.
- Reader for nearby suspects and collected prints. Unregistered ones are saved as unknown.
- Manual 6-point comparison and a report with signature and seal (item, Discord and a hook for your MDT).
Everything is set in Config.Fingerprint: jobs (Jobs), on-duty, items, distances, cleaning and gloves. Gloves are detected from the arms component (3): if you use added clothing, check the MaleNoGloves and FemaleNoGloves lists.
Admins, logs and MDT
In config_server.lua (not sent to clients) you choose who is admin (ace, groups or identifiers), the Discord webhooks per action type and the connection with your MDT.
-- Records and warrants in the print reader and QR verification ServerConfig.GetRecord = function(identifier) -- return { flags = { { text = 'Busca y captura', kind = '' } }, records = { { text = 'Robo', date = '28/11' } } } return nil end -- Called when a forensic report is saved ServerConfig.OnReport = function(report, officerSrc) -- report = { number, officer, evidence = {...}, person = { identifier, name }, confirmed = true/false } end
For other scripts
-- Driving school, gun store, jobs... local id, docnum = exports.nexo_idcard:IssueDocument(source, 'driver', { class = 'B' }) local ok = exports.nexo_idcard:HasDocument(source, 'weapon') local docs = exports.nexo_idcard:GetDocuments(citizenid) -- Prints on heists, doors, ATMs... exports.nexo_idcard:LeavePrint(source, { id = 'fleeca_legion_door', label = 'Puerta', sub = 'Fleeca Legion', kind = 'paint', coords = vector3(147.1, -1045.2, 29.3) })
Police analyse that spot using the kit within 2.5 m.
Notes
- The photo uses the portrait GTA generates (128 px), the most reliable option without external services. If you use another system, set
Config.Photo.Mode = 'custom'and return the image inclient/bridge.lua. - Personal data is taken from the character when issuing. In «Issue and edit» it can be corrected and, if you want, updated in the framework too.
- Notifications (
Config.Notify) and NPC interaction (Config.Target) are auto-detected: ox_lib, framework, ox_target, qb-target or the E key.
Editable files
| File | What for |
|---|---|
config.lua | Language, framework, inventory, documents, photo, signature, city hall, verification, fake documents and fingerprints. |
config_server.lua | Admin permissions, Discord webhooks and your MDT connection. |
locales/ | Texts in 8 languages. |
client/bridge.lua | Custom photo and client adaptations. |
FAQ
Do I need an inventory with metadata?
It's best: every document is an item with its data. If your inventory doesn't store metadata, players use a virtual wallet with /cartera.
Where does the photo come from?
From the character portrait GTA itself generates when the document is issued, with no external sites. If you use another photo system, you can hook it up in client/bridge.lua.
Is the code encrypted?
The core is protected with Cfx.re escrow. Config, translations and integration points stay open.
Do I get updates?
Yes, for free. New versions appear in your Keymaster and we announce them on Discord.
What if something doesn't work?
Open a ticket on our Discord with the console error and we'll help you.