|
For better organization all tutorials can also be found at https://everythingrs.com/tutorials
EverythingRS Auto Vote Tutorial https://everythingrs.com/tutorials/r...-vote-tutorial
EverythingRS Auto Donation Tutorial https://everythingrs.com/tutorials/r...ation-tutorial
EverythingRS Hiscores Tutorial https://everythingrs.com/tutorials/r...cores-tutorial
EverythingRS Heatmaps Tutorial https://everythingrs.com/tutorials/r...tmaps-tutorial
EverythingRS Players Online Tutorial https://everythingrs.com/tutorials/r...nline-tutorial
EverythingRS Marketplace Tutorial https://everythingrs.com/tutorials/r...place-tutorial
EverythingRS Commands Tutorial https://everythingrs.com/tutorials/r...mands-tutorial
Tutorials are at the bottom. If anyone needs help with installation be sure to let me know on this thread
------------------------------------------------------------------------------------------
EverythingRS - Free Voting Installation
EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Registration and secret key
- After adding the everything-rs.jar into your project create an account at https://everythingrs.com, 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 voting 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
Spoiler for (optional) embed onto your website:
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
Spoiler for PI:
For Vencillio
Spoiler for Vencillio:
For Ruse
Spoiler for Ruse:
For Matrix
Spoiler for Matrix:
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 https://everythingrs.com/account/vote/manage
- 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
Adding several toplists
When registering onto a new toplist and asked for an optional callback use this exactly how it is.
Code:https://callback.everythingrs.com/process.php?i=
- 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"
![]()
EverythingRS - Free Donation Installation
EverythingRS is a free API system. Here's a quick tutorial on how to get started with donations.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Registration and secret key
- After adding the everything-rs.jar into your project the next step is to create an account at https://everythingrs.com, 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
Setting up your donation with Paypal
In order for the donation script to work, you must set it up with your Paypal.
- To set up your donation script to receive Paypal payments, go to your settings here
- Input your Paypal email and hit submit
Adding and removing items
Adding and removing items from your Auto Donate is simple.
- Go to your Auto Donate dashboard here
- Under "Add new product", fill out the form information, then hit submit
- To remove an item just click "Remove" next to the item that you are trying to remove
(Optional) Creating a Sale
We promote sales on our front page. This is a good way for new players to find deals on servers before joining, and for servers to earn new customers.
- To create a sale go to your Sales dashboard here
- Choose the item that you want to put on sale
- Set the expiration date, and what % off you want to make the item
- Read our notification and confirm that you commit to the sale.
Lets take a look at your new donation page
You can find your donation script at: yoursubdomain.everythingrs.com/services/store
Making the auto donate work with your server
This part of the tutorial is for PI & Ruse, 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.
- Add the code below into Commands.java and you're all done!
For PI
Spoiler for :
For Vencillio
Spoiler for :
For Ethos / Exotic
Spoiler for :
For Ruse
FinSpoiler for :
You are now finished adding the auto donation script to your website and server. If you have any suggestions for features, leave a comment and let me know.
EverythingRS - Free Hiscores Installation
EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Registration and secret key
- After adding the everything-rs.jar into your project create an account at https://everythingrs.com, 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
Spoiler for (optional) embed onto your website:
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
Add thisCode:public void destruct() {
Be sure to change "secret_key" to the secret key on your ERS account.Code: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 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 Hiscores Dashboard
![]()
EverythingRS - Realtime Heatmaps Tutorial
EverythingRS is a free API system. Here's a quick tutorial on how to get started with adding Heatmaps.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Registration and secret key
- After adding the everything-rs.jar into your project create an account at https://everythingrs.com, 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
What you are adding
Heatmaps can be used to view hotspots in the game, you can view where the wilderness hotspots are, alternatively you can view non-wilderness hotspots. Either can be disabled, so if you only want to show the wilderness hotspot you can do this.
- Red = Wilderness Hotspots
- Blue = Non Wilderness Hotspots
Making the Heatmaps work with your server
This part of the tutorial is for PI & Ruse, 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.
Spoiler for For PI:
Spoiler for For Ruse:
Fin
You are finished with the tutorial and can now view your heatmaps on your subdomain page
![]()
EverythingRS - Players Online Tutorial
EverythingRS is a free API system. Here's a quick tutorial on how to get started with adding Players Online.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
- Also register an account at EverythingRS
- Remember your secret key as you will be using it in the next section
Making the Players Online 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 your server startup (Server.java) under
Add this and change your secret key to the one on your accountCode:public static void main(
Displaying your player count on your websiteCode:com.everythingrs.playersonline.PlayersOnline.service.scheduleAtFixedRate(new Runnable() { @Override public void run() { int online = 0; for (Player player : PlayerHandler.players) { if (player != null) { online += 1; } } com.everythingrs.playersonline.PlayersOnline.insert("secret_key", online, false); } }, 0, 30, TimeUnit.SECONDS);
In your index.php place this where ever you wish to display your player count. Remember to change the secret key.
FinCode:<?php $secret = "change_this_to_your_secret_key"; $playersOnline = @file_get_contents("https://everythingrs.com/api/playersonline/get/".$secret); echo "There are currently ".$playersOnline." players online"; ?>
You are finished with the tutorial and can now view your player count on your site
Info and some documentation
Player count will update every 30 seconds. If you wish to make calls every 30 minutes just change the 5 to 30 (or to whichever number you wish) and TimeUnit.SECONDS to TimeUnit.MINUTES in the startup code. If you wish to make direct changes to the way the code works, this section will help out.
To fetch the current players online you can use this code
To set the count to whatever you wish use this codeCode:com.everythingrs.playersonline.PlayersOnline.get();
To add to the playercount use thisCode:com.everythingrs.playersonline.PlayersOnline.set(value);
To subtract from the playercount use thisCode:com.everythingrs.playersonline.PlayersOnline.increment(value);
Code:com.everythingrs.playersonline.PlayersOnline.decrement(value);
Support - Below are some snippets on how to convert the code to other bases
Converting to Ruse
EverythingRS - Free Market/Trade API Installation
EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Registration and secret key
- After adding the everything-rs.jar into your project create an account at https://everythingrs.com, 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 market subdomain!
- Go to your main panel at https://everythingrs.com/account . You should now see your market 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:
Making the Market/Trade api work with your server
This part is for PI and 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.
Spoiler for For PI:
Spoiler for For Ruse:
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 market onto your server.. This will be extremely useful for players that are looking for price guides and want to check what items are currently going for, etc.
EverythingRS - Commands Installation
EverythingRS is a free API system. Here's a quick tutorial on how to get started with commands.
Support Discord
If you need more help or for some reason cannot understand the tutorial. You can post a comment on this thread or reach us at our support Discord.
https://discord.gg/rGN8zCV
Things Included with the Commands API
At the moment we provide 5 different commands related to search which give you quicker access to our Tools page.
- :: sitem which is short for "searchitem" will give you results for RS2 items.
- :: ositem short for "Old School Item" will give you results for OSRS items.
- :: snpc short for "Search NPC" will give you results for RS2 NPCs.
- :: osnpc short for "Old School NPC" will give you results for OSRS NPCs
- :: osobject short for "Old School Object" will give you results for OSRS Objects
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
- Also register an account at EverythingRS
- Remember your secret key as you will be using it in the next section
Making the commands work with your server
This part of the tutorial is for PI & Ruse, 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.
Spoiler for For PI:
Spoiler for For Ruse:
Fin
You are finished with the tutorial and can now search for any osrs item, rs2 item, osrs npc, rs2 npcs, or osrs object quickly. If you have any suggestions for more commands be sure to let me know![]()
EverythingRS - Automated Backups with optional Dropbox Integration
EverythingRS is a free API system. Here's a quick tutorial on how to get started with adding automated backups to your server.
Getting started
- First off download our everythingrs-api.jar from here and include it into your project.
Adding automated backups to your server
Once the .jar is included in your project all you have to do is add this code to your server startup. On PI it is in Server.java, look for
and under it addCode:public class main(String args[]) {
Code:com.everythingrs.backup.EverythingRSBackups backups = new com.everythingrs.backup.EverythingRSBackups(); backups.setSource("C:\\Users\\YourName\\Desktop\\server"); backups.setOutput("C:\\Users\\YourName\\Desktop\\server\\backups"); //Every minute = 60 //Every hour = 60 * 60 //Every day = 60 * 60 * 24 //Default backups every 3 hours backups.setTime(60 * 60 * 3); backups.setMaxBackups(20); //backups.enableDropbox("auth_key"); backups.init();
- Change the file location of backups.setSource to the folder you are trying to backup.
- Change the file location of backups.setOutput to the folder you want your backups to be placed in. It is recommended that you create a empty folder for your backups as it will make the backups finish faster.
- This can be used to backup anything
. Server, Saved Games, Configs, etc.
Fin
You now have a backup system on your server, follow the next steps if you also want to add Dropbox integration to automatically upload your backups to Dropbox.
Integrating the Backup system with Dropbox
First you need to create a Dropbox account, if you don't already have one you can create one here.
After creating a Dropbox account go to https://www.dropbox.com/developers/apps. Click on "Create app"
Choose these settings, also name your app (it has to be a unique name, if you try putting something simple it might be taken already)
The next step is to generate an access token. This token will give your server access to your Dropbox. Click "generate access token" and then copy the token.
Paste that token into the "enableDropbox" code and also uncomment the code so it should look something like this after you're finished. (But with your access token)
Code:backups.enableDropbox("0tlOkHrjmIAAAAAAAAAAJOuMwmGhDae9oqrpy0F4lum-KcLpttiMYD6ZaeHvmJyG");
Done
And you're done with the Dropbox integration., after the backup is made, it will automatically upload it to your Dropbox account. By default the folder will backup every 3 hours & on server launch, the 3 hours can easily be changed to anything by editing
By default the max backup is set to 20, this is so if you're not just backing up smaller things like saves, but bigger servers that are 100MB, you don't shrink your hard drive space by having 1,000 backups. The way it works is, once you reach 20 backups, it will start deleting the oldest backup, this way you always have recent backups.Code:backups.setTime(60 * 60 * 3);
You can increase and decrease maxbackups by editing this code
Code:backups.setMaxBackups(20);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |