question

Steffan avatar image
Steffan asked

LoginWithServerCustomId and player IP & country code

Hi, in my game players used to log in using the Client API, meaning their country and IP address would get saved to their player account. However, I've recently switched to having players authenticate through my own game server first and then my server logs them in using LoginWithServerCustomId which is really cool, but now all my players have the country and IP of my server location. This is a problem for me because now I can't do IP bans anymore, as every player shares the same IP address now, which is the server itself.

Can I pass the client's information in my LoginWithServerCustomId call somehow?

Custom Game Servers
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

·
Infer Wang avatar image
Infer Wang answered

Unfortunately, it’s not supported. You may implement IP bans in your server.

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.