Core Resources
Overview of every ESX Legacy 1.16.4 core resource in [core], what each one does, which are required, and the recommended ensure order for server.cfg.
The [core] folder of ESX Legacy contains es_extended plus a set of small
resources that provide the UI, character creation, inventory and utilities the
framework relies on. This page lists every core resource in ESX Legacy 1.16.4,
what it does and whether you can remove it.
Resource overview
| Resource | Purpose | Side | Required? |
|---|---|---|---|
| esx_lib | Shared library (xLib): callbacks, streaming, points, validation, SQL catalog | Shared | Yes, es_extended depends on it |
| es_extended | The framework itself: players, jobs, accounts, items | Shared | Yes |
| esx_notify | Toast notifications behind ESX.ShowNotification | Client | Yes in practice |
| esx_textui | Persistent prompt behind ESX.TextUI | Client | Yes in practice |
| esx_progressbar | Timed progress bar behind ESX.Progressbar | Client | Yes in practice |
| esx_context | Mouse context menus and small forms (ESX.OpenContext) | Client | Yes in practice |
| esx_menu_default | Classic keyboard menu (ESX.UI.Menu, type default) | Client | Needed by most addons |
| esx_menu_dialog | Text and number input dialog (type dialog) | Client | Needed by most addons |
| esx_menu_list | Table-style list menu (type list) | Client | Needed by some addons |
| skinchanger | Applies ped model, clothes and face data | Client | Yes, ESX.SpawnPlayer waits for it |
| esx_skin | Character appearance editor and skin storage | Shared | Yes for character creation |
| esx_identity | Registration form: name, date of birth, sex, height | Shared | Yes for character registration |
| esx_multicharacter | Character selection with several slots per player | Shared | No |
| esx_inventory | Default slot inventory and storages | Shared | Unless you use ox_inventory |
| esx_whitelist | Identifier or Discord-role whitelist with admin panel | Shared | No (disabled by default) |
| esx_loadingscreen | Loading screen while connecting | Client | No |
| esx_chat_theme | Visual theme for the cfx chat resource | Client | No |
| cron | Daily scheduled tasks via cron:runAt | Server | Only for addons that use it (esx_society, esx_vehicleshop) |
Yes in practice
es_extended does not list these as manifest dependencies, but its client
functions call them directly. If one of them is missing, ESX.ShowNotification,
ESX.TextUI, ESX.Progressbar or ESX.OpenContext throws
Resource [name] is Missing!.
Recommended ensure order
The official txAdmin recipe starts the core like this:
ensure chat
ensure oxmysql
ensure esx_lib
ensure es_extended
ensure [core]
ensure [standalone]
ensure [esx_addons]ensure [core] starts every resource in the folder. Each resource declares its
dependencies in fxmanifest.lua (for example esx_multicharacter depends on
esx_context, esx_identity and esx_skin), so FiveM starts them in a valid order.
If you list resources one by one, follow the dependency order:
ensure chat
ensure oxmysql
ensure esx_lib
ensure es_extended
ensure cron
ensure esx_notify
ensure esx_textui
ensure esx_progressbar
ensure esx_context
ensure esx_menu_default
ensure esx_menu_dialog
ensure esx_menu_list
ensure skinchanger
ensure esx_skin
ensure esx_identity
ensure esx_multicharacter
ensure esx_inventory
ensure esx_whitelist
ensure esx_loadingscreen
ensure esx_chat_themeLeave out the optional resources you do not use. See server.cfg for the full file.
Explore the core resources
esx_lib
esx_notify
esx_context
esx_menu_default
esx_inventory
esx_multicharacter
esx_whitelist
cron
Related
Frequently asked questions
Independent documentation
Last updated on
Client Events
Every esx client event in ESX Legacy 1.16 - playerLoaded, setJob, vehicle and death events - with parameters, sender, handler examples and security notes.
esx_lib
esx_lib reference for ESX Legacy. Load xLib, use callbacks, cache, points, NUI, rate limiting, tokens, pub/sub and every module with signatures.