Keep your reward plugin, add every toplist
VoteScript confirms each vote and sends it to your game as a Votifier vote. The plugin that already pays your voters sees one more vote.
Send votes to your Votifier5 steps
What you need
- Votifier, NuVotifier or our RSPS jar running in your game
- Its port reachable from outside
- Player names on your vote page, not codes
See how it works
The toplist confirms the vote to VoteScript. VoteScript connects to your game and hands it over. If your game cannot be reached, it is tried again.
Find the token or the public key
NuVotifier: copy the default token from its config. Older Votifier: copy everything in rsa/public.key. The token is the better choice, because it proves that the vote came from us.
plugins/
Votifier/
config.ymlcopy
plugins/
Votifier/
rsa/
public.keycopy
data/votes/
votescript.propertiescopy
rsa/
public.key
Enter it in VoteScript
Open Webhooks and scroll to Send votes to Votifier. Enter the address, the port and the token or public key.
Send votes to Votifier
Send a test vote
Enter your own player name and press Send a test vote. VoteScript says whether it was delivered, or why not.
Vote received from VoteScript.test for Steve_01
Pay in one place
Your plugin now pays for these votes. Remove the rewards in VoteScript and do not use its claim command as well, or players are paid twice.
Rewards
No rewards yet
Without rewards VoteScript still counts votes.
If it does not work
The game server cannot be reached
No Votifier answers on this port
My plugin ignores the votes
Nothing is sent in code mode
Next
GuideVotifier and NuVotifierFor lists that send votes over Votifier. Use the bridge on any machine, or the plugin on a Spigot or Paper server.
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.
GuideCommon problemsFollow one vote from the click to the game. Stop at the first step that does not look like the picture.
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.

