Skip to content

[FEATURE] Block reconnecting from a wholly different geographical location #55

@hmlendea

Description

@hmlendea

Is your feature request related to a problem? Please describe.
Hello. I find it that sometimes some VPNs don't get detected by this plugin. Fortunately, in many of this cases, they are obscure VPNs with unstable connections that drop relatively often, making it necessary for the problematic player to find another such VPN to connect to the server.

Describe the solution you'd like
Block connection attempts whenever a player if their IP shows a city or country (configurable) that is different from the one they connected with in the last 2 hours (configurable).

Describe alternatives you've considered
Geoblocking everything except the country that this server is focused on, but that's not fair for the foreigners (even if currently there aren't any), and I know at least one legit person on the server that would be affected by this (he travels a lot with his work).

Another option would be to manually monitor the logs and/or the IP addresses and locations of the users, but that would be overwhelming and practically impossible. The process should be done automatically by a plugin, and I think it would fit very well into the scope of this plugin.

Additional context
image
In the screenshot we can see the user trying to connect multiple times until they succeed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions