2- Send your player to the following link: https://topofmmos.com/site/{SERVER_ID}/{GENERATED_TOKEN}.
3- You can check if the player has voted for your server by sending a GET Request to https://topofmmos.com/api?key={API_KEY}&TokenID={GENERATED_TOKEN}&srvid={SERVER_ID}. This will return to you the server id that the player has voted for.
Basic API Script:
Steps to follow:
1- You can choose a redirection link for your server after your players vote for you (Where the script below should be executed) Under Account->My Sites, choose your server and click on edit.
2- Generate your API Key at Settings->API Settings->Generate API Key.
3- At your game's Vote/Reward page, paste the script down below.
4- Modify "YOUR-API-KEY" part with the key that you have generated earlier.
5- Modify $ServerID = 0 part with your server ID that can be found under Account->My Sites, choose your server and click on edit.
6- Your check is ready and you can give the player his reward under the //Give reward part.
Example: Ready to use KalOnline PHP Vote & Rewards script:
Can easily be modified to be used in other MMORPGs as well!