Repository navigation
Releases
Releases · olmescode/DataModule
v2.0.0
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
Release Notes - [v1.1.0]
New Features
- Added
isLoadingDatafunction to check if the server is currently loading player data. - Introducing
waitForDataLoadAsyncfunction to yield until a player's data has loaded. - Implemented
hasLoadedfunction to check if the server has finished loading player data. - Added
hasLoadingErroredfunction to identify if there were errors during data loading. - Introduced
getLoadErrorfunction to retrieve the error type encountered during loading. - Added
loadedDataa 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.