Open Trikolon opened 6 years ago
Gained some more insight: The error occurs because of this check for valid ip: https://github.com/alphartdev/BungeeAdminTools/blob/master/src/main/java/fr/Alphart/BAT/Modules/Ban/Ban.java#L216
Since the regex for the IP check only matches IPv4 it will treat IPv6 adresses as "players" and will send those to the Mojang API. The API returns a null pointer, hence the exception.
@Trikolon You mean REGEX recognises only ipv4 ? So v6 is detected as a player.
The plugin doesn't seem to support IPv6 connections. I've just tested this by connecting to a BungeeCord instance via IPv6: