Advertisement Advertisement
Vote API

Vote Reward System Integration

Reward System - Use the .getreward command in game

You will get java files that you must insert into your server files. If you have basic understanding of java, this will be easy to implement.

You are free to customize our files & make them suitable for your needs and wants.

For the moment, there are java files available for:

API Integration

If you have your own vote system, you can use the code below to get a reply from our site.

You can view your server ID in the links below. The format is:

https://l2servers.eu/votechecktotal.php?id=YOUR_SERVER_ID

Check if an IP has voted

Use this API to verify if a player's IP has voted in the last 24 hours

https://l2servers.eu/votecheck.php?id=YOUR_SERVER_ID&ip=x.x.x.x

Here's an example using your current IP (216.73.216.174):

Please log in to see your server links.

The above link is generated with your IP as an example.

Configure your system to generate the actual player's IP when checking votes.

This will return a JSON response with has_voted set to 1 (true) or 0 (false).