For those who are having trouble with hopzone or any other website that uses ipv6.
Let's start by saying that it should be common sense for them to disable ipv6 on their side and make everyone's lives easier.
There are two ways to bypass this problem.
1. Add the vote links inside your game. In older clients, you will need some client modifications to allow hyperlinks that open a browser. Instead of adding directly your hopzone link, add your website passing in the account's name. For example "
https://myserver.com/vote?account=testYour website must support ipv6. Then, your website checks your user's IP and if it is IPv6, it adds it to a column in the accounts table. So, instead of just the column last_ip, add a second one, like last_ipv6.
If an account has the last_ipv6 filled, when you make the post request to hopzone, check for the last_ipv6 value.
2. Allow ipv6 to your website and once someone browses it, make a simple GET request to this website using javascript.
https://api.ipify.org/This will return the IPv4 IP of the user. Once you have both, store them in a database. You now have the matches between these two.