Stats Plugin

Discussion in 'Plugin Requests' started by arjunp, Jan 3, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    arjunp

    Plugin category: Custom Command (Stats)

    Suggested name: Stats

    What I want:
    I want a stats plugin which includes Kills, Deaths, Balance and Overall Rank. Overall rank would be based on the amount of kills the player has and based off that they would be ranked by position. For example if person 1 had 10 kills and person 2 had 8 kills. Person 1's overall rank would be #1 and person 2's overall rank would be #2. If a new player joins the server, I want that players overall rank to be the last position. For example if my server had 25 players online and a new players joins, I want that new players rank to be #26. When that new players starts getting kills, their overall rank would decrease, as the aim is to have the best overall rank. And if you could include a config.yml file where I could customize the colours of the text that would be good. I want this plugin for a kitpvp server. Could you make the plugin support 1.8. This plugin is NOT a scoreboard plugin, when the player does /stats their stats should appear in the chat.
    Thank you very Much! :)

    Ideas for commands: The commands would be /stats (for your own stats) and /stats [player] (to see other people's stats).

    Ideas for permissions: stats.see.self and stats.see.other

    When I'd like it by: By the 10/01/16
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    arjunp

    @timtower I don't think that plugin supports overall rank. Correct me if i am wrong.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @arjunp It indeed does not, but a plugin can be written that hooks into the given stats plugin to handle that.
     
  5. Offline

    arjunp

    @timtower To be honest, I have no clue on how to use and install that plugin. :p
     
  6. Offline

    timtower Administrator Administrator Moderator

    @arjunp Like any other plugin: drag and drop, and maybe configure it, think it uses mysql.
     
  7. Offline

    arjunp

    BUMP
     
  8. Offline

    87pen

    I will begin working on this plugin on the 9th of January, 2016. And finish this plugin by the end of January 10th, 2016. Just for clarification. Would their rank be set to the rank under the lowest currently ON the server or the rank under the lowest ranking player in the database?
     
  9. Offline

    MasterDoctor

    It would be lowest in the database
     
  10. Offline

    arjunp

    @87pen
    Yes what @MasterDoctor said, it would be the lowest in the database.

    Thank you soo much for taking the time to help me. :)
     
  11. Offline

    87pen

    I began this last night and I am nearing completion. I just have to finish grabbing and displaying ranks and I will be finished! Your project was more complicated than I expected so thanks for making it fun for me! I am currently on mountain time. I have work from 10am to 4pm so I will be finished your plugin at around 5:30pm Mountain Time.
     
  12. Offline

    Lolmewn

    It does; Stats 3 even supports flatfile now :) Not to mention its API supports other plugins adding other StorageEngines, so someone could make a SQLEngine and make Stats use that haha
     
    timtower likes this.
  13. Offline

    arjunp

    @87pen Thank you soo much
     
  14. Offline

    madtomic

    @Lolmewn

    I love your plugin but finish toward a stable release before starting on a whole new version. I am still waiting for you to update achievements and highscores!
     
  15. Offline

    Lolmewn

    @madtomic Achievements is underway (should be available in March), highscores will be up next. Stats itself is pretty stable already, just want to finish up the commands a bit.
     
  16. Offline

    madtomic

    @Lolmewn

    Great to hear! I can't wait to see it release!
     
  17. Offline

    87pen

  18. Offline

    arjunp

    @87pen Don't be sorry, thank you soo much for helping me!! :)
    Can you make it so the plugin can /stats players even if they are offline
    For example if i were to /stats Steve it would allow me to to do it even though 'Steve' is not on the server.



    By the way if I were to ask you to make a 1.7.10 version of the plugin, would it be hard or would it be easy?
    Because if you have the time, can you please also make a 1.7.10. But ONLY do this if you want. I don't want to cause you any trouble
    Thank You!!
     
    Last edited: Jan 12, 2016
  19. Offline

    87pen

    @arjunp Ah no problem! I will export it for 1.7 and add the offline function now.

    UPDATE!
    Download: https://www.dropbox.com/s/8cnzy492qlto3jf/Stats 1.7.jar?dl=0
    Version: 1.7
    Features: Tracks all players kills and deaths and PvP rank!
    Commands: (/stats <playername>) or (/stats) for your own.
    Bugs: Currently none known.

    UPDATE!
    Download: https://www.dropbox.com/s/otkux5pj02apdrt/Stats 1.8.jar?dl=0
    Version: 1.8
    Features: Tracks all players kills and deaths and PvP rank!
    Commands: (/stats <playername>) or (/stats) for your own.
    Bugs: Currently none known.
     
    Last edited: Jan 12, 2016
  20. Offline

    arjunp

    @87pen Thank you soo much!! :) :D

    @87pen I have having problems, I use a spigot 1.7.10 server (Host: MCProHosting) and the stats 1.7 plugin is not working. The server does not recognise it, therefore the commands are not working.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 12, 2016
  21. Offline

    87pen

    Any errors in console?
     
  22. Offline

    arjunp

    @87pen
    There are errors in the console. The following shows what it says

    The following screenshots are pictures of the console showing the errors below:

    https://gyazo.com/5de16929ebe238ce1a7e475610c23e47
    https://gyazo.com/a7ce287f11710dc59403f2d2e79bca41
    https://gyazo.com/3fa29cca5b819373ac89a73c6a200e80

    Thank You

    Code:
    12.01 15:52:39 [Server] INFO ... 6 more 12.01 15:52:39 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:39 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:39 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:39 [Server] INFO at java.lang.Class.forName0(NativeMethod) ~[?:1.7.0_72] 12.01 15:52:39 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:39 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:39 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:39 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:39 [Server] INFO at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO atjava.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO atjava.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO atjava.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_72] 12.01 15:52:38 [Server] INFO Caused by: java.lang.UnsupportedClassVersionError: me/kowagatte/stats/Stats : Unsupported major.minor version 52.0 12.01 15:52:38 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO atnet.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO atnet.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:152) [Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO atorg.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO atorg.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:258) [Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:336) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[Spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95] 12.01 15:52:38 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/kowagatte/stats/Stats : Unsupported major.minor version 52.0 12.01 15:52:38 [Server] ERROR Could not load 'plugins/Stats 1.7.jar' in folder 'plugins'
     
    Last edited by a moderator: Jan 16, 2016
  23. Offline

    arjunp

    @87pen Are you able to fix these issues?
     
  24. Offline

    87pen

    This isn't a developer plugin. Well.. sorta. I don't want to downgrade to java 1.7 because your server is either 1.7 or 1.6. I run java 1.8 so my plugins are exported in java 1.8 ask your server host to upgrade your server to java 1.8.
    UPDATE!
    Download: https://www.dropbox.com/s/8cnzy492qlto3jf/Stats 1.7.jar?dl=0
    I tried a different 1.7 bukkit version see if this is the problem.
     
  25. Offline

    timtower Administrator Administrator Moderator

    @87pen Hosts generally don't update their java versions.
    Exporting with java 7 makes it work again.
     
  26. Offline

    87pen

    @timtower Really? How do they still have clients if they are not willing to update their java version?
     
  27. Offline

    timtower Administrator Administrator Moderator

    Because we ask the developers to compile with java 7 instead.
     
  28. Offline

    87pen

  29. Offline

    RealEmpire

  30. Offline

    87pen

    @RealEmpire Sorry to get defensive but yours just looks prettier. Does it have a ranking function or KDA?
     
Thread Status:
Not open for further replies.

Share This Page