Top 10 Scoreboard

Discussion in 'Archived: Plugin Requests' started by zaino60, Jun 18, 2013.

  1. Offline

    zaino60

    Plugin category: Micsellaneus

    Suggested name: Top 10 Scoreboards

    What I want: Last day, to improve votes on my server, i decided to make a "top voter" sistem in wich the three top voters of the month would get free vip ranks...
    To do that, i made a scoreboard and i added a votifier listener in wich added a point to the "dummy" scoreboard when someone voted. The thing is that the scoreboards in the sidebar dissapear when they reach 15 differet players names :,(
    It would be awesome a plugin that makes the scoreboard in the sidebar to show just the TOP 10 players and their points. I have seen plugins that do this, like http://dev.bukkit.org/bukkit-plugins/pvpstatsscoreboard/
    (But that one just shows your PVP stats), so this means that its possible.
    In Conclusion, I would like a scoreboard that you can create and when you set display on the sidebar, it shows just the TOP 10 players, just that :)

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No Permissions needed for this plugin.

    When I'd like it by: When its done :D
     
  2. Offline

    zaino60

  3. How and which plugin you made listen to the votes?
     
  4. Offline

    zaino60

    I use Votifier and "WerrisExecuteCommandListener" and its configured to do "/scoreboard players add <NAME> Voters 1" so it adds a point to the dummy scoreboard "Voters" that SHOULD be displayed in the sidebar but it isnt displayed because it reached more than 15 players and dissapeared :/
     
  5. Offline

    zaino60

    bump?
     
  6. Offline

    Chef301

    Try to set the max amont of players on the scoreboard? Like 3?
     
  7. Offline

    zaino60

    :O How i do that??
     
  8. Offline

    Chef301

    Im not sure, ask someone more experienced than me:)
     
  9. Offline

    zaino60

    I didin't know that could be possible, thats why i suggested a plugin that would do it

    bump :p I really need this plugin, its VERY easy to make (i think)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  10. Offline

    timtower Administrator Administrator Moderator

    zaino60 Pm me with this thread, could take an quick look at it, I only provide the commands and the scoreboard though. And I am not promising anything

    zaino60 https://www.dropbox.com/s/ytlrend49if9sw9/Top10ScoreBoards.jar
    Command: /addscore <name> <amount>
    Stores everything to an file, to clear the scores, just delete that file

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  11. Offline

    zaino60

    timtower
    it happens the same shitty thing that happens with a normal dummy scoreboard, When you reach 15 players in your scoreboard, it dissapears and never appears again! I want not a normal dummy scoreboard (you made that). I want a dummy scoreboard that shows JUST THE TOP 10 USERS with more points. Is that possible?
     
  12. Offline

    timtower Administrator Administrator Moderator

    Will change it

    zaino60 Think that I fixed it, don't know for sure https://www.dropbox.com/s/ytlrend49if9sw9/Top10ScoreBoards.jar

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  13. Offline

    zaino60

    timtower It works PERFECTLY: MANY THANKS FOR ALL YOUR WORK!
    However, if its not a problem, it would be awesome to:
    1- fix the [SEVERE] errors displayed in the console when you accidently do another command like /addscore and not /addscore <player> <points>
    2- For Better mangment, it would be awesome to add these commands: /removescore <player> <points> and /resetpoints (resets the file withouth needing to restart the server)
    3- HealthBar (http://dev.bukkit.org/bukkit-plugins/health-bar/) compatibility. You know, i had to remove HealthBar plugin so this plugin could work, because if i have both plugins at the same time, the Top voters Bar would dissapear...
    And Again, many thanks for the work you did, you are awesome :D
     
  14. Offline

    timtower Administrator Administrator Moderator

    zaino60
    1. Haven't made an check for empty arguments, very easy
    2. first part: add negative numbers, second part: Will do
    3. PM'ed the developer, asked how I make it compatible with his plugin
     
  15. Offline

    zaino60

    timtower Ho and i found 1 bug:
    When you add a string that is longer that 16 characters, the server gets bugged and kicks everyone and you cant login because it shows you this error: [​IMG]

    Also, it would be awesome to add a /top10secoreboards reload so you can easily reload the plugin when you make modifications in the file and you dont need to restart the server.
    Again, many thanks for all what you are doing :D
     
  16. Offline

    XD 3VIL M0NKEY

    timtower
    As much as this is a fantastic idea, it seems Non OP players cannot have more than 1 vote, My admins can get 6 votes, but my non-op players can only get 1 vote on the scoreboard, plus, can you make it ignore caps? If you vote with a different capitalisation to you in game name it does not log the vote on the scoreboard and logs it as a separate line in the config. I really like this idea.
    Many thanks.
     
  17. Offline

    zaino60

    lol that doesnt happen to me, make sure that the listener of votifier is working good and your players are putting their in game names correclty

    timtower Last thing (i hope):
    The scoreboard dissapears! When you add a name, it appears again but 3 seconds later it disspears :p Heres a screenshot example:
    [​IMG]

    3 seconds later...

    [​IMG]

    Can you make it so it stays forever? Thanks

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  18. Offline

    timtower Administrator Administrator Moderator

    zaino60 That is weird... I remove it to keep it at 10 players, then I rebuild again
     
  19. Offline

    zaino60

    you can join my server to test it yourself, the IP is mc.happy-hg.com
    try voting, you will see that you will get a point and you will see the scoreboard for 3 seconds, then it dissapears :(
     
  20. Offline

    XD 3VIL M0NKEY

    timtower
    Is there any way of adding a command to hide the scoreboard for an individual?
    Also, could you give it a configurable time to stay visible after every vote? Like 10 seconds or something. That would be amazing.
     
  21. Offline

    timtower Administrator Administrator Moderator

    zaino60 Will test it tomorrow
    XD 3VIL M0NKEY You are asking for an complete different version of the plugin...
    The first person has trouble that it isn't staying on, the second person wants it gone after a couple of sec, mind=cracked
     
  22. Offline

    timtower Administrator Administrator Moderator

  23. Offline

    zaino60

    timtower Okay many thanks!
    But the Scoreboard is still dissapearing :S
     
  24. Offline

    timtower Administrator Administrator Moderator

    zaino60 Don't know why that is happening, I don't have that problem, just can't get the score cleared anymore :'(
     
  25. Offline

    zaino60

    timtower
    Well can you at least do the /top10scoreboards reload command? So i dont need to reload the server to reload the plugin :D
    Also, please add the /removescore <player> so it deletes the player from the file when i do that command because /addscore <player> -X just leaves the player with 0 points and i want him out of the file so it doesnt bug the plugin

    timtower GOOD NEWS! BY DISABLING THE COMPATIBILITY OF SCOREBOARDS WITH MOB ARENA I MANAGED TO MAKE THAT THE TOP VOTER SCOREBOARD KEEP THERE PERMANTLY!
    However, I found three more annoying bugs:
    1- please fix caps so it combines the same name, i have lot of examples of this:
    4Irhe4dxX: 1
    4irhe4dxx: 2
    2- /addscore reset confirm doesnt work
    3- My scoreboard got "bugged" showing just 1 name (see screenshot) and when i want to add a name it says "An internal error ocurred while trying to perform this command" heres is my config file (If you need it): http://pastebin.com/kMJRWKzd
    And heres the SEVERE error displayed in the console when doing the Command: http://pastebin.com/8RbgG2Y9
    And heres a screenshot showing the Bugged Scoreboard:
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  26. Offline

    timtower Administrator Administrator Moderator

    zaino60 The reset score is possible, maybe I need to use it instead of clearing the entire scoreboard...
    And I know that it still has bugs in it ;) :p
     
  27. Offline

    zaino60

    timtower Well my scorebaord got very bugged, ill errase the plugin and put it again and add all the scores of the manually. But please, can you at least fix the mayus bugs and add the /top10scoreboards reload command please so it reloads the plugin withouth needing to restart server? Many thanks
     
  28. Offline

    Commander_Shran

    timtower is not your slave stop nagging him hes helping alot of people atm btw i can help with this if i got the source code
     
    timtower likes this.
  29. Offline

    timtower Administrator Administrator Moderator

    Ty for your support, really appreciate it ;)
    zaino60, first of all: The following part isn't meant to be rude,

    I am working on multiple plugins atm, working on an backpack plugin, adapting an plugin so it will support an language file.
    And I have my job, my family, my girlfriend, my little son, and everybody needs to take an brake from everything sometimes
     
  30. Offline

    zaino60

    timtower
    You are right, please tell me your paypal account, Ill pay you for all this work you are doing for me. Im really sorry, please forgive me, im just having many problems with my server because of the 1.6 and it made my nervous. Sorry for treating you like that, please tell me your mail so I can at least pay you for all the work you did for me...
    Sorry :,(
    PD: Also, i thought this plugin took just minutes to make as the PVPstatsScoreboards has this implemeted, i thought you just had to copy and paste his code and edit some thingies and it was done. However, i dont know how to code so that was just a speculation, i didint know that it took too much time making a plugin like this because it appears to be easy. Again, sorry
    PD2: Sorry for my english, my main languge is spanish and im not very good with english xD
     

Share This Page