A vote page on your own domain
Download ready files, upload them to your hosting and change anything. They are filled in with your server and talk to VoteScript for votes, callbacks and rewards.
Publish
Our hostingScript tagAPIYour hosting
- HTML and JavaScriptsettings in config.jsDownload
- PHPsettings in .envDownload
- Next.jssettings in .env.localDownload
What it does
HTML
One page, no build step, any web host.
PHP
Drawn on your server, works without JavaScript.
Next.js
Server components and a server action.
Three settings
Address, server and, for PHP and Next.js, an API key.
Yours to change
Plain files with plain styles.
Same data
Mix with the hosted page, the widget and the API.
What is in the download
A small folder you can read in a few minutes. The key goes in the settings file of the PHP and Next.js versions, never in a browser.
votescript-php/
.envedit
index.php
lib.php
style.css
README.md
Questions
Is this the whole VoteScript?
It is the page that players see. Accounts, callbacks and the reward database stay with us, so you do not run a database.
Do I have to update it?
Only if you want new features in your copy. The hosted page updates by itself.
Next
GuideHost the page yourself4 steps with pictures
FeatureWebsite embedPaste two lines. Players vote without leaving your site, and the list looks right on any design because your styles cannot reach inside.
FeatureAPI and headlessA secret API for your game, a public API for your website, and signed webhooks for everything else. Small clients without dependencies save you the typing.
FeatureHosted vote pageEvery toplist on one page, with what is done, what is waiting and when the next vote opens. It has its own address and is live as soon as you create your server.
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.

