Thread: EverythingRS Voting Donate Hiscores Heatmaps Installation & More [ANY BASE]

Page 123 of 123 FirstFirst ... 2373113121122123
Results 1,221 to 1,225 of 1225
  1. #1221  
    Perplexity owner

    Join Date
    Feb 2011
    Posts
    171
    Thanks given
    32
    Thanks received
    15
    Rep Power
    0
    is there any possible way to display levels higher than 99 on the hiscores? and the total level to go with it?
    Reply With Quote  
     

  2. #1222  
    Registered Member
    Join Date
    Apr 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Discord
    View profile
    Rep Power
    0
    Where there's a will, there's a way.
    Reply With Quote  
     

  3. #1223  
    Registered Member
    Join Date
    Aug 2019
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Looking very nice! and can someone help me to do this with nocturne 876 base? would be awesome
    Reply With Quote  
     

  4. #1224  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,017
    Thanks given
    1,499
    Thanks received
    1,967
    Rep Power
    4898
    Quote Originally Posted by Gyeongkaito View Post
    Looking very nice! and can someone help me to do this with nocturne 876 base? would be awesome
    By chance do you have a link to the base?

    For Kronos


    In CommandHandler.java

    Under

    Code:
    private static boolean handleRegular(Player player, String query, String command, String[] args) {
    Add

    Code:
    if (command.startsWith("reward")) {
          if (args.length == 1) {
            player.sendMessage("Please use [::reward id], [::reward id amount], or [::reward id all].");
            return true;
          }
          final String playerName = player.getName();
          final String id = args[1];
          final String amount = args.length == 3 ? args[2] : "1";
     
          com.everythingrs.vote.Vote.service.execute(new Runnable() {
            @Override
            public void run() {
              try {
                com.everythingrs.vote.Vote[] reward = com.everythingrs.vote.Vote.reward("secret_key",
                  playerName, id, amount);
                if (reward[0].message != null) {
                  player.sendMessage(reward[0].message);
                  return;
                }
                player.getInventory().add(reward[0].reward_id, reward[0].give_amount);
                player.sendMessage(
                  "Thank you for voting! You now have " + reward[0].vote_points + " vote points.");
              } catch (Exception e) {
                player.sendMessage("Api Services are currently offline. Please check back shortly");
                e.printStackTrace();
              }
            }
     
          });
        }
     
        if (command.startsWith("claim")) {
          new java.lang.Thread() {
            public void run() {
              try {
                com.everythingrs.donate.Donation[] donations = com.everythingrs.donate.Donation.donations("secret_key",
                  player.getName());
                if (donations.length == 0) {
                  player.sendMessage("You currently don't have any items waiting. You must donate first!");
                  return;
                }
                if (donations[0].message != null) {
                  player.sendMessage(donations[0].message);
                  return;
                }
                for (com.everythingrs.donate.Donation donate: donations) {
                	player.getInventory().add(donate.product_id, donate.product_amount);
                }
                player.sendMessage("Thank you for donating!");
              } catch (Exception e) {
                player.sendMessage("Api Services are currently offline. Please check back shortly");
                e.printStackTrace();
              }
            }
          }.start();
        }
    Reply With Quote  
     

  5. #1225  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,017
    Thanks given
    1,499
    Thanks received
    1,967
    Rep Power
    4898
    Quote Originally Posted by Perplexity View Post
    is there any possible way to display levels higher than 99 on the hiscores? and the total level to go with it?
    Yes, this is supported in the Hiscores. If you need any help with it please let me know.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. MotivoteRS Installation Tutorial [ANY BASE]
    By funkE in forum Tutorials
    Replies: 147
    Last Post: 02-19-2019, 11:40 PM
  2. Replies: 8
    Last Post: 03-05-2018, 11:06 PM
  3. Setup Ruse Vote/Donate/Hiscores
    By NoahLH in forum Buying
    Replies: 6
    Last Post: 04-07-2017, 07:47 PM
  4. Replies: 6
    Last Post: 09-15-2016, 01:24 AM
  5. [PayPal] 718 MySQL [Vote,Donations,Hiscores]
    By King Indigo in forum Buying
    Replies: 8
    Last Post: 04-01-2016, 08:49 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
  •