[ADMN] UserHistory v1.1.1 - Accurately track how long your users spend on your server! [1240]

Discussion in 'Inactive/Unsupported Plugins' started by Raniy, Oct 5, 2011.

  1. Offline


    Accurately track how long your users spend on your server!
    Version: 1.1.1 for CB 1240
    GitHub: https://github.com/Raniy/UserHistory
    Jar Download:<Edit by Moderator: Redacted mediafire url>

    Thanks to everyone in #bukkitdev. When you bother to respond its worth the wait!

    Stores a record of every connect and disconnect event, as well as keeping track of the total time your players have been with and on your server.
    Informs the player how long its been since they have been seen when they connect.
    The '/myage' and '/lastseen <player>' commands have been implemented
    Myage tells the calling user how long they have spent on this server, and the date they were first seen.
    Lastseen tells the calling user the length of time since and the date the specified player was last on the server.

    The commands each have their own permission node
    /myage - UserHistory.MyAge
    /lastseen - UserHistory.LastSeen

    MySQL Database

    * Drop the jar in your plugins directory
    * Reload the Plugins or Restart the Server: To generate the config file
    * Edit the UserHistory/config.yml to reflect your actual MySQL Infos
    * Reload the Plugins or Restart the Server: To generate the tables
    * Mine your new found data horde

    /age <player> which will functionaly be an alias of /myage that returns the data for the specified player
    /loginstats <player> which will give a more verbose accounting of the players server stats
    A config option to reduce the MySQL Spam. If your on a server with a large number of players (100s) you may want to wait on this as the tables could potentially grow quite fast.
    Rewrite to how the plugin accesses the database. Encapsulate it better and so on.
    A config option to choose the database format.

    Possibly ToDo:
    Track more player events in a useful way.

    v1.1.1 Actually fixed every occurrence of the bug from v1.1.
    v1.1 Fixed a bug in the player connect notifications Should have been tracking last offline time not last online time. Of course I would notice this /after/ I commit'd.
    v1.0 Tested working on my private server by me. Commit'd to GitHub.
    PreRelease: Beta 0.5 Added in MyAge and LastSeen Commands

    Concept: Developed as part of the back-end for a web application I'm working on. Very specific feature set for initial release as I really only wanted at the data its pumping into that db!

    Woo, Finally! One month gone forever, but probably well spent.

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

    tha d0ctor

    @Raniy please add the ability to disable to MOTD potion of your plugin
  3. Offline


    Did you add /age <player> yet!
  4. Offline


    2011-10-15 10:48:15 [SEVERE] Error occurred while enabling UserHistory v0.0.1 Alpha (Is it up to date?): null
        at me.raniy.plugins.UserHistory.UserHistory.checkMySQL(UserHistory.java:223)
        at me.raniy.plugins.UserHistory.UserHistory.onEnable(UserHistory.java:56)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    I use bukkit 1240 and i have error ;/
  5. Offline


    With that particular error Im going to want to see a pastebin of your config.yml
  6. Offline


    Please upgrade to latest RB

Share This Page