Flatfile Scoreboard

Discussion in 'Archived: Plugin Requests' started by Reptar_, Mar 31, 2013.

  1. Offline

    Reptar_

    Suggested name: xScores

    What I want: I want a plugin that uses the ScoreboardAPI and shows the player his kills and deaths. I need all of the stats to save into a flatfile, not MySQL, because the stats in the flatfile will be reset making MySQL unnecessary. Here's what the flatfile should look like when it has stats recorded:
    Code:
    Reptar:
    kills: 10
    deaths: 2
     
    Player-2:
    kills: 3
    deaths: 7
     
    Player-3:
    kills: 1
    deaths: 5
    
    For the on-screen scoreboard display, it should look like this:
    Code:
    Stats <--- Should be BOLD and colored LIGHT RED.
    Kills: 10
    Deaths: 2
    
    Ideas for commands:

    • /scoreclear - Clears the flatfile of all stats.
    Ideas for permissions:

    • None, as the command will only be execute by the console.
    When I'd like it by: Some time this week. Maybe in two days?
     
  2. Offline

    Reptar_

    I really need this! No other plugins do what I need.
     
  3. Offline

    ccrama

  4. Offline

    Reptar_

    Still waiting.
     
  5. Offline

    StevenMG

    I really like this idea. i will have to check first if this is possible with the current version of Bukkit since the scoreboard system hasn't been out for very long. I'll look into this once I have access to my main PC.
     
  6. Offline

    -_Husky_-

    I do believe this is possible.
     
  7. Offline

    Reptar_

    So someone should make this. :D
     
  8. Offline

    Reptar_

    Still waiting for someone to try making this.
     
  9. Offline

    Reptar_

    Stilllllll waiting.
     
  10. Offline

    KylexDavis

    I really want to see this made for my KitPvP Server.
    +1
     
  11. Offline

    grmds

    I want too
     
  12. Offline

    Reptar_

    Since everyone wants this, someone should totally make it!
     
  13. Offline

    Codisimus

    I am guessing no programmer wants to do this bc they see no point in saving this information in the scoreboard and a flatfile.
     
    unforgiven5232 likes this.
  14. Offline

    Reptar_

    Doesn't the scoreboard receive the information from the flatfile?
     
  15. Offline

    GoldSchmiedi

    You know that the Scoreboard doesn't work on Craftbukkit, but it's coming later...
    Or if anyone got a Craftbukkit that work with /scoreboard please send me!
     
  16. Offline

    ccrama

    ScoreBoard API is implemented in the latest Dev Build(s)
     
  17. Offline

    StevenMG

    Yeah, I think it is implemented. I have several other projects I am working on ATM though. :( If nobody else does this I might eventually.
     
  18. Offline

    TGF

    I could take it too ;)
     
  19. Offline

    PixelatedTNT

    I Would love to see this created and possibly open source. Something like this would be cool:

    [​IMG]
     
  20. Offline

    Burnsalan18

    I likes it a lot so I wants to makes it. I kinda prefer not to make my plugins open source but ill make an exception for this.
     
    Reptar_ likes this.
  21. Offline

    Reptar_

    Thanks so much! And it doesn't have to open source.
     
  22. Offline

    aronuserparty98

    Yes. Yes it has to.

    /Aron
     
    Williscool98 likes this.
  23. Offline

    Reptar_

    Ok xP
     
  24. Offline

    unenergizer

    I've only just started programming for bukkit and currently I have no plugins available. However I think I can make this with some small modifications. Give me about a week to attempt to build it. If I am able to get something out that does this, then expect it to be kinda clunky and slow at first.
     
  25. Offline

    Rockon999

  26. Offline

    Reptar_

  27. Offline

    unenergizer

    I have started on this plugin. It requires me to learn some techniques that I am not familiar with. That is partially why I want to give this a go. For fun and for practice!

    Give me a few days to get everything figured out code wise. I will be making a few modifications to the original request to improve performance of the plugin. One example is, instead of storing each user's data in one big yml file, I will make a seperate yml file for each user. This will increase the speed that the plugin will run and will keep the server from having to go through many many lines of usernames and data.

    Current File Path Idea:
    Plugins>pluginFolderName>data>username.yml (replace username with the actual username of the player, each player has a separate yml file for performance reasons)
    Plugins>pluginFolderName>config.yml

    username.yml contains:
    kills:
    deaths:

    Doing it this way, I can extend on the plugin to include many more user stats. I'll update this as I figure more out.
     
  28. Offline

    kreashenz

    I can do this, but not the Scoreboard.. I can make a /stats command to show your stats. ( Kills, deaths, KDR, Streak(if necessary))
     
    unenergizer likes this.
  29. Offline

    stuntguy3000

    I am helping Kreashenz make it w/ scoreboard!

    @Reptar_

    Plugin completed.

    Commands:
    clearscores:
    description: Reset the scoreboards.
    permission: xscore.clearscores

    Source | Download | BukkitDev

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
    kreashenz likes this.
  30. Offline

    games647

Share This Page