Top voters, goals and counts that update themselves

Show who voted most, what was voted just now and how far you are from this month’s goal, on your vote page, on your website or in the game.

What it does

  • Top voters

    By day, week, month or all time.

  • Latest votes

    Who voted, and where.

  • Counts

    Votes today, this week, this month and in total.

  • Goals

    A bar toward a number you choose.

  • In your design

    Plain HTML or JSON instead of our look.

  • In the game

    The game API returns this month’s top 25 voters.

One line per block

Set the period, the number of rows and your own heading with attributes.

your page
<div class="votescript" data-server="your-server" data-block="top" data-period="month" data-limit="10"></div>
<div class="votescript" data-server="your-server" data-block="goal" data-goal="1000"></div>
<div class="votescript" data-server="your-server" data-block="recent" data-limit="5"></div>

Or read the numbers

The public API answers JSON that any website may read, without a key.

GET
https://votescript.voterank.net/index.php?r=api/public/your-server/top&period=week&limit=3

{"ok": true, "period": "week", "players": [
  {"rank": 1, "player": "Iron Moss", "votes": 59},
  {"rank": 2, "player": "Duskwarden", "votes": 54},
  {"rank": 3, "player": "Pale Rider", "votes": 43}]}

Questions

Do leaderboards work with codes?
No. With codes there is no player name to show, so leaderboards need in-game names.
Can I turn the leaderboard off?
Yes, in the settings of your voting page.

Next

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.