ClientStats [Bukkit/Spigot] 2.8.5

Track how many players joined and their versions

  1. MTC
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://github.com/MineTheCube/ClientStats
    The plugin is in beta. Please report any bugs in the discussion!
    Want to run this on Bungee? Here you are!

    .
    [​IMG]



    Description
    Did you ever asked yourself how many players joined your server since startup ? And what is the most used version ? The average playtime ? Then this plugin is what you need !

    [​IMG]

    To use version detection, your server has to accept multiple versions of Minecraft, but it's not mandatory. To accept different versions, you can use one of these:
    - ViaVersion (use latest)
    - ProtocolSupport (use latest)
    - Spigot protocol hack (1.7/1.8)

    [​IMG]


    Installation
    No configuration is needed, just drag and drop the file ClientStats.jar into your plugins folder. A config will be created, that you can edit to change all the messages as your needs.


    Commands
    The base command is /clientstats, but there are shorter alias: /cstats, /cs or /scs.

    Command list:
    /cstats stats - Statistics of the day
    /cstats version - Versions of player who joined
    /cstats online - Versions of currently online players
    /cstats player [player] - Version of a player
    /cstats reset - Reset tracked stats
    /cstats reload - Reload configuration
    /cstats - Display theses commands


    Permissions
    You only need the following permission to access to every commands of the plugin: clientstats.admin

    Also, to be excluded from statistics, you need to have this permission: clientstats.exempt

    But you can give only access to some parts with these permissions:
    - clientstats.cmd.stats
    - clientstats.cmd.version
    - clientstats.cmd.online
    - clientstats.cmd.player
    - clientstats.cmd.reset
    - clientstats.cmd.reload


    Developper API
    Use ClientStats API to access to stats, or get protocol/version name of a player. After adding ClientStats.jar to your build path, fetch API like that:
    Code (Java):
    // Get ClientStatsAPI
    ClientStatsAPI cstats = ClientStats.getApi();
    // Check if it is useable
    if (cstats != null && cstats.isVersionDetectionEnabled()) {
        // Get a player
        Player p = Bukkit.getPlayer("Notch");
        // Get his protocol version (e.g.: 47)
        int protocolVersion = cstats.getProtocol(p.getUniqueId());
        // Get the version name (e.g.: "1.8 - 1.8.9")
        String versionName = cstats.getVersionName(protocolVersion);
    }
    See Github project for sources and API.


    Bugs & suggestions
    Do NOT use reviews for bugs or suggestions, but please post it in discussion with many details as needed :)
    .

Recent Updates

  1. Add 1.12.2
  2. Add 1.12.1 & bug fix
  3. Add 1.12 and latest snapshots

Recent Reviews

  1. Roadhog360
    Roadhog360
    5/5,
    Version: 2.8.5
    Great plugin. Keeps track of how many players use new and old versions!
    Could I make a request in PMs? PM me if so.
    1. MTC
      Author's Response
      Thanks! You can submit suggestions in the discussion, PMs or in an issue on GitHub :)
  2. KMinecraftPL
    KMinecraftPL
    5/5,
    Version: 2.8.5
    Brilliant! I need these features! My only and last question is: I want to use it with Skript plugin (& it's add-ons), so if for example player joins from 1.12 they get an apple, if from 1.8 they get a diamond etc.? If not, please, could you make a Skript addon for this plugin soon? I'll love you for that. ~NorteX (a.k.a. KMinecraftPL IGN)
    1. MTC
      Author's Response
      Thanks for the review :)
      For the suggestion, send me PM so we can talk about this!
  3. EshanK711
    EshanK711
    5/5,
    Version: 2.8.5
    Great plugin! Very helpful with all its features! Just needs that database but other then that its perfect!
    1. MTC
      Author's Response
      Thank you very much for this review! I appreciate it a lot :)
  4. SirCodeBrahs
    SirCodeBrahs
    5/5,
    Version: 2.8.5
    This plugin has a lot of statistics which I need to track how popular my server is to each and every player. To see what version they like best, so I thank you for this.
    1. MTC
      Author's Response
      You're welcome!
  5. kraken_
    kraken_
    5/5,
    Version: 2.8.4
    Wow, that gave a LOT more information than I expected. I am impressed, thank you!
    1. MTC
      Author's Response
      And thank you for the like on all my updates! :)
  6. Shane1199
    Shane1199
    5/5,
    Version: 2.8.4
    Amazing plugin! Great for statistics and to know what version you may switch to in the future. Been using it since the start.
    1. MTC
      Author's Response
      Thanks for reviewing! :D
  7. Tedzi
    Tedzi
    5/5,
    Version: 2.8.4
    I've used this plugin in the past, and it's great for tracking statistics specially if you are thinking about changing versions. Good work.
    1. MTC
      Author's Response
      Thank you for the review!
  8. A248
    A248
    5/5,
    Version: 2.8.3
    Thank you!

    Very useful for finding out which versions your playerbase likes the most, and how many players you could lose from dropping support for a specific version.

    Keep up the good work. I hope you make more excellent plugins in the future.
    1. MTC
      Author's Response
      Thanks for using ClientStats!
  9. Monk_NL
    Monk_NL
    5/5,
    Version: 2.8.3
    Thank you for the fast update and solid plugin! Keep up the good work :D

    ========== 100 characters ==========
    1. MTC
      Author's Response
      Thanks a lot! ★
  10. AppleCraft12345
    AppleCraft12345
    5/5,
    Version: 2.8.2
    ====================================================[5 Stars]====================================================

    One of the best plugins on spigot (for me)! I like this, I like to know what version are my players using! Thanks and keep it up!

    ====================================================[5 Stars]====================================================
    1. MTC
      Author's Response
      Thanks for the =====[5 Stars]===== review! :D