Vote button & rank badge
Vote link
Your slug is shown in the dashboard. Add the player's name so the callback can reward them:
Link
https://runescapeprivateservers.com/vote.php?server=YOUR-SLUG&userid=PLAYERNAMEAlso accepted instead of userid: user, username, incentive, id. Player names may use letters, digits, space, _ and - (max 32).
HTML button with live rank badge
HTML
<a href="https://runescapeprivateservers.com/vote.php?server=YOUR-SLUG&userid=PLAYERNAME" target="_blank" rel="noopener">
<img src="https://runescapeprivateservers.com/badge.php?server=YOUR-SLUG" width="200" height="56" alt="Vote for us on RuneScape Private Servers">
</a>The badge is an SVG image that shows your current rank and votes this month; it updates at every rebuild. It links back to your vote page, which helps players find you.
From the game client
Java
// Java client: open the vote page for the logged-in player
java.awt.Desktop.getDesktop().browse(new java.net.URI(
"https://runescapeprivateservers.com/vote.php?server=YOUR-SLUG&userid=" + java.net.URLEncoder.encode(playerName, "UTF-8").replace("+", "%20")));Vote hub
Listed on other toplists too? Add those vote links in the dashboard and they appear as a simple list on your server page, so players can vote everywhere from one place.