Put your votes on your website
Works on any site where you can paste HTML.
Embed on your website4 steps
What you need
- A server in VoteScript
- Access to the HTML of your website
Allow your website
Open Publish, then Script tag, and add your domain. The widget stays blank on every other site.
Tip:
example.com also covers www.example.com. *.example.com allows all subdomains.Publish
Our hostingScript tagAPIYour hosting
Allowed websitesemberfall.exampleOne domain per line. Blocks stay blank everywhere else.
SavePaste the code
Paste it where the list should appear. The dashboard shows it filled in with your server. Choose what you want to show:
HTML
<script src="https://votescript.voterank.net/embed.js" async defer></script> <div class="votescript" data-server="your-server"></div>
HTML
<script src="https://votescript.voterank.net/embed.js" async defer></script> <div class="votescript" data-server="your-server" data-mode="button" data-label="Vote for us"></div>
HTML
<script src="https://votescript.voterank.net/embed.js" async defer></script> <div class="votescript" data-server="your-server" data-block="top" data-period="month" data-limit="10"></div>
HTML
<script src="https://votescript.voterank.net/embed.js" async defer></script> <div class="votescript" data-server="your-server" data-block="goal" data-goal="1000"></div>
Look at your page
Reload your website. The list takes the height it needs and follows the visitor’s light or dark mode.
You should now see: Your vote list, inside your own design.
Tip: Force a theme with
data-theme="dark" or "light".Vote for Emberfall
ExampleVoting as Iron Moss
2 of 3 voted
1
VoteRank Vote here first
Voted. Again in 11 h 42 min2
TopG
Voted. Again in 2 h 02 min3
Arena-Top100
Waiting for the list to confirmFill in the player
If players log in on your website, pass their name and they can vote at once.
HTML
<div class="votescript" data-server="your-server" data-player="Zezima"></div>
If it does not work
The widget is blank
The domain is not allowed yet. Add it exactly as in the address bar.
Nothing appears at all
Your website may block scripts from other sites. If it has a Content-Security-Policy, allow the VoteScript address in script-src and frame-src.
I want my own design
Add data-style="none" for plain HTML with class names, or use the API.
Next
GuideHost the page yourselfYou host the page, VoteScript keeps the votes, callbacks and rewards.
GuideDiscord and webhooksPaste one address and every counted vote is posted. The second half shows signed webhooks for your own systems.
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.
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.

