Releases: esx-framework/esx_core
π¨ ESX 1.11.4 Hotfix
π οΈ Fixes:
- Fixed vehicle extras not being set correctly (which lead to helicopters spawning broken out of garages, among other things)
- Fixed
esx_multichar
to properly recognize custom character slots - Fixed
esx_skin
textures resetting when navigating the menu, as well as not updating available texture variations - Fixed a race condition in the death logic that led to the deathscreen not triggering when combat logging
What's Changed
- fix(es_extended/client/functions): properly call SetVehicleExtra by @Kenshiin13 in #1504
- fix(esx_multichar/server/modules/multicharacter.lua): Added missing parameter by @1OSaft in #1508
- fix(esx_skin/client/modules/menu): fix texture variations not updating by @Kenshiin13 in #1510
- fix(esx_skin/client/modules/menu): immediately update texture variation on texture change by @Kenshiin13 in #1511
- fix(es_extended/client/main): fix player death race condition by @Kenshiin13 in #1509
Full Changelog: 1.11.3...1.11.4
π¨ ESX 1.11.3 Hotfix
What's Changed
- 1.11.2 Hotfix by @Kenshiin13 in #1479
- chore(esx_identity): clone dev version into hotfix branch by @Arctos2win in #1485
- fix(es_extended/client/functions.lua): bug fix with the menu close & closeall function by @Arctos2win in #1486
- chore(esx_core): add 2 pull request changes by @Arctos2win in #1487
- fix(es_extended/client/modules/adjustments.lua): use correct native by Kasey by @Arctos2win in #1489
- 1.11.2 hotfix by @Arctos2win in #1488
Full Changelog: 1.11.2...1.11.3
1.11.2
π¨ HOTFIX
π οΈ Fixes:
- Fix invisible bug when changing ur skin using skinchanger
- Fix problem with esx identity
- Full release of esx identity this time ( thanks to @luckie12 π )
What's Changed
- 1.11 hotfix by @Mycroft-Studios in #1450
Full Changelog: 1.11.1...1.11.2
ESX 1.11.1
- Fixes ESX Skin Issues
- Fixes statebag error
- Fixes Multicharacter not working on first load
- Fixes PlayerConnecting Failing
ESX 1.11.0
ESX 1.11.0 Release
New Features
- Default Job Duty System: Streamline your job management with our new system.
- ESX Identity UI: Enjoy a fresh, modern interface for ESX Identity.
- Custom Inventory Support: Flexibility at your fingertips, now supporting any custom inventory.
- GlobalState for Player Count: Track player counts effortlessly.
- Discord Rich Presence Support: Connect and share your game status on Discord.
- Entity Orphan Mode: Experience better vehicle persistence.
- ESX.playerId and ESX.serverId: New identifiers for enhanced functionality.
- ESX.SecureNetEvent: Keep your events secure.
- ESX.Math.GetHeadingFromCoords: Simplified coordinate handling.
- Interaction System: Interact with your environment like never before.
- ESX Progressbar Cancellation: Flexibility to cancel progress bars.
- ESX Multicharacter Overhaul: Completely rewrote for a better experience.
- ESX Chat Theme: New base resource for a custom chat experience.
- ES_Extended Overhall: Major rewrites for a smoother, cleaner, experience.
- ESX Skin Overhaul: Completely rewrote for a better experience.
- Skinchanger Overhaul: Completely rewrote for a better experience.
- Built-in Playtime Tracking: Monitor your playtime effortlessly.
Improvements
- Spawnmanager Dependency Removed: Simplified architecture.
- Deferrals from ESX Identity Removed: Streamlined processes.
- Major Security Enhancements: Your safety is our priority.
- Improved Paycheck Toggles: Now configurable per player.
- Annotations for ESX Functions: Clarity in code.
- Routing Buckets for Multicharacter: Enhanced performance and organization.
- Performance Boosts: Enjoy a smoother experience.
- ESX HUD Enhancements: Better colors and hazard lights for a vibrant UI.
- Improved Error Tracking: All errors now have track traces for easier debugging.
- Callback Error Stack Traces: Simplified error diagnostics.
- Seat Shuffle Disabled: Consistent seating experience across all seats.
Bug Fixes
- Coords Saving Correctly: No more misplaced coordinates.
- Vehicle Properties Application: Your vehicles, just the way you set them.
- Dynamic Jobs Passing Skin: Smooth job transitions with correct skins.
Miscellaneous
- Restructured es_extended: A more robust foundation.
- ESX Hud Configuration Changes: Default settings improved for a better experience.
- /skin Target Argument: More flexibility with commands.
- All Warnings Removed: A cleaner, error-free environment.
π¨WARNING π¨
This Update Increases the FXserver version requirement to 10188. ESX will NOT work on any version below that!
New Contributors
- @JustGodWork made their first contribution in #1428
- @StrixLuca made their first contribution in #1429
- @sum00er made their first contribution in #1438
Full Changelog: 1.10.10...1.11.0
1.10.10
Hotfix update π¨
This patch contains a fix for the invalid command notifications on some keybinds.
What's changed
Full Changelog: 1.10.9...1.10.10
1.10.9
Hotfix update
Hotfix update for 1.10.9
What's Changed
- π Release Hotfix 1.10.9 by @Gellipapa in #1413
- fix(es_extended/client/functions.lua) RegisterInput and HashString bug by @feelfreetofee in #1411
Commits
- e21fa00: Update simple-release.yml (Gellipapa) #1414
- cdcff80: Update simple-release.yml (Gellipapa) #1414
New Contributors
- @zImSkillz made their first contribution in #1410
Full Changelog: 1.10.8...1.10.9
1.10.8
We are pleased to announce the release of ESX Core version 1.10.8!
π¨ BREAKING CHANGES:
With 1.10.8, due to a major bug fix, the synchronization of metadata and xPlayer.set via statebags has been removed.
So now neither metadata nor xPlayer.set data are synchronized via statebagen. An older logic has been implemented that updates ESX.PlayerData
via this event esx:updatePlayerData
, which currently includes the metadata.
π Urgent bug fix:
Currently, everything flowing through xPlayer.set is being put into a statebag, aswell as all metadata , resulting in crashes. #1407
π οΈ General Improvements:
- Updated license year:
Updated the license year in cron to reflect the current year and some other license changes #1387
- Using cached ped value:
Instead of PlayerPedId() we now use ESX.PlayerData.ped in progressBar #1385
- Lowercase account check:
Account function are not case sensitive anymore. You can use money
or Money
#1379
- General improvements of ESX.Streaming functions:
More in pull request #1303
- Cache resource states:
Now the status of addon resources such as esx_progressbar for better performance #1303
- Vehicle change check:
Implemented a better way of checking if player changed vehicle #1400
π± Fixes:
- xPlayer validation:
In chatMessage handler we now validate if xPlayer is not nil value #1384
- ESX.PlayerData.name fix:
Fix ESX.PlayerData.name value being nil #1388
- Spelling mistake:
Fixed spelling mistake in German locales (de.lua) #1383
- Prevent awaiting script:
Prevent scripts from awaiting when multicharacter is set to false. Learn more in the pull request #1396
- Typo fix
Fixed a parameter typo for printing "ignoring invalid .setJob() usage" #1403
- Fix job creation function
Fixed job creation function with full transaction for jobs
and job_grades
tables #1404
- Fix notify no valid icon
Fixed notify no valid icon #1406
What's Changed
- π Sync main to dev by @Gellipapa in #1376
- tweak(Server/Classes/Player) Lowercase account check by @Mycroft-Studios in #1379
- fix(es_extended/locales/de.lua): fixed translation by @Mirrrrrow in #1383
- fix(server): attempt to index a nil value (local 'xPlayer') by @someone005 in #1384
- refactor: used cached esx ped and fixed some lua ls annotations by @Mirrrrrow in #1385
- π Fix player data name value by @Gellipapa in #1388
- fix(esx_core): correct licenses, remove license from package, update license years, create license for progressbar by @Arctos2win in #1387
- fix(ex_extended): prevent scripts from awaiting when multicharacter is false by @RrybaN in #1396
- π¦ disabled police scanner sound by @Gellipapa in #1397
- refactor(es_extended/client/functions.lua) and (es_extended/client/modules/streaming.lua) by @feelfreetofee in #1303
- fix(client/modules/actions.lua): check if vehicle changed by @Arctos2win in #1399
- fix(client/modules/actions.lua): better solution by @Arctos2win in #1400
- Typo fix by @STACHY225 in #1403
- Dev - Fix job creation with full transaction for
jobs
andjob_grades
tables by @Mesrine67 in #1404 - fix(notify): no valid icon by @someone005 in #1406
- !Refactor(core): Statebag removal and changes by @Mycroft-Studios in #1407
New Contributors
- @Mirrrrrow made their first contribution in #1383
- @someone005 made their first contribution in #1384
- @RrybaN made their first contribution in #1396
- @STACHY225 made their first contribution in #1403
- @Mesrine67 made their first contribution in #1404
Full Changelog: 1.10.7...1.10.8
1.10.7
Hotfix update
Hotfix update for 1.10.7
π± Fixes
- Remove duplicate common/functions.lua file in fxmanifest
- xPlayer.getCoords backwards compatibility
What's Changed
- fix(es_extended): xPlayer.getCoords backwards compatibility by @Arctos2win in #1374
- π¦ Hotfix 1.10.7 by @Gellipapa in #1375
Full Changelog: 1.10.6...1.10.7
1.10.6
ESX Core Update 1.10.6: Bug Fixes and New Features
We are pleased to announce the release of ESX Core version 1.10.6! This update primarily focuses on fixing bugs and introducing new features to improve the overall functionality of our framework.
π οΈ General Improvements:
- Updated License Year: Updated the license year to reflect the current year #1335 #1336.
- Better Resource Descriptions: Enhanced descriptions for resources to improve clarity and usability #1310.
- Optimized Loops: Converted some pairs & ipairs loops to numeric loops for better performance #1334.
- Enhanced Burst Tyre Saving: Improved the process for saving burst tyre data #1333.
- Typo Fixes: Corrected several misspellings in our resources #1312 #1357.
- Heading Data Storage: Player heading is now saved to the database upon leaving the game like before #1330.
- Improved CreateJob Handling: Enhanced error handling and overall functionality for the
ESX.CreateJob
feature #1355. - New Locales: Added new locales for German (
de.lua
) and Greek (gr.lua
). Thanks to JustZeroo and RoyaleWind π #1271 #1302.
π New Additions:
- Group Event Trigger: After setting a group, an event
esx:setGroup
is triggered allowing the client to retrieve the group viaESX.PlayerData.group
#1351. - Vehicle and Seat Data: In the action module, the player's vehicle and seat data are now automatically set in
ESX.PlayerData.vehicle
andESX.PlayerData.seat
#1311.if ESX.PlayerData.vehicle then print('Player is in vehicle ID: ' .. ESX.PlayerData.vehicle) print('Player is sitting in seat: ' .. ESX.PlayerData.seat) end
- Type Validation Functions: Introduced new functions
ESX.ValidateType
andESX.AssertType
as part of PR #1309. Usage described in this pull request. Soon available in new documentation. - Random Math Function: Added a new function
ESX.Math.Random
to the math module #1330.local randomNumber = ESX.Math.Random(1, 100) print('Random number: ' .. randomNumber)
- Trigger Client Event: New function
ESX.TriggerClientEvent
to trigger events for one or more clients #1342.--- @param eventName string The name of the event to trigger. --- @param playerIds table|number If a number, represents a single player ID. If a table, represents an array of player IDs. --- @param ... any Additional arguments to pass to the event handler. ESX.TriggerClientEvent('esx:test', {1, 2, 3}, test)
β Removals:
- Unnecessary Code: Deleted unnecessary code and removed redundant waiting for vehicle properties in
StateBagChangeHandler
#1296.
π± Fixes:
- Inventory Weight Sync: Fixed the client-side sync issue with
ox_inventory
setMaxWeight #1343. - Default Spawn Position: Fixed the issue with getting a random DefaultSpawn position #1356.
- Fixed Header Parameter: Fixed the header parameter in DefaultSpawnPosition #1339.
- jQuery Element Handling: Fixed jQuery issue with element IDs containing colons by using
document.getElementById
and wrapping with$()
, preventingUncaught TypeError
inesx_menu_default
#1359. - SQL Query Fix: Fixed SQL query in
main.lua
to allow deletion of rows where the table name contains special characters like hyphens #1358.
What's Changed
- Remove or statements that don't do stuff by @Arctos2win in #1298
- minimize DoesJobExist function by @Arctos2win in #1299
- Fix VehicleProperties function and remove credits by @Arctos2win in #1296
- 1.10.4 hotfix sync by @Thekuca in #1301
- mainπdev - sync by @Thekuca in #1305
- Added Greek language to multicharacter by @RoyaleWind in #1302
- refactor: add better descriptions to the fxmanifests by @Mycroft-Studios in #1310
- hotfix(es_extended/client/main.lua):reinitiating backwards compatibility with spawnmanager by @Arctos2win in #1313
- fix(es_extended/config.lua): Fix Typo Errors by @KeeganAI in #1312
- π 1.10.5 merge to main by @Gellipapa in #1317
- π Main to dev sync by @Gellipapa in #1328
- chore(LICENSE): update copyright year by @Thekuca in #1335
- chore(Β©οΈ) by @Thekuca in #1336
- perf/refactor(client/functions): replace pairs loops with for loops where possible by @itsmaty in #1334
- refactor(client/functions): refactor getting burst tyres on vehicle by @itsmaty in #1333
- fix(multicharacter/config): predefined spawn with incorrent defined heading by @itIsMaku in #1339
- added heading again for xPlayer.getCoords() by @TrymTube in #1330
- fix: ox_inventory setMaxWeight client-side sync by @tomson701 in #1343
- refactor(es_extended): put identical object related code into one file by @Arctos2win in #1346
- feat(es_extended/server/functions): add ESX.TriggerClientEvent by @Kenshiin13 in #1342
- feat: add TypeCheck to check value types by @CENSOR1337 in #1309
- Update actions.lua by @Marlox4 in #1311
- feat(Player): implement
esx:setGroup
event by @tomiichx in #1351 - Adding German Language Support by @JustZerooo in #1271
- π¦ Implemented new better createJob method by @Gellipapa in #1355
- π Fix random default spawn coords by @Gellipapa in #1356
- fix(es_extended/server/functions.lua): fixed mistyped variable by @KeeganAI in #1357
- fixed sql query main.lua by @ethandudu in #1358
- fix(esx_menu_default): jquery handling element id by @itIsMaku in #1359
- π§ Added manual run option to lint github action by @Gellipapa in #1361
- π§ Fix lint errors by @Gellipapa in #1362
- π 1.10.6 Release by @Gellipapa in #1363
New Contributors
- @RoyaleWind made their first contribution in #1302
- @KeeganAI made their first contribution in #1312
- @itsmaty made their first contribution in #1334
- @itIsMaku made their first contribution in #1339
- @tomson701 made their first contribution in #1343
- @Marlox4 made their first contribution in #1311
- @JustZerooo made their first contribution in #1271
- @ethandudu made their first contribution in #1358
Full Changelog: 1.10.5...1.10.6