Hey.
How can I ban the player using CloudScript?
I have made script like that:
but I am getting error like:
can someone help me?
Hey.
How can I ban the player using CloudScript?
I have made script like that:
but I am getting error like:
can someone help me?
According to Account Management - Ban Users - REST API (PlayFab Server) | Microsoft Docs, the request should be like:
server.BanUsers({Bans:[{PlayFabId:currentPlayerId,Reason:"No reason"}]})
16 People are following this question.