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

Page 108 of 135 FirstFirst ... 85898106107108109110118 ... LastLast
Results 1,071 to 1,080 of 1344
  1. #1071  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  2. #1072  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord!

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  3. #1073  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    RuneNexus has been added as a voting option!
    Reply With Quote  
     

  4. #1074  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  5. #1075  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  6. #1076  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  7. #1077  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  8. #1078  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    How to make it give vote tokens instead


    Be sure to put the vote token in your vote panel (and only the vote token). Afterwards you can use this code. What it will do is choose the first item in the vote panel (which should be the vote token and only that) and give it to the player based on how many votes they have. Enjoy

    Spoiler for Make sure to put only the vote token in the vote panel:
    Code:
    if (playerCommand.startsWith("reward")) {
                    final String playerName = c.playerName;
                    final String id = 1;
                    final String amount = "all";
    
                    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) {
                                    c.sendMessage(reward[0].message);
                                    return;
                                }
                                c.getItems().addItem(reward[0].reward_id, reward[0].give_amount);
                                c.sendMessage(
                                        "Thank you for voting! You now have " + reward[0].vote_points + " vote points.");
                            } catch (Exception e) {
                                c.sendMessage("Api Services are currently offline. Please check back shortly");
                                e.printStackTrace();
                            }
                        }
    
                    });
                }
    Reply With Quote  
     

  9. #1079  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

  10. #1080  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Join our Discord

    https://discord.gg/rGN8zCV
    Reply With Quote  
     

Page 108 of 135 FirstFirst ... 85898106107108109110118 ... LastLast

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. 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
  •