Thread: EverythingRS Hiscores Installation [ANY BASE]

Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 148
  1. #1 EverythingRS Hiscores Installation [ANY BASE] 
    Extreme Donator

    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,680
    Thanks given
    1,474
    Thanks received
    1,914
    Rep Power
    4724
    EverythingRS - Free Hiscores 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 [Only registered and activated users can see links. ] and include it into your project.


    Registration and secret key

    • After adding the everything-rs.jar into your project [Only registered and activated users can see links. ], 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 [Only registered and activated users can see links. ] . 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


    Spoiler for (optional) embed onto your website:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
        <title>Hiscores</title>
        <style type="text/css">
            body,
            html {
                margin: 0;
                padding: 0;
                height: 100%;
                overflow: hidden;
            }
            
            #content {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                top: 0px;
            }
        </style>
    </head>
    
    <body>
        <div id="content">
            <iframe width="100%" height="100%" frameborder="0" src="https://yoursubdomain.everythingrs.com/services/hiscores/" />
        </div>
    </body>
    
    </html>


    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 under

    Code:
    public void destruct() {
    Add this

    Code:
    boolean debugMessage = false;
    com.everythingrs.hiscores.Hiscores.update("secret_key",  "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage);
    Be sure to change "secret_key" to the secret key on your ERS account.

    Fin

    You now have a working Hiscores on your server! If you have any suggestions or need help please leave a comment.

    Lets take a look at your new Hiscores





    Hiscores Dashboard

    You can remove members and add new modes from your [Only registered and activated users can see links. ]

    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]
    2. [Only registered and activated users can see links. ]
    Reply With Quote  
     


  2. #2  
    ALWAYS ASK FOR A PM BEFORE YOU PURCHASE!

    Join Date
    Jul 2011
    Posts
    1,756
    Thanks given
    471
    Thanks received
    414
    Rep Power
    249
    you should add a 718-742 revision option nonethelss good job
    [Only registered and activated users can see links. ]

    Need to talk to me or have a question?

    Add me on skype: hassan_g3450
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!


    S Quare Quxx's Avatar
    Join Date
    Jun 2007
    Posts
    8,868
    Thanks given
    1,859
    Thanks received
    4,676
    Rep Power
    5000
    Is there a reason why you are using HTTP instead of HTTPS and constructing huge URLs with all the data in it instead of sending it as form data? It's poor design and sending secrets in the url is bad



    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Officially Running

    Mr Dream's Avatar
    Join Date
    Dec 2013
    Posts
    1,474
    Thanks given
    297
    Thanks received
    205
    Rep Power
    376
    thanks alot sir
    Reply With Quote  
     

  7. Thankful user:


  8. #5  
    Extreme Donator

    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,680
    Thanks given
    1,474
    Thanks received
    1,914
    Rep Power
    4724
    Quote Originally Posted by S Quare Quxx View Post
    Is there a reason why you are using HTTP instead of HTTPS and constructing huge URLs with all the data in it instead of sending it as form data? It's poor design and sending secrets in the url is bad
    I was actually planning to rewrite it to use form data instead of passing it through GET parameters and was speaking to a friend about that not too long ago. There wasn't any specific reason behind it, and I'll be rewriting that. Thanks for catching it.

    Quote Originally Posted by DreamDesire View Post
    thanks alot sir
    No problem

    Quote Originally Posted by _hassan View Post
    you should add a 718-742 revision option nonethelss good job
    Thanks! Link me to a 718 whenever you have time and I can add a snippet for it.
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]
    2. [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #6  
    Donator
    NotWhoYouThink's Avatar
    Join Date
    Sep 2014
    Posts
    129
    Thanks given
    15
    Thanks received
    18
    Rep Power
    11
    This should help some people starting up servers. Looks pretty good. You plan on investing more time into this?
    Reply With Quote  
     

  10. Thankful user:


  11. #7  
    Extreme Donator

    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,680
    Thanks given
    1,474
    Thanks received
    1,914
    Rep Power
    4724
    Quote Originally Posted by Midgars View Post
    This should help some people starting up servers. Looks pretty good. You plan on investing more time into this?
    Yeah of course, I'm actually writing up the next API right now. And if you have any suggestions for any of the current API's or have a request for a new one let me know. I also have plans to add analytics to it, so everyone can have a better idea of how their server works. (If you have any suggestions for the analytics page let me know too)
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]
    2. [Only registered and activated users can see links. ]
    Reply With Quote  
     

  12. #8  
    Registered Member
    Join Date
    May 2017
    Posts
    147
    Thanks given
    57
    Thanks received
    47
    Rep Power
    31
    Awesome releases lately! Will be using this as well
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  13. Thankful user:


  14. #9  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    25
    Posts
    576
    Thanks given
    17
    Thanks received
    13
    Rep Power
    0
    Nicee work dude!
    Reply With Quote  
     

  15. #10  
    Registered Member
    Join Date
    Nov 2013
    Posts
    11
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Can u send me a snippet for vencillio client? thanks
    Reply With Quote  
     

Page 1 of 15 12311 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 256
    Last Post: 12-04-2018, 06:25 PM
  2. EverythingRS Voting Installation [ANY BASE]
    By Genesis in forum Tutorials
    Replies: 241
    Last Post: 12-04-2018, 06:24 PM
  3. MotivoteRS Installation Tutorial [ANY BASE]
    By funkE in forum Tutorials
    Replies: 146
    Last Post: 08-18-2018, 07:29 AM
  4. Replies: 58
    Last Post: 12-25-2011, 12:16 AM
  5. Replies: 13
    Last Post: 12-25-2008, 09:54 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •