var BanUsersRequest = {
"Bans" : [{
"PlayFabId" : currentPlayerId, "Reason" : args.reason}] };
server.BanUsers(BanUsersRequest);
Hi I am automatically banning the player with the above function:
(When cheating is found on the client)
When using this function, can IP also be banned??, just like Ban setting n the game manager?
In other words, when I run the Ban ServerApi, I don't know the client's ip address in the beginning.
so BanRequest.IPAddress is null (in above bracket)
i want to ban playerID and the player's recent ip address too.
(player's recent ip address that can only know in gamemanager)
What should I do?
Currently, after having Ban with server.BanUsers, i am manually applying the ip ban
in game manager