Configuration is done in the config.lua file located in the revo_idcard directory.

Theme

Set the menu theme:
Config.Theme = 'dark' -- Options: 'light', 'dark'

Notification Position

Choose where notifications appear on the screen:
Config.NotificationPosition = 'top-center'
Available positions:
'top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center', 'center-left', 'center-right', 'center-center'

Fake ID Feature

Enable or disable the Fake ID system:
Config.UseFakeID = true

NPC Configuration

Set NPC models and locations for real and fake ID creation:
Config.Real_ID_NPC_Model = 'a_m_m_business_01'
Config.Real_ID_NPC_Locations = {
    {x = 435.10, y = -974.77, z = 30.71, heading = 96.38},
    {x = 214.30, y = -947.37, z = 30.68, heading = 229.61}
}
Config.Fake_ID_NPC_Model = 'g_m_y_ballaorig_01'
Config.Fake_ID_NPC_Locations = {
    {x = 117.97, y = -1951.58, z = 20.74, heading = 53.86},
    {x = 155.02, y = -1311.96, z = 29.20, heading = 48.19}
}

Map Icons

Show or hide map icons for NPCs:
Config.ShowRealIDMapIcon = true
Config.RealIDMapIcon = {
    sprite = 480,
    scale = 0.9,
    color = 2,
    name = 'ID Card'
}

Config.ShowFakeIDMapIcon = true
Config.FakeIDMapIcon = {
    sprite = 480,
    scale = 0.9,
    color = 1,
    name = 'Fake ID Dealer'
}

Card Costs

Enable or disable costs for creating IDs and set prices:
Config.EnableCardCosts = true
Config.CardCosts = {
    id_card = 20,
    fake_id_card = 100,
    driver_license = 50,
    firearm_license = 100
}

Issue & Expiry Dates

Show issue and expiration dates on cards and set duration (in days):
Config.ShowIssueAndExpireDate = true
Config.ExpireDuration = 30

Cooldown

Set cooldown (in seconds) to prevent fake ID spam:
Config.FakeIDCreationCooldown = 60 -- 1 minute

State & Nationality

Set the state name and default nationality shown on cards:
Config.StateNameOnCard = 'Los Santos'
Config.DefaultNationality = 'United States'

Card View Distance

Set how far away players can see the ID card:
Config.IDCardViewDistance = 5.0

Card Colors

Customize card colors for different job types:
Config.IDCardColors = {
    police = '#004dbb',
    ambulance = '#d32f2f',
    mechanic = '#ec9914',
    government = '#6a1b9a',
    taxi = '#f0c400',
    cardealer = '#0A3D62',
    unemployed = '#000000',
    default = '#000000'
}

License Types

Configure license types and their properties:
Config.Licenses = {
    ['id_card'] = {
       name = 'Identification Card',
       prop = 'prop_franklin_dl'
    },
    ['driver_license'] = {
       name = 'Driver License',
       prop = 'prop_franklin_dl',
    },
    ['firearm_license'] = {
        name = 'Firearm License',
        prop = 'prop_franklin_dl',
    },
}

Localization

Set the default language and customize text:
Config.DefaultLocale = 'en'
Supported languages: 'en', 'es', 'fr', 'de', 'it', 'pt', 'ru', 'pl', 'tr', 'zh', 'ar' You can customize all UI text in the Config.Locales table.
All features are fully configurable. Adjust NPCs, card visuals, costs, and localization to fit your server’s needs.