es_extended
Reference
Exact-name reference for exports, helpers, commands, callbacks, events, config keys, and player methods in sure-es_extended.
Reference
This page is a compact exact-name reference for the current implementation.
Exports
getSharedObject
- File:
shared/main.lua - Purpose: return the shared
ESXobject - Notes: this is the primary integration export
runStaticPlayerMethod
- File:
server/init.lua - Purpose: bridge static compatibility wrappers to loaded player methods and properties
- Notes: used by
imports.lua
Compatibility helpers
ESX.Player(src)
- File:
imports.lua - Purpose: return a static proxy for a loaded player by source or identifier
- Return: proxy object or
nil - Notes: property keys such as
job,group,identifier,accounts,inventory,loadout,name, andcoordsare mapped to getter methods
ESX.ExtendedPlayers(key?, val?)
- File:
imports.lua - Purpose: return static player proxies from
ESX.GetExtendedPlayers - Return: array of proxies or grouped table when
valis an array
Shared functions
General helpers from shared/functions.lua
ESX.GetRandomString(length)ESX.GetConfig(key?)ESX.GetWeapon(weaponName)ESX.GetWeaponFromHash(weaponHash)ESX.GetWeaponList(byHash)ESX.GetWeaponLabel(weaponName)ESX.GetWeaponComponent(weaponName, weaponComponent)ESX.DumpTable(table, nb?)ESX.Round(value, numDecimalPlaces?)ESX.ValidateType(value, ...)ESX.AssertType(...)ESX.IsFunctionReference(val)ESX.Await(conditionFunc, errorMessage?, timeoutMs?)
ESX.Math from shared/modules/math.lua
ESX.Math.RoundESX.Math.GroupDigitsESX.Math.TrimESX.Math.RandomESX.Math.GetHeadingFromCoords
ESX.Table from shared/modules/table.lua
ESX.Table.SizeOfESX.Table.SetESX.Table.IndexOfESX.Table.LastIndexOfESX.Table.FindESX.Table.FindIndexESX.Table.FilterESX.Table.MapESX.Table.ReverseESX.Table.CloneESX.Table.ConcatESX.Table.JoinESX.Table.TableContainsESX.Table.SortESX.Table.ToArrayESX.Table.Wipe
Server services
Player services
Core.SavePlayerCore.SavePlayersESX.GetExtendedPlayersESX.GetNumPlayersESX.GetPlayerFromIdESX.GetPlayerFromIdentifierESX.GetPlayerFromIdentifiersESX.GetPlayerIdFromIdentifierESX.IsPlayerLoadedESX.GetIdentifierESX.GetIdsByJobCore.IsPlayerAdmin
Callback service
ESX.RegisterServerCallback
Command service
ESX.RegisterCommand
Item service
ESX.RegisterUsableItemESX.UseItemESX.GetItemLabelESX.GetItemsESX.GetUsableItemsESX.RefreshItems
Job service
ESX.RefreshJobsESX.GetJobsESX.DoesJobExistESX.CreateJob
Vehicle service
ESX.GetVehicleType
Utility service
ESX.Trace
OneSync service
ESX.OneSync.GetPlayersInAreaESX.OneSync.GetClosestPlayerESX.OneSync.SpawnVehicleESX.OneSync.SpawnObjectESX.OneSync.SpawnPedESX.OneSync.SpawnPedInVehicleESX.OneSync.GetPedsInAreaESX.OneSync.GetObjectsInAreaESX.OneSync.GetVehiclesInAreaESX.OneSync.GetClosestPedESX.OneSync.GetClosestObjectESX.OneSync.GetClosestVehicle
Client services
Player data
ESX.IsPlayerLoadedESX.GetPlayerDataESX.WaitForPlayerLoadedESX.GetItemLabelESX.SearchInventoryESX.SetPlayerDataESX.GetAccount
Callback bridge
ESX.TriggerServerCallback
Spawn
ESX.DisableSpawnManagerESX.SpawnPlayerCore.FreezePlayer
Notification and UI
ESX.ShowNotificationESX.ShowAdvancedNotificationESX.ShowHelpNotificationESX.ShowFloatingHelpNotificationESX.DrawMissionTextESX.HashStringESX.RegisterInputESX.UI.Menu.RegisterTypeESX.UI.Menu.OpenESX.UI.Menu.CloseESX.UI.Menu.CloseAllESX.UI.Menu.GetOpenedESX.UI.Menu.GetOpenedMenusESX.UI.Menu.IsOpen
Game helpers
ESX.GetVehicleTypeClientESX.Game.SpawnObjectESX.Game.SpawnLocalObjectESX.Game.DeleteObjectESX.Game.GetObjectsESX.Game.GetClosestObjectESX.Game.GetClosestEntityESX.Game.GetPedsESX.Game.GetPlayersESX.Game.GetPedMugshotESX.Game.GetClosestPedESX.Game.GetClosestPlayerESX.Game.GetPlayersInAreaESX.Game.GetShapeTestResultSyncESX.Game.RaycastScreenESX.Game.TeleportESX.Game.Utils.DrawText3DESX.Game.DeleteVehicleESX.Game.SpawnVehicleESX.Game.SpawnLocalVehicleESX.Game.IsVehicleEmptyESX.Game.GetVehiclesESX.Game.GetClosestVehicleESX.Game.GetVehiclesInAreaESX.Game.IsSpawnPointClearESX.Game.GetVehicleInDirectionESX.Game.GetVehiclePropertiesESX.Game.SetVehicleProperties
Scaleform and streaming
ESX.Scaleform.ShowFreemodeMessageESX.Scaleform.ShowBreakingNewsESX.Scaleform.ShowPopupWarningESX.Scaleform.ShowTrafficMovieESX.Scaleform.Utils.RequestScaleformMovieESX.Scaleform.Utils.RunMethodESX.Streaming.RequestModelESX.Streaming.RequestStreamedTextureDictESX.Streaming.RequestNamedPtfxAssetESX.Streaming.RequestAnimSetESX.Streaming.RequestAnimDictESX.Streaming.RequestWeaponAsset
ExtendedPlayer methods
Accounts
getAccountsgetAccountsetAccountMoneyaddAccountMoneyremoveAccountMoneygetMoneysetMoneyaddMoneyremoveMoney
Inventory
getInventorygetInventoryItemaddInventoryItemremoveInventoryItemsetInventoryItemcanCarryItemhasItem
Job
getJobsetJob
Loadout
getLoadoutaddWeaponaddWeaponComponentaddWeaponAmmoupdateWeaponAmmosetWeaponTintgetWeaponTintremoveWeaponremoveWeaponComponentremoveWeaponAmmohasWeaponComponenthasWeapongetWeapon
Metadata
getMetasetMetaclearMeta
Variables and identity
isAdmingetIdentifiersetGroupgetGroupgetNamesetNamegetSourcegetPlayerIdsetget
Utility
triggerEventsetCoordsgetCoordskickexecuteCommand
Config keys
settings/public.lua
accountshybrid_datastarterspawn_pointsadmin_groupsdistance_givedebug_inventory_loadoutidentifier
settings/locale.lua
locale
settings/ui.lua
offsetnotification.default_limitnotification.default_timeout
settings/adjustments.lua
disable_health_regenerationdisable_vehicle_rewardsdisable_npc_dropsdisable_dispatch_servicesdisable_scenariosdisable_aim_assistdisable_vehicle_seat_shuffledisable_display_ammoenable_pvpenable_wanted_levelbasic_actionsremove_hud_componentsmultiplierscustom_ai_plate
settings/addons/optimize.lua
syncs.no_peds_syncsyncs.no_objects_syncsyncs.no_particles_sync
Command reference
Observed built-in commands:
setcoordstpsetjobcarcardeldvfixrepairsetaccountmoneygiveaccountmoneyremoveaccountmoneygiveitemgiveweapongiveammogiveweaponcomponentclearclsclearallclsallrefreshjobsrefreshitemsclearinventoryclearloadoutsetgroupsavesaveallgroupjobinfocoordstpmgotobringkillfreezeunfreezenoclipplayerssetdimsetbucket
Callback names
esx:getPlayerDataesx:isUserAdminesx:getGameBuildesx:getPlayerNamesesx:spawnVehicleesx:getVehicleType
Major event names
esx:onPlayerJoinedesx:playerLoadedesx:onPlayerSpawnesx:onPlayerDeathesx:playerDroppedesx:playerSavedesx:setJobesx:setGroupesx:setAccountMoneyesx:onAddInventoryItemesx:onRemoveInventoryItemesx:jobsRefreshedesx:registerSuggestionsesx:setInventoryesx:updatePlayerData