First download our everythingrs-api.jar from here and include it into your project.
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.
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
This part is for PI but can easily be changed to work with any server. If you have a request for a specific server let me know and I can add it to the tutorial.
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);