Skip to Content
Report an error
Open in ChatGPTOpen in Claude

ESX Legacy Core Resources

ESX  splits its resources across two repositories. Knowing which is which saves a lot of searching.

The esx_core monorepo

esx-framework/esx_core  holds the [core] folder — the framework and the resources it depends on.

ResourcePurpose
es_extendedThe framework core
esx_libShared library used across the core resources
esx_inventoryBundled inventory
esx_identityCharacter identity registration
esx_multicharacterCharacter selection
esx_skinAppearance editing
skinchangerPed component and prop manipulation
esx_contextContext menus
esx_menu_defaultClassic list menu
esx_menu_dialogText input dialog
esx_menu_listScrollable list menu
esx_notifyNotifications
esx_progressbarProgress bars
esx_textuiOn-screen text prompts
esx_loadingscreenLoading screen
esx_chat_themeChat styling
cronScheduled task runner used for paychecks and cleanup
esx_whitelistIdentifier and Discord-role whitelist with an in-game admin panel

esx_whitelist ships with Config.Whitelist.Enabled = false, so every player can connect until you enable it in config/main.lua. Discord mode reads the bot token from set discord:botToken "..." in server.cfg (use set, never setr, so the token stays server-side).

The repository also ships a [SQL] folder (only legacy.sql) and a reference server.cfg. Start order matters: oxmysql, then esx_lib, then es_extended, then [core].

The addons repository

esx-framework/ESX-Legacy-Addons  holds the [esx_addons] folder — the gameplay.

Jobs

esx_policejob, esx_ambulancejob, esx_mechanicjob, esx_taxijob, esx_jobs, esx_joblisting, esx_service and esx_billing.

esx_service is the on-duty system the job resources share; esx_joblisting is the job centre players use to change jobs.

Economy and society

ResourcePurpose
esx_bankingBank UI and transfers
esx_societySociety (job-owned) accounts and boss menus
esx_addonaccountThe account backend societies are built on
esx_addoninventoryShared job inventories
esx_datastoreGeneric key-value storage for jobs and players
esx_shopsRetail shops
esx_weaponshopWeapon retailers
esx_vehicleshopVehicle dealerships
esx_lscustomVehicle customisation

esx_addonaccount and esx_addoninventory are dependencies of most job resources. If a job’s boss menu shows an empty balance, one of these is usually missing.

Player systems

esx_basicneeds (hunger and thirst), esx_optionalneeds, esx_status (the status backend both build on), esx_license, esx_dmvschool, esx_property, esx_garage, esx_accessories, esx_clotheshop, esx_barbershop, esx_animations, esx_hud, esx_scoreboard, esx_rpchat, esx_cruisecontrol, esx_boat, esx_drugs and esx_adminmenu.

ℹ️

esx_status is the framework other need systems register against. Removing it breaks esx_basicneeds, the death system and any third-party script that reads a status value.

Other official repositories

Common community replacements

DefaultFrequently replaced with
esx_inventoryox_inventory 
esx_menu_*ox_lib menus and dialogs
—ox_target  for third-eye interaction
esx_propertyA paid housing script

Swapping the inventory means converting the item database and auditing every resource that calls addInventoryItem. Do it before launch.

Paid replacements are listed, among other stores, under ESX scripts on RPScripts . RPScripts and FiveM Docs are operated by the same owner. Check each listing’s declared ESX Legacy version and dependencies before buying.

Next steps