[GEN] mxOnlineTime -v1.1 Simply count online time + login date, and nothing else [803]

Discussion in 'Inactive/Unsupported Plugins' started by mxE333xm, May 24, 2011.

  1. Offline

    mxE333xm

    xxxx
     
    dark_hunter, vein_mx and wassilij like this.
  2. Offline

    Nazerb

    Is there a top ten of the amount of players who play the most. Or can that be added?
     
  3. Offline

    mxE333xm

    Will be there in the next version.
     
  4. Offline

    Waffletastic

    Seems download link is down.
     
  5. Offline

    mxE333xm

    Now it should work.

    EDIT: Also updated to v1.1
     
  6. Offline

    vein_mx

    Awesome! I coudlnt wait and also made my own. How does your plugin store the user data?
     
  7. Offline

    mxE333xm

    Very simple ;) Just a txt file with the format:
    Username;Time(in format hh:MM:ss);First login date/message
     
  8. Offline

    vein_mx

    ahh thats cool! ill try this out. mine had problems cause i updated playtime every time command was typed, making problems for users who are offline lol. thanks!
     
  9. Offline

    mxE333xm

    Why to update that that often? I just keep the login time in memory, and if the user logs out / was kicked, i get the current time.
     
  10. Offline

    wassilij

    thx, its great!
    could you change the top 3 to top 10, or make something like pages?
     
  11. Offline

    vein_mx

    I figured that it would be best for users get their playtime as of when they typed the command, instead of having the time update at logout (which it does as well). But clearly I did not take into account some side effects =]

    Do you know performance wise, would your plugin benefit from mysql? Just curious
     
  12. Offline

    jamescosten

    Is it accumalative or does it just record multiple logs per person??
     
  13. Offline

    OrtwinS

    Does it only counts the total time the playes has been on ever?
    I really would like to be able to see players activity for the last X days, not just a total.
     
  14. Offline

    DragoFlyrr

    ^^^ seems like alot of coding...
     
  15. Offline

    flying_pancake

    Would it be within this plugin's scope to track "Last Online"? - This would show the date / time the player was online last.
     
  16. Offline

    OrtwinS

    It doesn't even have to log every separate session with a datestamp, but just log every day separate would go a long way for what I need.
    Keeping track of how (in)active individual users are is a lot more important than just a total...

    Ofcourse I could also delete the log file every 2 weeks.... but that would give me no intermediate data.

    Yes I know, but counting online time is for me how active they are the past X days, not a total...
    @mxE333xm is there a possibility that this will change or should I go for another plugin? (which also includes a load of extras I really dont want/need)
     
  17. Offline

    mxE333xm

    Maybe I'll add a parameter in the next version.
    I don't think so.
    That would require some work, but makes sense, so, that will be implemented in the next version.
    Will be implemented in the next version.
     
  18. Offline

    40540057

    any idea how long this next version will take? just downloaded the current one, all these features are what seem to be missing

    to reiterate what wassilij said about pages, perhaps you could do what iconomy does with their /money top x
    where x is the number of top people you want to see, it allows you to see whatever page you want by using multiples of 20 or just get 1 person or 5 or whatever

    EDIT: errors on second run of the server, CB803 and mxOnline v1.1

    2011-05-25 18:52:54 [SEVERE] Error occurred while disabling mxOnlineTime v1.1 (Is it up to date?): null
    java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$KeyIterator.next(Unknown Source)
    at de.yahoo.chrimarti7.mxOnlineTime.mxOnlineTime.onDisable(mxOnlineTime.java:41)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
    at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:282)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:308)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:213)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:97)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:270)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  19. Offline

    trevorhenrich

    the fact that the players name is case sensitive is rather annoying..
     
  20. Offline

    mxE333xm

    Is it ? Thought it isn't.

    Yes, will be fixed in the next version.​
    I wanted to do that today, but I also have other plugins, that want to be updated, so I'll make it in the next week.​
     
  21. Offline

    iPhysX

    it is :D

    and also.. it would be greeeeat if we could have some more customisation, like the message returned when you type /playerotime [name]

    so it said something like
    iPhysX played for 00:00:00

    and maybe we could change the colours :D.. but aside from this, i really like this plugin!
    also maybe another idea could be MySQL? for a PHP leaderboard :D
     
  22. Offline

    mxE333xm

    That was also what I thought. But I have to say, I have no clue about such thinks, so it may take some time, if I would add such things.

    Good Idea :)
     
    iPhysX likes this.
  23. Offline

    JDM_WAAAT

    I have my server restart every 2 hours and it clears out this plugin and resets everything. Anyway that can be fixed?
     
  24. Offline

    iPhysX

    sqlite or Mysql integration should fix this, however, reloading/restarting shouldnt reset the plugin :O
     
  25. Offline

    mxE333xm

    Really? Is the configuration file still existent? Any Errors in the Console?​
     
  26. Offline

    JDM_WAAAT

    When I installed the plugin no config was generated. Only onlinetime.text , which always seems to be blank.
     
  27. Offline

    mxE333xm

    Strange. I'll work on that.
     
  28. Offline

    EdgarsErnsteins

    Not working For me, Installed it few days ago but still showing on time 0
     
  29. Offline

    Drtrider

    This exactly what I am looking for. Any idea if this still works? And if it works with the most recent build? I really really need something like this.
     
  30. Offline

    mxE333xm

    I'm going to update that this week, but I'm very busy at the moment, so that can take some time.
     

Share This Page