Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Releases: Mobius1/esx_xp

v1.3.0

30 Jun 17:34
Compare
Choose a tag to compare
  • 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

23 Jun 16:59
Compare
Choose a tag to compare
  • 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

14 Oct 18:06
Compare
Choose a tag to compare

Fixes

  • Fix paging error on removing players
  • Fix performance issue when removing players

v1.2.1

13 Oct 09:48
Compare
Choose a tag to compare

Fixes

  • Fixed error retrieving current player #8
  • Fixed leaderboard pagination error
  • Fixed leaderboard page numbers remaining if pagination isn't required

v1.2.0

10 Oct 07:38
Compare
Choose a tag to compare

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

08 Oct 16:41
Compare
Choose a tag to compare

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

08 Oct 13:27
Compare
Choose a tag to compare

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

07 Oct 07:31
Compare
Choose a tag to compare

Fixes

  • Fixed JS reference error when leaderboard is disabled

v1.0.5

05 Oct 11:58
Compare
Choose a tag to compare

Changes

  • Allow UI key customisation with Config.UIKey

v1.0.4

05 Oct 10:53
Compare
Choose a tag to compare

Fixes

  • Fixed leaderboard sorting

Changes

  • Save xp and rank to xPlayer so they can be retrieved easily in other ESX resources