question

i54ro09jhfop avatar image
i54ro09jhfop asked

EntityID and cheating

I want to know whether my client can abuse EntityID. There are many opportunities for clients to access EntityID. ("PlayFabClientAPI.LoginWithCustomID", "PlayFabMultiplayerAPI.GetMatch", etc.) It is even possible to get someone else's id. Can I allow clients to do this? I know that "PlayFabEconomyAPI.AddInventoryItems" for example is not allowed to be called by the client, but are there any other functions I should be aware of? Or should all of the above functions be executed in a cloud script?

Player Data
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

·
Gosen Gao avatar image
Gosen Gao answered

Since the EntityId is an identifier which is used to get player relevant information, it is very common for players to know their own EntityId, and also know the EntityId of other players. For example, the Matchmaking - Get Match - REST API (PlayFab Multiplayer) | Microsoft Learn you mention, the client needs to know the EntityId of the other players so the client can know who they will be playing with. And you don’t need to warry about the abuse. By default, using the SessionTicket and EntityToken of the client, players can only modify some unimportant data of themselves.

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.