Inactive [INFO] Playtime v0.7 - See how long you and others have been on [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by NuclearW, Jul 16, 2011.

  1. Offline


    Playtime - See how long you and others have been on.
    Version: v0.7

    Playtime simply shows how long you or another player have been online.
    Playtime also logs total time played, and can show this as well.

    Playtime supports language translation: Simply edit the "lang" file to change anything Playtime says.

    Playtime has been translated into German, Danish, Swedish, Dutch, Polish, Spanish, and French:
    Playtime supports and is tested with PermissionsEx. Playtime also supports default Bukkit Permissions! (also the first plugin to do so! Not that that matters much.) And will support any permissions plugin that does the same. Playtime also tentatively supports Permissions 2.7.4 and 3.1.x, but is not tested against these.

    If you translate this plugin I would be very grateful if you would send me your lang file so that I may share it with others in this post.

    • See how long a player has been online
    • See how long you have been online
    • See how long a player has been online total
    • Supports PermissionsEx, Permission 2/3, Bukkit Permissions, and defaults to OP

    • /playtime (player) - Provide no player to check yourself, provide one to check that player.
    • /totalplaytime (playtime) - Provide no player to check yourself, provide one to check that player.
    Nodes (open)

    • playtime.* - Implies all others
    • playtime.self - Needed to check one's own playtime
    • playtime.other - Needed to check another player's playtime
    •* - Implies .total.self and .total.other
    • - Needed to check one's own total playtime
    • - Needed to check another player's total playtime

    Download Playtime

    • Version 0.7
      • Updated for new event system
    • Version 0.6
      • Never released
    • Version 0.5
      • Fixed totalplayertime not working all the time.
    • Version 0.4
      • Update for CB1060 and NPE fix.
    • Version 0.3
      • Added /totalplaytime [ Thanks for the bugtesting help @dbizzzle ]
    • Version 0.2
      • Added support for Bukkit Permissions! (First of many to do so!)
      • Version 0.2.1
        • A /reload no longer resets play time
    • Version 0.1
      • Initial release.
    Playtime was suggested by @19jojo93
  2. Offline


    well getting around an AFK is as easy as laying something on a button and as complicated as a macro to run ever x amount of time. another idea would be a way to reset time completely and it can be useful for more then the purpose I have in mind but I don't have high hopes
    thanks for t he quick response any way.
  3. Offline


    Where can i download this nice plugin? When i try the link it says something with whitelist.....
  4. Offline


    Some major changes were made on shatteredlands, my files should be available again for you to get at them now, if not in no less than an hour. Sorry for the inconvenience.
  5. Offline


    Hey, thank you!
  6. Offline


    Is there any way that you can make it so you can see the total playtime of players that are offline? Either in-game or in a config file within the plugins folder? Thanks!
  7. Offline


    Using Bukkit R4
    Spacebukkit ~Alpha

    following error:
    20:52:02 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'playtime' in plugin Playtime v0.5
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.handleCommand(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.handle(
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(
            at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.NullPointerException
            at sl.nuclearw.playtime.playtime.getElapsedTimeString(
            at sl.nuclearw.playtime.playtime.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 12 more
  8. Offline


    What did you type in for the command and where (console or in-game)?
  9. Offline


    In game, /playtime
    Also tried /playtime
    and /playtime warhawker
    Also, /playtime uxbal (another player)

    I recently ran a reload, but the problem persists.​
  10. Offline


    I'll take a look then, although a partial re-write and upgrade for all my plugins is coming with the R5 update so it might take a short while.

    On another note, I remember uxbal, played on my server for quite a time.
  11. Offline


    Really? She has been with us for a few months. An exceptional mod, we promoted her to Admin. What was your server called?
  12. Offline


    Shatteredlands. Feel free to send me the IP in a pm or something, I'd love to drop by and say hi sometime.
  13. Offline


    I... Can't find out how to pm you, well, its always in my Signature for my first post of the page. She was online only a few minutes ago haha.
  14. Offline


    I have a suggestion of maybe adding at one point a /playtimetop or some command that will tell defaults or members who the top player who has played the most?
  15. Offline


    Any possibility of webstats?
  16. Offline


    Updated for new event system
  17. Offline


    Does not work in 1.2.3.. Update coming?
  18. Offline


    Works for me?
  19. Offline


    2012-03-04 12:10:09 [SEVERE] Could not load 'plugins\playtime.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/server/ServerListener
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.<init>(
    at net.minecraft.server.ServerConfigurationManager.<init>(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/server/ServerListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at Source)
    at Source)
    at$000(Unknown Source)
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sl.nuclearw.playtime.playtime.<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.server.ServerListener
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 27 more
    Not for me...
  20. Offline


    Did you update?
  21. Offline


    How stupid do you think I am? Of course I did.
  22. Offline


    I don't think you're stupid but your stacktrace indicates to me you are not in fact on the latest version.

    Please update from the link in the post.
  23. Offline


    2012-03-04 14:40:14 [INFO] [Playtime] Enabling Playtime v0.7
    2012-03-04 14:40:14 [SEVERE]
    2012-03-04 14:40:14 [SEVERE]at$BlockDataInputStream.readUTFSpan(Unknown Source)
    2012-03-04 14:40:14 [SEVERE]at$BlockDataInputStream.readUTFBody(Unknown Source)
    2012-03-04 14:40:14 [SEVERE]at$BlockDataInputStream.readUTF(Unknown Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at Source)
    2012-03-04 14:40:14 [SEVERE]at com.nuclearw.playtime.Playtime.onEnable(
    2012-03-04 14:40:14 [SEVERE]at
    2012-03-04 14:40:14 [SEVERE]at
    2012-03-04 14:40:14 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2012-03-04 14:40:14 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2012-03-04 14:40:14 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    2012-03-04 14:40:14 [SEVERE]at net.minecraft.server.MinecraftServer.t(
    2012-03-04 14:40:14 [SEVERE]at net.minecraft.server.MinecraftServer.a(
    2012-03-04 14:40:14 [SEVERE]at net.minecraft.server.MinecraftServer.init(
    2012-03-04 14:40:14 [SEVERE]at
    2012-03-04 14:40:14 [SEVERE]at
    2012-03-04 14:40:14 [INFO] [Playtime] Playtime version 0.7 loaded.
  24. Offline


    Now that error... I've never seen... Hmm
  25. Offline


    Hey is there any way I can open the "total" file so I can see everyone's play time manually? Or look at a top ten list?
  26. Offline


    Is it possible to see total playtime for all combined ?
    Something like this: (Togheter you have logged XX Hours and XX Seconds)
  27. Offline


    Needs a 2.1.3 update.
  28. Offline


    It works on 1.2 last I checked?
  29. Offline


    Does this work on 1.2.3 now? I used to keep getting spammed with errors in console so I removed. Wondering if its been updated.

    If it has been updated, u shud prolly put [1.2] or [R6] instead of [R4]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  30. Working fine for me,
    Good job.
    NuclearW likes this.
  31. Offline


    Theres a bug occurring when I use this on 1.2 (Beta Bukkit build)
    Every so often the plugin adds a few hours onto random players for no apparent reason.

    Can't find the cause, seems its doing it automatically. so should be easy to reproduce.

Share This Page