Vote rewards for App or website
Pay credits from your backend with one API call, by SQL, or react to a signed webhook.
Vote for Emberfall
ExampleVoting as Iron Moss
2 of 3 voted
VoteRank Vote here first
Voted. Again in 11 h 42 minTopG
Voted. Again in 2 h 02 minServerTilt
Waiting for the list to confirmCreate your vote page
Sign up, name your server and choose App or website. Setup fills in the usual settings: players enter “Your user name”.
Tell us about your server
Add your toplists
Paste the link of your server on each list. For this game, VoteRank, TopG, ServerTilt and others are ready.
VoteRank Recommended
TopG
Choose the reward
Any word your backend understands.
Reward for every vote
Create an API key
Open Game server in the dashboard and create a key. It is shown once. You need it in the next step.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Waiting for the first call from your game
Connect the game
Choose one of these ways. Each has its own files and settings below.
Try it
Open a vote site in your dashboard, use Send a test vote with your own name, then look at your account in the game.
Your vote reward has been delivered.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Your game has used a key
API or webhook
Call claim from your backend, or receive each vote with a signed webhook.
Credits in your own database
Statement from public sources, test it on a copyAn example: use your own table.
This pays into the database your game already uses. The program runs on your own machine, and VoteScript never gets your database login.
Step 1
No game code: the delivery program pays every confirmed vote by itself. Download it and run it once.
$ php votescript-delivery.php
Created votescript.ini. Fill it in and start again.
Step 2
Set up votescript.ini like this. Replace the key, the database name and the login.
Give your reward the key credits in the dashboard, so it finds this statement.
[votescript] url = "https://votescript.voterank.net" key = "YOUR_KEY" mode = "sql" [database] dsn = "mysql:host=127.0.0.1;dbname=YOUR_DATABASE;charset=utf8mb4" user = "" password = "" [sql] credits = "UPDATE users SET credits = credits + :amount WHERE username = :player" check = "SELECT 1 FROM users WHERE username = :player"
Step 3
Start it again and send a test vote from your dashboard.
$ php votescript-delivery.php
Iron Moss: paid 10 x Credits
Toplists for App or website
VoteRank is recommended for every game. Lists marked “test first” have a format we only found in other people’s code.
If it does not work
The command says there is nothing to claim
Votes are not checked right now
Rewards stay waiting
A reward says it waits
Nothing arrives from a toplist
Do it yourself
The API, webhooks and clients work with any game.
GuideConnect your gameWhen a player types your command, the game asks VoteScript what is waiting and hands it out.
GuideRewards, bonuses and streaksStart with one reward per vote: an item, a day of VIP, a title, a teleport. Add a bonus and a streak when the first one works.
GuideToplist callbacksA callback is how a toplist tells VoteScript that someone really voted. Lists also call it postback, incentive, pingback or webhook. You paste one address per list.
Give your players one place to vote
Your page is live as soon as you create your server. You can connect the rest step by step.

