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.
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
public static void main(
Add this and change your secret key to the one on your account
com.everythingrs.service.Service.scheduledService.scheduleAtFixedRate(new Runnable() {
@Override
public void run() {
com.everythingrs.heatmaps.Heatmap.getMap().clear();
for (Player player: PlayerHandler.players) {
if (player != null) {
com.everythingrs.heatmaps.Heatmap.getMap().put(player.getUsername(),
new com.everythingrs.heatmaps.Heatmap(player.getUsername(), player.absX, player.absY,
player.height));
}
}
com.everythingrs.heatmaps.Heatmap.update("secret_key");
}
}, 0, 5, java.util.concurrent.TimeUnit.SECONDS);
public static void main(
Add this and change your secret key to the one on your account
com.everythingrs.service.Service.scheduledService.scheduleAtFixedRate(new Runnable() {
@Override
public void run() {
com.everythingrs.heatmaps.Heatmap.getMap().clear();
for (Player player: World.getPlayers()) {
if (player != null) {
com.everythingrs.heatmaps.Heatmap.getMap().put(player.getUsername(),
new com.everythingrs.heatmaps.Heatmap(player.getUsername(), player.getPosition().getX(),
player.getPosition().getY(), player.getPosition().getZ()));
}
}
com.everythingrs.heatmaps.Heatmap.update("secret_key");
}
}, 0, 5, java.util.concurrent.TimeUnit