Identity system

Identity system

Identity System

Syra_Identity replaces the default identity registration flow with a clean NUI form and a configurable character identity system.

It is made for servers that want a more immersive first-registration experience, with support for custom character flows.

The script can work on its own or as part of the Syra character suite with Syra_Multichars and Syra_CharacterCreator (or any other same scripts)

Key Features

Technical Information

Installation guide

  1. Download the resource

    After purchase, sign in to portal.cfx.re (Granted Assets) with the Cfx account linked to your Tebex order and download Syra_Identity.

  2. Add it to your resources

    Extract the archive and place Syra_Identity in your server resources folder. Keep the folder name unchanged: other resources and item exports call it by name.

  3. Disable esx_identity

    Remove or disable esx_identity in server.cfg. Do not run both at the same time.

  4. Import the SQL

    Import the file that matches your framework: sql_esx.sql adds the identity columns to users, sql_qb.sql makes sure players.charinfo exists.

    -- ESX
    source sql_esx.sql
    
    -- QBCore
    source sql_qb.sql
  5. Start order in server.cfg

    ensure oxmysql
    ensure es_extended # or qb-core
    ensure Syra_Identity
  6. Configure

    Edit config.lua:

    IdentityConfig.Framework = 'auto_detect' -- 'auto_detect' | 'esx' | 'qb' | 'standalone'
    IdentityConfig.Locale = 'en' -- 'en' | 'fr'
    IdentityConfig.UsersDatabase = 'users' -- ESX table
    IdentityConfig.QBPlayersDatabase = 'players' -- QBCore table
    IdentityConfig.Multichars = true -- true = Syra_Multichars continues the flow
    IdentityConfig.UseCustomSkinCreator = false -- standalone only: opens a creator after identity
    IdentityConfig.NotifySystem = 'none' -- 'syra' | 'ox' | 'esx' | 'qb' | 'native' | 'custom' | 'none'