duration - Time window in minutes (optional, default: 180)
Response:
The API returns a JSON object:
voted - Player has voted within the specified duration
nickname - Player's nickname if provided during vote
voted_at - Timestamp of the vote
PHP Example (3 hours verification):
<?php
$vote_verif = file_get_contents('https://hytale-servers.best/api/vote-verification?server_id=YOUR_SERVER_ID&ip=127.0.0.1&duration=180');
if($vote_verif == 1) {
echo "Player has voted in the last 3 hours";
} else if($vote_verif == 0) {
echo "Player has not voted in the last 3 hours";
}
?>
Verify you're human
Please complete the verification below to vote
Vote recorded!
Thanks for your vote! You can vote again in 3 hours.
Add Server
No countries found
Recommended: 1200x400px (max 2MB)
Square image recommended (max 1MB)
Select between 1 and 7 tags.
To add a server, you need to login or create an account.