EverythingRS - Hiscores Tutorial

Join Our Support Discord If you need more help or for some reason cannot understand the tutorial please join our support Discord. We're always available to help!

Getting Started

Registration and secret key

  • After adding the everything-rs.jar into your project the next step is to create an account, once the account is created you must register onto the toplist as we use the toplist data in many of our api's.
  • Now go to your dashboard and you should see your secret key

Your Hiscores subdomain!

  • Go to your main panel at https://everythingrs.com/account . You should now see your voting URL in the "Your API Pages" section
  • (OPTIONAL) If you wish to embed the script on your website you can add the code below directly onto your website. Change "yoursubdomain" to the one that was provided to you

Making the Hiscores work with your server

  • This part of the tutorial is for PI, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for.
In Client.java (can also be Player.java depending on the server) under
public void destruct() {
Add this and be sure to change "secret_key" to the secret key on your ERS account.
boolean debugMessage = false;
com.everythingrs.hiscores.Hiscores.update("secret_key", "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage);

Fin

  • You now have a working Hiscores on your server! If you have any suggestions please let us know on your Discord!

Lets take a look at your new Hiscores

Hiscores Dashboard

  • You can remove members and add new modes from your Hiscores Dashboard.