An easy to use JavaScript implementation to talk with the CFTools Cloud API from your JavaScript project.
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/FlorianSW/cftools-sdk/compare/v3.3.0...v3.3.1
Published by FlorianSW 2 months ago
Full Changelog: https://github.com/FlorianSW/cftools-sdk/compare/v3.2.0...v3.3.0
Published by FlorianSW 5 months ago
Full Changelog: https://github.com/FlorianSW/cftools-sdk/compare/v3.1.7...v3.2.0
Published by FlorianSW 9 months ago
Building a client without credenntials would result in errors when the client is executed. This was fixed in this release.
Published by FlorianSW 9 months ago
With this release you can add low-level http debugging. Main use case is to get an idea of how a response looks like when an error occurs.
Note: While the SDK will try to redact all sensitive information, like enterprise tokens, application id and secrets and alike, it is still not guaranteed, that all sensitive information will be removed. When using this, use it with caution and do not send the logs to someone you do not trust.
Example:
new CFToolsClientBuilder().withHttpClient((auth) => new GotHttpClient(httpClient(true, {
enableDebugLogging: true,
logBody: true,
}), auth))
Published by FlorianSW 11 months ago
Published by FlorianSW 11 months ago
Published by FlorianSW 11 months ago
Published by FlorianSW 11 months ago
Published by FlorianSW 11 months ago
Published by FlorianSW 11 months ago
With this release, the new v2 version of the player details API is used.
Published by FlorianSW 12 months ago
With this release, two new features are added:
Published by FlorianSW about 1 year ago
Alpha release to incorporate new statistics key.
See https://discord.com/channels/373098389174484992/865686257111924777/1150485766875664444
Published by FlorianSW about 1 year ago
CFTools GameLabs' CFCloud_SpawnPlayerItem
API supports two optional parameters, which were not supported in cftools-sdk. This release adds them (stacked
and debug
).
Published by FlorianSW over 1 year ago
Published by FlorianSW over 1 year ago
A player profile in a game session might not have an avatar, which was previously not handled gracefully.
Published by FlorianSW over 1 year ago
GameSession
interfacePublished by FlorianSW almost 2 years ago
CFTools Cloud released a new API version to incorporate newly crafted GameLabs action endpoints. This action endpoint replaces the so-far used v0/server/serverApiId/gameLabs/teleport
and v0/server/serverApiId/gameLabs/spawn
endpoints, which were included as a beta version.
This release updates the beta methods teleport()
as well as #spawnItem()
methods to use the new API endpoints. It also added more exposed API for other GameLabs actions as well a low-level API to execute raw GameLabs actions (either ones which are not yet in the SDK or provided by a third-party extension through GameLabs).
Published by FlorianSW about 2 years ago
This release contains updates to dependencies, only. No new or changed features were introduced.
Published by FlorianSW about 2 years ago
In a recent update to the CFTools Data API, the /v1/users/lookup
endpoint now requires authentication as well, in order to prevent certain malicious uses of it.
This release adjusts this in the SDK.