How to get all banned ip addresses .
And close access to registration in the game.
How to get all banned ip addresses .
And close access to registration in the game.
Currently, PlayFab does not have an API to get all banned players. Thus, there is no good way to get all banned IP addresses. If your game is still in development, you can use Segments and Tags to get all banned players. For example, you can call AddPlayerTag (e.g. "banned") every time you ban a player. In Segments, you need to config a filter rule like “tags” is “banned(you defined)” to categorize banned users. Then call GetPlayersInSegment to retrieve your ban list. Once you have all banned players, you can then call GetUserBans against these players to get all banned IP addresses.
Besides, please feel free to post an idea in our forums. If there is an API can get all bans then it will be very easy for you to get all banned IP addresses.
For your second question, if you want to close access to registration in the game, you can update your game client to remove all registration entrances. In most case this is enough, but players can still bypass this restriction with sending http request directly. If you do want to make sure no one can register a new account, you will need to use API access policy to deny all Login and Register APIs under Authentication except LoginWithPlayFab and LoginWithEmailAddress as these two API do not permit the creation of new accounts via the CreateAccount flag.
2 People are following this question.