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";
}
?>
Players Counting Setup
Download and install the Query Mod on your server. We'll automatically ping your server to check its status.
Info: In order to ping your server and show player counts, you need to download the Query Mod. It is a small mod that allows you to ping your server. Simply drop it into your mods/ folder and restart your server.
Thanks for your vote! You can vote again in 3 hours.
Add Server
Paste a YouTube URL or video ID (e.g., dQw4w9WgXcQ)
✓ Vidéo YouTube vérifiée
No countries found
Recommended: 1200x400px (max 2MB)
Square image recommended (max 1MB)
Select between 1 and 7 tags.
Votifier Settings
Votifier is optional but recommended. Configure it to let players vote for your server and receive automatic notifications.
Choose the Votifier protocol version. V1 uses RSA public key encryption, while V2 uses token-based authentication.
Paste your RSA public key from your Votifier plugin.
Token Auto-Generated A unique token will be automatically generated after server creation. You'll be able to copy it from your profile page.
Info: To receive votes from players, you need to download and install the Votifier plugin. Simply drop the .jar file into your mods/ folder and run /plugin load HSL:Votifier.
Download and install the Query Mod on your server. We'll automatically ping your server to check its status.
Info: In order to ping your server and show player counts, you need to download the Query Mod. It is a small mod that allows you to ping your server. Simply drop it into your mods/ folder and restart your server.