[INACTIVE][ADMN] Afk-Kick v0.2 - kicking AFK players (166+)

Discussion in 'Inactive/Unsupported Plugins' started by Rena4ka, Jan 31, 2011.

  1. Afk-Kick — Kicking AFK players
    Build: 2

    Quick Links:
    To Do

    This plugin kicks players being AFK.

    All settings are in folder /plugins/AfkKick in file config.yml
    • kick-after — time in seconds after last action, when player will be kicked
    • kick-message — message that will be typed to player, when he is kicked
    • exception-list — list of players, won't be kicked by AFK-timeout ("Player1,Player2,Player3,...")
    kick-after is not accurate time. It can be actual about 30 seconds bigger, cause of plugin working method.

    Buil 2
    - Added exception list
    - Tried to fix bugs
    - Tried to increase performanse

    Build 1
    - First public build

    • Two exceptions — should be fixed
    To Do:
    • MySQL support for exception list, OR
    • Permissions support for exception list
    This plugin not very well tested, please report any bugs you found. If any error in plugin happens, it will stop working, not crashing the server!
    I'm tried to increase performance as much as I can, but it's not tested on big server yet.

    Download latest version.

    This plugin written special for greencubes.ru :cool:

    Like that? ...donate!

    Please report bugs! And give suggestions!
  2. Offline


    Could you add an option to only kick people when the server is full? I don't really care about people being AFK unless they are preventing other people from joining.
  3. Offline


    I think there's another plugin for that :p ... You'll find it if you search a bit better.
    But, meh, I wont steal the fame from the developer. So you gotta find it yourself ^^

    EDIT: Nevermind that, it's better to have one plugin to do one thing. If the developer wants to do it.
    --- merged: Feb 4, 2011 11:49 PM ---
    I didn't do java decomplication on purpose. Just some standard stuff that follows with Mac OS x. Anyways, sorry about commenting so much on this plugin.

    Whats the problem about open-source on a open-source Bukkit thought?
    eventually the Vanilla Project will become open-source as well. So I don't see the point :p
    Well it's your code so, you'll do what you want. ;)
  4. Offline


    You must. If I am forced to give out my code due to the GPL, you must do the same.
  5. Offline


    How long in real life is the 360 that is stock in the configuration file so i have a reference i want the allow them to be afk for like makx of a hour is it in minutes?
  6. Offline


    is this working?
  7. Offline


    It doesn't do anything in my version CB271

    Edit: It doesn't kick members for any length of time specified.
  8. Offline


    I found this error in log:
    Exception in thread "Thread-3" java.util.ConcurrentModificationException
            at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
            at java.util.HashMap$KeyIterator.next(HashMap.java:845)
            at com.rena4ka.bukkit.afkkick.AfkKick.kickAfk(AfkKick.java:105)
            at com.rena4ka.bukkit.afkkick.AfkKickThread.run(AfkKickThread.java:17)
    2011-02-09 15:05:51 [INFO] Ainselya lost connection: disconnect.quitting
    CBukkit #262 but i think it's broken with previous version of CB
  9. this doesn't do anything for any amount of time set... no kicks, or message
  10. Offline


    it's not working for me as well no msg no kick nothing ...
  11. Offline


    @Rena4ka Are you still developing this? I can't get it to work with b293.
  12. Offline


    Looking for source still
  13. Offline


    Man if this worked with the most recent I'd be so happy
  14. Offline


    I fixed the problem but i think i am not allowed to post the code here but Rena4ka you just named 2 variables with the same name..
  15. Offline


    Can you PM a fix to me?
  16. Offline


    Using craftbukkit 323 and this plugin is working for me.
    Maybe a bukkit update would do the trick for those still having issues?
  17. Offline


    Can you actually confirm that it's carrying out the function it's intended to do?

    Loading =/= working.
  18. Offline


    Yes, I can. I set the time-out to 1 and sure enough, my testing client was kicked after 1 minute.
    I can list my other plugins if it's a conflict with something else people are having.
  19. Offline


    Hmm, interesting. I'll have to try it out on a newer version then.
  20. Offline


    just decompile it google jdgui
  21. Offline


    Just a thought, but would it be possible to add an option that only kicks afk people if the number of people online reach a certain threshold?

    I don't really care that people are afk, but what I definitely don't want is those people using up bandwidth that legitimate users would really enjoy. Not all of us have fancy hosts :p
  22. Offline


    Yes please!
  23. Offline


    when will this come out for 1.3?
  24. Offline


    [SERVER] 2011-02-24 10:04:46 [WARNING] Using the stupidly long constructor com.rena4ka.bukkit.afkkick.AfkKick(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of AfkKick to remove it! (Nothing is broken, we just like to keep code clean.)
    CB #449
  25. Offline


    For me too
  26. Offline


    IS this working? Relly need something what kicks afk players.
  27. Offline


    Guys it's been more than two weeks since this developer posted anything in this thread, I think it's time we either ditched all hope, or somebody decompiled and took the reigns. Or asked other developers in the community when/if the last time they heard from Rena4ka was.
  28. Offline


    No, it is not working at all.
    I completely agree - wish I could help. :p
  29. Offline



    Add iConomy support?

    We've noticed on our server, people log in then leave it to earn money in iConomy while they walk the dog for example. I just got home and found someone had earnt 12k doing this (which is a lot on our server)

    Any way you can implement a system that kicks them and charges them money? We are only going to charge them the money they earnt while AFK so they get nothing at all from doing it.
  30. Offline


    I was thinking of getting into the development scene soon since I'm already a seasoned java programmer with much love for the mc community. I may try to take this on as an easy first project when I start up.

Share This Page