Releases: FlorianSW/cftools-sdk
Releases · FlorianSW/cftools-sdk
Beta: GameLabs API support
This release adds support to some new APIs released by the CFTools API:
getServerInfo- server information of a CFTools Server entrylistGameSessions- return a list of currently active game sessionsspawnItem- spawns an item class to the player of a game sessionteleport- teleports the player of a game session to the new coordinates
Ban management
- Add support to manage ban lists
- Some minor fixes and improvements
More distinct error handling
- #1 Throw meaningful error when upstream server errors while requesting game server details
- Error with a different error code (not ResourceNotFound) when the resource basically exists but the bucket is not configured
Fix cache expiry time
v1.3.2 1.3.2
Fix overwriting default cache config
v1.3.1 1.3.1
Caching and Whitelist
- Added caching as a possibility to mitigate usages where the program would ran into rate limits of CFTools Cloud
- Added managing whitelist entries
More player details
Changes:
- When requesting player details with the
getPlayerDetailsAPI, it will expose more detailed player statistics fields, like kills, deaths, total playtime and so on
More data for leaderboard
kills and deaths are not available in the leaderboard response as well.
Fix error handling
Errors are now correctly converted to the respective error types.
Error handling and compatibility
- Added error handling for common error cases
- Build the library for es5 instead of esnext for better compatibility (e.g. nodejs)