How exactly would you IPBan a user? I made a plugin that bans anyone who uses the famous bot spammer "PWNAGE." I would like it to ban their proxies as well as their alts. edit: Code: plugin.getServer().banIP(event.getPlayer().getAddress().getHostName());
You can't ban proxies. It's just impossible to ban them all. Just ban the well-known proxies, ban the IP and get it over with. Besides, getHostName() won't get the IP, remove .getHostName() leaving getAddress().