Skip to content

Releases

v2.0.0

Choose a tag to compare

@olmescode olmescode released this 21 Nov 16:24
aff2029

DataModule v2.0.0

API Changes

All APIs now use the player object instead of userId for better clarity and consistency

  • loadDataAsync(dataStore, player, data): Updated to use the player object instead of userId.
  • saveDataAsync(player, resetOnPlayerRemoving): Updated to use the player object instead of userId.
  • saveData(player, valueName): Updated to use the player object instead of userId.
  • retrieveData(player, valueName): Updated to use the player object instead of userId.
  • updateData(player, valueName, value): Updated to use the player object instead of userId.
  • deleteData(player, valueName): Updated to use the player object instead of userId.
  • setData(player, dataStore, valueName, value): Updated to use the player object instead of userId.

Improved Performance

  • The updated APIs contribute to improved overall performance.

Bug Fixes

  • None

Known Issues

  • None

Release Highlights

  • APIs now utilize player object for enhanced usability
  • Improved performance across the board
  • Easier to use APIs

Additional Notes

For more information on the new APIs, please refer to the documentation.

v1.1.0

Choose a tag to compare

@olmescode olmescode released this 18 Nov 18:57

Release Notes - [v1.1.0]

New Features

  • Added isLoadingData function to check if the server is currently loading player data.
  • Introducing waitForDataLoadAsync function to yield until a player's data has loaded.
  • Implemented hasLoaded function to check if the server has finished loading player data.
  • Added hasLoadingErrored function to identify if there were errors during data loading.
  • Introduced getLoadError function to retrieve the error type encountered during loading.
  • Added loadedData a new event that fires when the player's data has finished loading.

Improved Performance

  • The new APIs make it easier to check if a player's data has loaded and to wait for it to load before accessing it.
  • The code has been optimized to improve performance.

Bug Fixes

  • None

Known Issues

  • None

Release Highlights

  • New APIs for managing player data
  • Improved performance

Additional Notes

For more information on the new APIs, please refer to the documentation.