Skip to Content
FrameworksESX LegacyOverview
Report an error
Open in ChatGPTOpen in Claude

ESX Legacy Framework Overview

ESX  is the oldest FiveM roleplay framework still under active development, started in 2017. ESX Legacy is the maintained line; everything labelled ESX 1.1, ESX 1.2 or “ESX Final” is obsolete.

Current state

Core resourcees_extended
Repositoryesx-framework/esx_core 
LicenseNo LICENSE file in the repository
Stars453 (2026-10-20)
Latest release1.16.4 (2026-10-18)
Last push2026-10-20
DatabaseMariaDB via oxmysql 
Default inventoryesx_inventory (bundled since recent releases)
ℹ️

ESX ships five releases in a typical quarter. If you read that ESX is unmaintained, check the releases page  — that claim has been out of date for years.

esx_core, not esx-legacy

ESX is distributed as a monorepo, not as separate resource downloads. Guides that tell you to clone es_extended and a dozen esx_* repositories separately describe a pre-2021 layout.

Clone esx_core and you get the [core] folder with everything the framework needs already wired together:

ResourcePurpose
es_extendedThe framework core
esx_libShared library used by the core resources
esx_inventoryBundled inventory
esx_identityCharacter identity registration
esx_multicharacterCharacter selection
esx_skin / skinchangerAppearance system
esx_contextContext menus
esx_menu_default, esx_menu_dialog, esx_menu_listLegacy menu styles
esx_notifyNotifications
esx_progressbarProgress bars
esx_textuiOn-screen text prompts
esx_loadingscreenLoading screen
esx_chat_themeChat styling
cronScheduled task runner
esx_whitelistIdentifier and Discord-role whitelist, disabled by default

The separate ESX-Legacy-Addons  repository holds the job, shop and property resources.

Architecture in one page

  • ESX object — resources get a shared ESX table, then call ESX.GetPlayerFromId(source) on the server to obtain an xPlayer.
  • xPlayer — the per-player object. Identified by identifier (a Rockstar or license identifier), not by a generated citizen id.
  • Accounts — money lives in named accounts: money, bank, black_money.
  • Jobs — defined in the jobs and job_grades database tables, with numeric grades. ESX is the framework that keeps jobs in SQL rather than in a Lua file.
  • Society accounts — shared job funds, handled by esx_addonaccount.

Full structure reference →

Server configuration

The recipe’s server.cfg sets these, and they matter:

sv_enforceGameBuild 3095 set onesync on set mysql_connection_string "mysql://user:password@localhost/es_extended?charset=utf8mb4" setr esx:locale "en"

onesync on is required for ESX Legacy 1.7.5 and later. esx:locale falls back to the language selected in txAdmin if you leave it commented out.

Documentation

Next steps