[MECH] NoAFK v0.2.4 - kicks afk players after time [1240]

Discussion in 'Inactive/Unsupported Plugins' started by Lingo93, May 7, 2011.

  1. Offline

    Lingo93

    NoAFK - kicks afk players after time.
    Version: v0.2.4

    This plugin kicks afk players after a configured time from server.

    Features:
    • Permission support
    • update info - the plugin informs you, if there is a new update available
    Download v0.2.4



    [​IMG]


    Changelog (open)

    Version 0.2.4
    • bugfixes
    Version 0.2.3
    • bugfixes
    Version 0.2.2
    • bugfix: reload
    • add: Kick Message
    Version 0.2.1
    • bugfixes
    Version 0.2
    • first public release
    Download old versions (open)

    Version 0.2.2: download


    Bugtracker

    Autor: Lingo93

    Test: @UpdateInfo_Version:1e0cb:0.2.2:/@

    For error reports # Please necessarily use this template:

    Code:
    [b]Build:[/b]
    
    [b]other Plugins:[/b]
    
    [b]Error message:[/b]
    
     
  2. Offline

    Juze

  3. Offline

    Tomok

    Well, is the time in Minutes or in Seconds?
     
  4. Offline

    Lingo93

    time is in seconds

    greeting
     
  5. Offline

    iggiiggi

    there is already an afk-kicker that has more features than this. are you planning on doing something special with it, or is it just meant to be a more efficient version?
     
  6. Offline

    Lingo93

    this is only intended as a simple afk-kicker ... least at the moment...
     
  7. Offline

    MeinerHosen

    I like the update notification feature.

    Might download this in summer where space is needed for players to actually play :p
     
  8. Offline

    but2002

    Good plugin, but the kick message is a little engrish

    AFK-Kick! You were too long Away...

    That would be better read as

    AFK-Kick! You were away for too long...
     
  9. Offline

    iZS

    nice work ;)
     
  10. Offline

    Ethan Hall

    Awesome, using on my RPG server.
     
  11. Offline

    wassilij

    I get
    with Bukkit 766
     
  12. Offline

    Lingo93

    I know, i work on a solution
    this error was first after publication known
     
  13. Offline

    Travis_Hironak

    Great plugin.:)

    But I have this error sometimes when I reload the server (cb818) :
    Code:
    2011-06-05 11:45:59 [SEVERE] Exception in thread "Timer-1"
    2011-06-05 11:45:59 [SEVERE] java.lang.NullPointerException
    2011-06-05 11:45:59 [SEVERE]    at de.lingo93.noafk.NoAFKTask.run(NoAFKTask.java:32)
    2011-06-05 11:45:59 [SEVERE]    at java.util.TimerThread.mainLoop(Timer.java:534)
    2011-06-05 11:45:59 [SEVERE]    at java.util.TimerThread.run(Timer.java:484)
    It seems to work anyway.
     
  14. Offline

    Lingo93

    I never had this error ...
    But i think, i've found it now. I'll fix it soon as possible.

    Greeting Lingo
     
  15. Offline

    Travis_Hironak

    Ok, thanks.
     
  16. Offline

    Lingo93

    I think I have fixed the bug. At the moment I'm testing it. If there is no errors , I'll publish the Fix tomorrow.

    Greeting Lingo
     
  17. Offline

    Travis_Hironak

    Ok, thanks for fixing this :). Let me know when you publish it.
     
  18. Offline

    Lingo93

    NoAFK v0.2.2 published
     
  19. Offline

    Travis_Hironak

    I'll try it tomorow and let you know how it works for me.

    Edit: I don't get errors anymore when I start or reload the server, thanks.
     
  20. Offline

    lipe123

    Hey I use McMyAdmin on my server and kicked players still show online in the control panel.

    Would you be able to look into this please?
     
  21. Offline

    but2002

    That would be a bug with McMyAdmin, not this plugin.
     
  22. Offline

    ratty

    Sometimes I get this when players disconnect

    01:47:42 [INFO] [NoAFK] Internal Error! NoAFK Stopped. Please restart the Server.
    01:47:42 [SEVERE] java.lang.NullPointerException
    01:47:42 [SEVERE] at de.lingo93.noafk.NoAFKTask.kickPlayers(NoAFKTask.java:45)
    01:47:42 [SEVERE] at de.lingo93.noafk.NoAFKTask.run(NoAFKTask.java:26)
    01:47:42 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:534)
    01:47:42 [SEVERE] at java.util.TimerThread.run(Timer.java:484)
     
  23. Offline

    Lingo93

    Which build do you use..?
     
  24. Offline

    but2002

    When a player is kicked, it says "Player were away for too long" Were should be changed to 'was'

    Example: "Player was away for too long"
     
  25. Offline

    Lingo93

    Thanks, i'll also save the messages at the next update to a file.

    And i'll add German messages. For other languages, i need translators...

    The update will likely come this week ...


    Greetings
     
  26. Offline

    Travis_Hironak

    In french it would be "Playername a été expulsé pour être resté inactif trop longtemps." and "Vous avez été expulsé pour être resté inactif trop longtemps." but I'm not sure that you can add messages with special characters like "é" or "ê" because they don't seem to work if the server is runned on Linux (which is the case for mine), so you can replace them with a simple "e".
    Thanks for adding other languages.:)
     
  27. Offline

    Lingo93

    it takes some time yet, it has some bugs... and i little time...
     
  28. Offline

    ratty

    It's still doing it, build #953.
    Its happens when someone disconnects, but very rarely.


    2011-07-02 21:31:31 [INFO] Connection reset
    2011-07-02 21:31:31 [INFO] Jutsy lost connection: disconnect.quitting
    2011-07-02 21:31:32 [INFO] [Wings] Player quit; removed from list.
    2011-07-02 21:31:32 [INFO] [NoAFK] version 0.2.2 disabled
    2011-07-02 21:31:32 [INFO] [NoAFK] Internal Error! NoAFK Stopped. Please restart the Server.
    2011-07-02 21:31:32 [SEVERE] java.lang.NullPointerException
    2011-07-02 21:31:32 [SEVERE] at de.lingo93.noafk.NoAFKTask.kickPlayers(NoAFKTask.java:45)
    2011-07-02 21:31:32 [SEVERE] at de.lingo93.noafk.NoAFKTask.run(NoAFKTask.java:26)
    2011-07-02 21:31:32 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:534)
    2011-07-02 21:31:32 [SEVERE] at java.util.TimerThread.run(Timer.java:484)
     
  29. Offline

    Lingo93

    I couldn't reproduce this bug...
    Which plugins are still installed?
     
  30. Offline

    wassilij

    Code:
    2011-07-03 20:28:15 [INFO] [NoAFK] version 0.2.2 disabled
    2011-07-03 20:28:15 [INFO] [NoAFK] Internal Error! NoAFK Stopped. Please restart the Server.
    2011-07-03 20:28:15 [SEVERE] java.lang.NullPointerException
    2011-07-03 20:28:15 [SEVERE]     at de.lingo93.noafk.NoAFKTask.kickPlayers(NoAFKTask.java:45)
    2011-07-03 20:28:15 [SEVERE]     at de.lingo93.noafk.NoAFKTask.run(NoAFKTask.java:26)
    2011-07-03 20:28:15 [SEVERE]     at java.util.TimerThread.mainLoop(Unknown Source)
    2011-07-03 20:28:15 [SEVERE]     at java.util.TimerThread.run(Unknown Source)
    Bukkit 953
     

Share This Page