Releases: Mobius1/esx_xp
Releases · Mobius1/esx_xp
v1.3.0
- Add ability to call user-defined function on rank-up / down (can still listen for "rankUp" / "rankDown" events).
- Added more admin-only commands
Breaking Changes
v1.2.3
- Fixed leaderboard showing during XP update (only shows when manually showing UI)
- Fixed rank change events not firing
- Added admin-only commands
v1.2.2
Fixes
- Fix paging error on removing players
- Fix performance issue when removing players
v1.2.1
Fixes
- Fixed error retrieving current player #8
- Fixed leaderboard pagination error
- Fixed leaderboard page numbers remaining if pagination isn't required
v1.2.0
Fixes
- Wait for player to spawn before initialising resource
- Fix leaderboard if no players found
- Fix UI not hiding after timeout
Changes
- Added
esx_xp:ready
event to allow user to wait for resource to be ready for use
AddEventHandler("esx_xp:ready", function(data)
local currentXP = data.xp
local currentRank = data.rank
local xPlayer = data.player
-- esx_xp is ready for use
end)
v1.1.1
Fixes
- Fixed leaderboard sorting (Chrome bug)
- Fixed
ESXP_RemoveFakePlayers
command not working correctly
Changes
- Added export
ESXP_TimeoutUI
- Added export
ESXP_SortLeaderboard
- Added
ESXP_SortLeaderboard
demo command
v1.1.0
Fixes
- Fixed timeout bug causing UI to be incorrectly hidden
- Fixed demo notification error
Changes
- Added pagination to leaderboard to prevent overflow - See issue
- Added
PerPage
variable to Config.Leaderboard
to control number of players displayed per page
v1.0.6
Fixes
- Fixed JS reference error when leaderboard is disabled
v1.0.5
Changes
- Allow UI key customisation with
Config.UIKey
v1.0.4
Fixes
- Fixed leaderboard sorting
Changes
- Save xp and rank to xPlayer so they can be retrieved easily in other ESX resources