question

seehundy avatar image
seehundy asked

How to update other player data needs a detailed explanation

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Client API won’t have the permission to edit other players’ data, and only Server/Admin API can do. Usually we recommend using Cloud Script/Azure Function, where Server API can be called.

Since Client API can execute Cloud Script/Azure Function, please remember to add verification steps before certain APIs are called. The function needs to verify if the caller is valid, or this execution is valid, to avoid abusive use from malicious players.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.