Jump to content
Sign in to follow this  
Genesis

EverythingRS Voting Installation

Recommended Posts

EverythingRS - Free Voting Installation

EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting.

Getting started

  • First off download our everythingrs-api.jar from

    Please login or register to see this link.

    and include it into your project.

Registration and secret key

  • After adding the everything-rs.jar into your project

    Please login or register to see this link.

    , 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 fWlKyhh.png

Your voting subdomain!

  • Go to your main panel at

    Please login or register to see this link.

    . 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
 

 

Please login or register to see this code.

 

5PtxrJy.png

Y43oM58.png

Edited by Genesis

Share this post


Link to post
Share on other sites


Making the auto vote work with your server

This part is for PI & Ruse 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.

  • Add the code below into Commands.java and you're all done!
  •  

For PI

Please login or register to see this code.


For Vencillio

In PlayerCommand.java under

Please login or register to see this code.

Add

Please login or register to see this code.

For Ruse

In CommandPacketListener.java

under

Please login or register to see this code.

Add

Code for Ruse

 

Please login or register to see this code.

Edited by Genesis

Share this post


Link to post
Share on other sites

For Other Servers

The script is compatible with any base, if you however need help adding it to a specific one, leave a link to the base and I'll add it to the tutorial.


Fin

You are now finished adding the auto vote onto your server. Continue if you want to learn how to add and remove items, and adding support for several toplists.


Adding and removing items

  • Adding and removing items is incredibly simple. Go to you voting dashboard at 

    Please login or register to see this link.

  • Once there go to the "Add new reward" section, and you can proceed to enter the reward information (item id, item name, item points, item amount)
  • To remove a reward just press the red "x" button
  • The voting script goes by a point system. So for each vote on a toplist your players will get a certain amount of points which is set by you.
  • To claim an item and use your points type ::reward x in-game

JZ57sU0.png

kTFPwRN.png

Adding several toplists

When registering onto a new toplist and asked for an optional callback use this exactly how it is.

Please login or register to see this code.

  • Once you enter the callback, go onto EverythingRS and in your AutoVote place your toplist id
  • If you want to only show toplists that you are registered on, check the "Do not display listings as "unregistered" if I have decided not to add it"

7mKvUks.png

Edited by Genesis

Share this post


Link to post
Share on other sites

I've updated the tutorial.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×