AFK Kick, when server is full.

Discussion in 'Archived: Plugin Requests' started by actionforgames, Dec 29, 2012.

  1. Offline

    actionforgames

    We use most of AFK Kick plugin to make our server clear for other player that want to join.
    But sometime I get really angry when I go to eat something really quick (Real life), and when i come back says "You have been kicked, for AFK". Yeah I know... but inside of me it makes me a little bit angry. It would be nicer if I would just saw that I am still in server. And you are probably start to loosing players... because it gives you inside felling that server is mean (because you get kicks all the time) (yeah I know... this is really Deep) So...

    What should plugin do: When you are AFK for 30sec, plugin puts you in "AFK Mode" + Broadcast "<player> is now AFK". *Let's say we have server for 20 player* When server is about to get 20 / 20 online players, Then this plugin KICK all players that are in "AFK Mode" in this way you will have clean server for more players and server will look nicer.
     
  2. Offline

    Mozartripper

  3. Offline

    DIscoCat42

    I'm sorry? It's a bit hard to read, but what I think your asking for is a plugin to kick players after a certain period of time for being AFK? Essentials does this by itself, if you have it configured to do so. Its really not that hard to set up, just open the essentials config and Ctrl+F to find a string afk, and you should come across something like this:

    http://pastebin.com/MdXHTB4R

    Just set that up using second, say you wanted a player to get kicked after being AFK for about 10 minutes, just set 'auto-afk-kick:' to 'auto-afk-kick: 600'.

    Honestly i'm not sure if this what you were asking for, but hey, here you go.
     
  4. Offline

    Mozartripper

    What he asked is not just a simple kick when afk plugin. It should only kick afk players after a certain period of time (configurable) if the server is full or have lets says 18/20 player on (configurable). Also I think there should be a permission to exempt a player or group from becoming afk.
     
  5. Offline

    DIscoCat42

    Oh! I understand now, the way he wrote it just confused me a bit.
     
  6. Offline

    KylexDavis

    +1 I want this too.
    Hope someone can make it!
     
  7. Offline

    actionforgames

    Yeah Mozartripper. Your right. So like KylexDavis and me want this. It would be really great if someone can make it :)
     
  8. Offline

    cmptrzd1592

    I'm a newer plugin developer, but I might be able to give this a shot. No promises though.
     
  9. Offline

    penguinben

    Now that I understand what you ask for, it sounds quite good. Interested to see the results of this.
     
  10. Offline

    Chloe-chan

    I'll attempt to code this. No guarantees. :3
     
  11. Offline

    Idlehumor

    Coded something for you this morning OP. Hope it works out for you. I hope it works period...

    For now it has a configurable range of movement that unsets AFK mode when a player moves in the config.yml. The AFK mode away limit is configurable as well. Uses most player listeners. Let me know if you need it to do anything else.

    http://dev.bukkit.org/server-mods/full-server-afk-relief/

    *edit* not yet approved

    Considering this might take a while to get approval, here's the link to the jar I uploaded to dev.bukkit.org as requested.
    http://dev.bukkit.org/media/files/663/842/FullServerAFKRelief.jar
     
    Ne0nx3r0 likes this.
  12. Offline

    Chloe-chan

    I also want to show my creations, is it okay Idlehumor ? :(
    I had my friend's plugin, AFK Signs, to create mine.
     
  13. Offline

    Idlehumor

    I don't mind at all :) post away!

    How come my posts need moderator approval? Do I not post enough?
     
  14. Offline

    Chloe-chan

    actionforgames
    I do not have any commands included inside, but requires this plugin. However, it does have a permission : "afkkick.prevent" so the plugin would not kick the player possessing the permission. Download link here.

    EDIT: No one tested it ? :(

    Uh no, it's common. Moderators in Bukkit Dev wants to make sure posts are up to standards and they need to check the files in case they contain unwanted codes.

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

    jorisk322

    Idlehumor probably means posting on the forums. I think your first 10 posts or so need to be approved, to fight spam.
     
  16. Offline

    Idlehumor

  17. Offline

    Chloe-chan

    I see. :3 Good job pal. *pats back* :D
     
  18. Offline

    Idlehumor

    Thanks Cloe-chan! I enjoyed making these yesterday. I'm happy they're already approved.
     
  19. Offline

    Chloe-chan

    Yay. Haha :D
     
  20. Offline

    actionforgames

    This plugin is not Up to date anymore. Can anyone take a care of it. Or improve it?
     
  21. Offline

    Chloe-chan

    Oh sorry ! I am now coding a new version.
     
  22. Offline

    Chloe-chan

    Uhm pretty sorry ~ I can't really code now, having exams. Any dev to take over ?
     
  23. Offline

    Mitch_

    I +1 also idea for permission afkmode.kick.exempt would stop the people with permission to stop being kicked unless someone orerides the command with /afk kickall hat will kick all afk players and overrides the permission afkmode.kick.exempt
     
  24. Offline

    actionforgames

    Bump. We are looking fore new user to develop this.
     
  25. Offline

    noah131

    I need to practice my bukkit coding, I'll give it a shot!
     

Share This Page