Inactive [INFO] SimpleAFK v0.9.1 - A simple to use AFK system with advanced features [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by bassfader, Jul 7, 2011.

  1. Offline

    bassfader

    SimpleAFK - A simple to use AFK system with advanced features
    Version: v0.9.1​
    Tested against CraftBukkit Release Build: 1.1-R4​
    SimpleAFK is a very basic AFK system, though higly configurable and with some nice features. Initially I created this Plugin for my own Server stonedCRAFT.de but when it got more features and I saw no other Plugin offering a similar feature set I'd though I'd also release it here.​
    SimpleAFK Moved to BukkitDev! Click here to visit the page


    You like my plugins? Please consider donating a little bit. Thanks!
    [​IMG]


    Changelog:
    Version 0.9.1
    Code:
    Changed:
        - Fixed ConcurrentModificationException on Auto Kick
        - Fixed possible NullPointerException

    Version 0.9
    Code:
    Added:
        - Option to disable "pushing" of players who are AFK
        - AFK-Booter (kick AFK players after a specified time)
        - Broadcast Message on Afk / Back
    Changed:
        - Code completely rewritten from scratch
        - Finally fixed WorldGuard-NPE Bug when no WG is used
        - Changed Config file completely! OLD CONFIG FILES
          WON'T WORK ANYMORE!
        - Moved to Bukkits new EventHandler System
    Show Spoiler


    Version 0.8
    Code:
    Changed:
        - Fixed a nullPointerException bug
        - Optimized code structure

    Version 0.7
    Code:
    Changed:
        - (Hopefully) fixed a problem generating the config file
          on Unix based Systems
    Version 0.6
    Code:
    Added:
        - Different Auto AFK times for protected and
          unprotected regions (Using WorldGuard)
     
    Changed:
        - Problem fixed with Essentials
          (Now overriding Essentials /afk command properly)
    Version 0.5
    Code:
    Added:
        - Automatic enable (set Player as AFK after X
          minutes of Idling)
     
    Changed:
        - Optimized code structure
    Version 0.4
    Code:
    Added:
        - Changing Display Name of a user when beeing AFK
        - /afklist
          Displays a list of all Players currently beeing AFK
     
    Changed:
        - Fixed event prioritys (Thanks to Dinnerbone for his
          great explanation of these!)
        - Fixed console output (Colors not printed to Console
          anymore for console info messages)
    Version 0.3
    Code:
    First public release
     
    Added:
        - Auto-Disable on Player Move
     
    Changed:
        - Enabled Multi-Line-Messages for all messages
        - Auto-Generated Config is now much better
          structured and commented
        - Removed Version string from Sendmessages
          (so there is more space for the actual messages)
    Version 0.2
    Code:
    Added:
        - Right Click on Player to check if he's AFK or not
        - YAML Config file for configuring: Texts,
          Enabled/Disable automatic Chat messages
          (Supports colored Chat Messages)
    Version 0.1
    Code:
    Initial beta testing release
     
    Features:
        - /afk [message]
          Set yourself as AFK and automatically write a Chat
          message that you're AFK. Leave [message] blank to
          reset you're AFK status.
        - /isafk [name]
          Check if a player is currently set as AFK
     
    mc.donkeyhonk and Tim Visee like this.
  2. Offline

    SzymekPL

    it's great but when someone is AFK and i will move him (poke) than he isn't afk anymore. can it be fixed?
     
  3. Offline

    bassfader

    Allready working on it ;) Though no ETA yet...
     
  4. Offline

    chaostheory

    Hey, first of all, I love this plugin, very good job ;) But my server got an error message, because I don't use protected regions. Is there a way to disable protected regions, because the autoafk doesn't work for me with this bug.
    Code:
    2011-08-22 02:17:11 [SEVERE] Exception in thread "Thread-10241"
    2011-08-22 02:17:11 [SEVERE] java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
    2011-08-22 02:17:11 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.isPlayerInRegion(sAfkIdleScheduler.java:64)
    2011-08-22 02:17:11 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.run(sAfkIdleScheduler.java:38)
    2011-08-22 02:17:11 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-08-22 02:17:11 [SEVERE]     at java.lang.Thread.run(Thread.java:722)
     
  5. Offline

    King Pyro

    quick little spelling mistake fix for the english version when it says you are afk you are not afk the word beeing is spelt wrong it is supposed to be being not 2 e's. thought id point it out for you. :)

    EDIT: I know you can change it just maybe good if it was defaulted to normal.
    thanks

    KingPyro
     
  6. Offline

    bassfader

    Allready working on it, has been reported allready and will be fixed with the next version ;)


    Thanx for pointing that out. Since english isn't my native language some typos might be here and there ^^ I'll change that with the next version too.
     
  7. Offline

    h0us3cat

    This is also when mobs run into you :)
     
  8. Offline

    number1_Master

    i get this error
    Code:
    07:16:17 [SEVERE] Exception in thread "Thread-271194"
    07:16:17 [SEVERE] java.lang.NoClassDefFoundError: com/sk89q/worldguard/bukkit/WorldGuardPlugin
    07:16:17 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.isPlayerInRegion(sAfkIdleScheduler.java:65)
    07:16:17 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.run(sAfkIdleScheduler.java:38)
    07:16:17 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    07:16:17 [SEVERE]     at java.lang.Thread.run(Thread.java:680)
    07:16:17 [SEVERE] Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.bukkit.WorldGuardPlugin
    07:16:17 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    07:16:17 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    07:16:17 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    07:16:17 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    07:16:17 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    07:16:17 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    07:16:17 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    07:16:17 [SEVERE]     ... 4 more
    
    and its almost every time someone type /afk
    EDIT: sry didnt see the post before but still hope this helps!
     
    nath30 likes this.
  9. Offline

    nath30

    i'm having a problem i don't see any effect of the problem but
    Code:
    03:44 PM [SEVERE] Exception in thread "Thread-7985"
    03:44 PM [SEVERE] java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
    03:44 PM [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.isPlayerInRegion(sAfkIdleScheduler.java:64)
    03:44 PM [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.run(sAfkIdleScheduler.java:38)
    03:44 PM [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    03:44 PM [SEVERE]     at java.lang.Thread.run(Unknown Source) 
     
  10. Offline

    OZ4RK

    I'm having some issues with your download links, I cannot decompress/unzip them and bukkit gives me an unable to start plugin error with just the jar.
     
  11. Offline

    bassfader

    Even with the Mirror (Dropbox)? Both working fine here...

    And what error it displays exactly when you try to start the jar file? And what size does the jar file report? (it should be about 15KB)

    Oh and BTW you could also try to download it from the BukkitDev site, here:
    http://dev.bukkit.org/server-mods/simpleafk/

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

    OZ4RK

    thanks, that dl worked. One question, what would be causing this:
    Code:
    16:38:32 [SEVERE] Exception in thread "Thread-504"
    16:38:32 [SEVERE] java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
    16:38:32 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.isPlayerInRegion(sAfkIdleScheduler.java:64)
    16:38:32 [SEVERE]     at de.stonedCRAFT.SimpleAFK.sAfkIdleScheduler.run(sAfkIdleScheduler.java:38)
    16:38:32 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    16:38:32 [SEVERE]     at java.lang.Thread.run(Thread.java:680)
    
    I DO NOT use worldguard
     
  13. Offline

    bassfader

    Thats a bug I am allready aware of, its caused by not using WorldGuard :rolleyes:
    Will be fixed in the next version which should be out in about a week or so, I was very busy at work lately so I didn't have much time to work on my plugins unfortunately, now the most of the big project I was working on at work is done, so I got more time to take care of my plugins ;)

    EDIT: It will not affect the functionality of the plugin in any way, it may just "spam" that error sometimes into the server.log
     
  14. Offline

    8Keep

    Update for 1.8?
     
  15. Offline

    bassfader

    New version is coming, though the plugin is still working (currently running it myself on RB 1185 without any issues so far). So feel free to give it a try as well, no known issues using 1.8.1 MC yet.
     
  16. Offline

    BlancoLanda

    It would be nice if you enable any option to PVP-protect players when they are AFK!
     
  17. Offline

    DJRiful

    What are the command permissions?!?

    So far only the Admin and OP able to set AFK or autoAFK...
     
  18. Offline

    md_5

  19. Offline

    bassfader

    @DJRiful
    This plugin has no permissions support :eek: What Bukkit RB are you using? Do you see a error message appear in the console or ingame?

    @md_5
    Yep in the works, I just have vecations and now finally have more time to spend here ^^ Update coming soon ;)
     
  20. And could you PLEASE release a fix for the WorldGuard-NullPointer? ;)
     
  21. Offline

    bassfader

    Relaunch is beeing prepared... Updates coming soon, stay tuned! And sorry for the delay, I have been very busy the past few weeks.
     
  22. Offline

    Rexel

    is there a way to silently come back from AFK?
     
  23. Offline

    bassfader

    No, and its not planned for the near future.
     
  24. Offline

    Rexel

    shame really
     
  25. Offline

    bassfader

    Almost there... Just give me a few more days ;)
     
  26. Offline

    bassfader

    I am currently allready testing the new version v0.9 and am fixing some minor bugs. Expect a new version sometime today or tomorrow ;)

    The upcoming new version v0.9 will have an option to disable these messages. (But not on a per player basis, its either disabled for everybody or enabled for everybody).
     
  27. Offline

    Rexel

    It would be nicer to have the ability to return from afk silently on a per player basis..
     
  28. Offline

    bassfader

    Well I'm taking a look at it... but first I need to finish v0.9 first, then maybe I can implement such a feature in v1.0.
     
  29. Offline

    bassfader

    New Version v0.9 Released:
    Code:
    Added:
        - Option to disable "pushing" of players who are AFK
        - AFK-Booter (kick AFK players after a specified time)
        - Broadcast Message on Afk / Back
    Changed:
        - Code completely rewritten from scratch
        - Finally fixed WorldGuard-NPE Bug when no WG is used
        - Changed Config file completely! OLD CONFIG FILES
          WON'T WORK ANYMORE!
        - Moved to Bukkits new EventHandler System
    (Download can be found on BukkitDev site. But be aware that new versions need to be approved by BukkitDev first, thats why I also posted a link to a Dropbox direct download)
     
  30. Offline

    TheGoodRobot

    hmm. What do you think of having a TP system? i.e a player goes AFK, they are TP'd to a safe place. When they return from AFK, they are sent back to where they originally were. This would be awesome.
     
  31. Offline

    bassfader

    Hmmm... going to take a look at that, sounds like an interresting feature, though I am currently not sure how to implement that, but I'll see what I can do ;)
     

Share This Page