Configuration Reference

Full breakdown of all configuration fields available in 5M_Migrationtool/config.lua.


Core Settings

Lua
Config = {}

--- Which phone you are migrating FROM (pick ONE)
Config.SourcePhone = 'lb-phone'

--- Framework used for player identifiers: 'qbx' | 'qb' | 'esx' | 'auto'
Config.Framework = 'auto'

--- Dataset flags: toggle individual apps
Config.Migrate = {
    phones = true,
    contacts = true,
    gallery = true,
    notes = true,
    messages = true,
    calls = true,
    mail = true,
    maps = true,
    yellowpages = true,
    twitter = true,
    instagram = true,
    darkchat = true,
    recordings = true,
}

Safety Flags

SettingDefaultDescription
Config.DryRunfalseIf true, scans tables and logs counts without writing any rows. Always test with true first!
Config.BlockPlayerJoinstrueRejects joining players while migration is running.
Config.KickOnlinePlayerstrueDrops all online players before beginning migration.
Config.BatchSize200Number of rows processed per SQL batch.
Config.ForceRerunfalseBypasses the one-shot completion lock in the database.
Config.SkipExistingProfilestruePrevents overwriting already created 5M Phone profiles.

Live Console Commands

The tool registers server console commands for manual control:

  • 5m_migrate_status: Check current running state, lock status, and completion history.
  • 5m_migrate_run: Trigger a manual rerun directly from the server console.