Um Idcard FiveM Script: Complete Setup Guide for QBCore, ESX & QBox

admin

PATRON
Katılım
23 Eki 2022
Mesajlar
14,634
Çözümler
15
Tepkime puanı
19,179
Puanları
113
Yaş
29
Web sitesi
farming-simulator.r10dev.net
svg

Um Idcard: Professional Identity Card Generation for FiveM


Um Idcard is a versatile FiveM Lua script that generates realistic identity cards with integrated mugshot capture and metadata storage. Originally developed as qb-idcard, this script has evolved into a cross-framework solution compatible with QBCore, ESX, ESX-Legacy, and QBox frameworks. With 234 GitHub stars and active development, it's a trusted choice for roleplay servers seeking immersive identification systems.

Installation & Initial Setup


Step 1: Prerequisites
Before installation, ensure your server has the required configuration items. Navigate to your Config.Licenses section and verify that identity card items exist (id_card, driver_license, etc.). If missing, add them to your framework's item list.

Step 2: Server Configuration
Add the following lines to your server.cfg file:

Kod:
setr ox:locale "en"
ensure um-idcard

Replace "en" with your desired locale if necessary. The script supports multiple language configurations stored in the locales directory.

Step 3: Framework Installation
Extract the um-idcard folder into your resources directory. No additional dependencies are required beyond your chosen framework. The script automatically detects your framework through the bridge system.

Mugshot Storage Configuration


The script offers two mugshot storage methods, each with distinct advantages:

Local Storage (Default)
  • Mugshots save as PNG files in web/assets/mugshots
  • No external configuration required
  • Requires script restart to display new mugshots
  • Ideal for private or small-scale servers

Fivemanage Integration (Recommended)
  • Provides 30GB free bandwidth
  • No script restart needed for mugshot updates
  • Scalable for large communities
  • Enhanced performance for high-traffic servers

To enable Fivemanage integration, open config.lua and modify:

Kod:
mugshotsUpload = 'fivemanage'

Then create a Fivemanage account, generate an API token from the dashboard, and add this to server.cfg:

Kod:
set fivemanage:key "YOUR_TOKEN"

Core Features & Usage


Basic Operation
Players use identity cards like standard inventory items. On first use, the script automatically captures a mugshot and stores it within the item's metadata. Nearby players see the card display; solo viewing is available for private inspection. The system integrates seamlessly with item-giving systems and city hall mechanics—no additional configuration required.

Data Persistence
All card information stores directly in item metadata, ensuring data persists across server restarts. Mugshot filenames and metadata references remain consistent, maintaining card authenticity throughout gameplay.

Customization & Extensions


For custom identity card designs, the developer maintains a dedicated tool: um-idcard-maker. This companion resource allows server administrators to create branded identity cards matching their roleplay community's aesthetic and legal requirements.

An optional menu system is also available through um-idcard-menu for enhanced user interface controls and administrative functions.

Troubleshooting Common Issues


Mugshots Not Appearing
Restart the script after uploading new mugshots when using local storage. Verify Fivemanage API token is correctly set if using cloud storage.

Item Not Triggering
Confirm Config.Licenses contains the item name. Check framework compatibility—use the bridge directory to verify your framework is supported.

Script Won't Start
Validate fxmanifest.lua is present. Review server console for framework detection errors. Ensure ox:locale is properly set.

Performance Considerations


The script uses efficient client-side rendering with minimal server overhead. Mugshot processing happens asynchronously to prevent gameplay interruptions. For servers with 100+ players, Fivemanage cloud storage is strongly recommended to reduce local disk I/O operations.



Um Idcard delivers production-ready identity card functionality for professional FiveM communities. By following this guide and selecting appropriate storage solutions, administrators can deploy comprehensive identification systems that enhance roleplay immersion while maintaining server performance. Visit the official repository at github.com/alp1x/um-idcard for updates, issue reporting, and community contributions.
um-idcard.png



📦 İlgili Açık Kaynak Projeler & GitHub Bağlantıları

  • (234 ⭐ | Dil: Lua | Lisans: GPL-3.0) - 🪪this is a FiveM script that generates identity cards with mugshots and metadata, specifically designed to be compatible with QBCore,ESX,QBox.

Hızlı Kurulum & Klonlama Komutu:

Kod:
git clone https://github.com/alp1x/um-idcard.git


🔗 Related Topics

 
Üst
Icy Tower Game Reklam Ver