AfkManager

AfkManager 2.0.1
Works 1.2.5-R1.0 (Recommended Build!).
Requires Vault
Say Thanks, Donate! =)
Javacow has took over the project! Wait for future updates :D
Features
- Multiple actions based on custom times.
- Actions you can perform with AfkManager:
- Kick - With Messages
- Kill - With Messages
- Money - With Messages
- Message - Only it :)
- Command - With Messages
- Broadcast Messages in every Action
- Check if a player is only moving in a determined radius and set him as an AFK player!
- Custom config messages with color support!
- Permissions Support
- Custom Console Log Messages
- Manual Exempt Users
Permissions
afkmanager.exempt //Won't get kicked! afkmanager.admin //AfkManager reload command
Configuration
The configuration plugin is on plugins/AfkManager/config.yml..
Commands
/AfkManager reload | /am reload
Known Bugs
None that I know. :D
To Do
- Add /afk command.
- Add "Player is now AFK" message.
- Make the plugin tag customizable in the config.yml
Changelog
2.0.2: Updated to the lastest RB.
2.0.1: Fixed issue with non lowercased action names and updated to latest recommended build.
2.0.0: Totally rewrite of plugin with a lot of new options, please delete your old config file before update!
1.6.2: Fixed config not reloading properly ingame. Thanks @KJanar
Fixed double console messages.
1.6.1: Hopefully fixed console double kick messages. Thank to @KJanar for reporting it!
1.6: Fix config not being created, thank to @funk1983 for finding it and thanks to @ViniciusFelipe for testing.
1.5: Updated to the New Event System and make compatible with R6 and Newer!
1.3.1: Permissions Bug Fix!
1.3: Massive Bug Fix, I'm a Dumb!
1.2: Added New Functions based on @Ps2maniac9 comment, Thanks!
1.1: Fixed console errors when kicking a player, special thanks to @bergerkiller
1.0: First Release.

-
View User Profile
-
Send Message
Posted Mar 1, 2012New Version is up, unfortunately I didn't have time to make the new changes I promised but I will soon I find some!
-
View User Profile
-
Send Message
Posted Feb 23, 2012@kamild1996
Unfortunately it's difficulty to manage a lot of permissions plugins without Vault, it's like reinvent the wheel :P, Just install Vault, you won't get dissapointed :P
-
View User Profile
-
Send Message
Posted Feb 20, 2012Vault required? (╯°□°)╯︵ ┻━┻
Can't find a plugin for kicking AFK people which will increase the number of plugins only by one...
-
View User Profile
-
Send Message
Posted Jan 13, 2012@Conderan
Sorry for the late, My server went down this week... Now I will have time to test, just wait and I will look into this soon! Thanks.
-
View User Profile
-
Send Message
Posted Jan 11, 2012Really don't want to run vault... I already run register (and I have other plugins that require it) and my understanding was that both together caused problems. Just want the kick functionality anyway. Can you make it so that vault is optional? Seen this done on other plugins.
Also, it might be nice to have separate timers for the kill than the kick function anyway. For instance, if the player is killed in 10-15 minutes but kicked in 60?
Finally, it would be nice to have this all done with commands anyway, like ps2 had suggested. Instead of the current config, it would be very powerful if we could - for instance if you could make the following work:
afkmanager:
kick: <-- custom name
seconds: 180
message: You've been kicked for being AFK.
broadcast: false
log: '%NAME% got kicked for being AFK.'
command: '/kick %NAME%'
kill: <-- custom name
seconds: 120
message: You've been killed for being AFK.
broadcast: true
log: '%NAME% got killed for being AFK.'
command: '/kill %NAME%'
money: <-- custom name
seconds: 300
message: You've had money taken for being AFK.
broadcast: true
log: '%NAME% got money taken for being AFK.'
command: '/money take %NAME% 100'
websend: <-- custom name
seconds: 120
message: You've been websended for being AFK.
broadcast: false
log: '%NAME% got websended for being AFK.'
command: '/websend afk %NAME%' <--- would be what i'd probably do.
Finally, since I was thinking i'd do it if I got the above anyway and ps2 asked about it too... some way to log the afkers in a seperate file and have things that only happen to the chronically afk.
-
View User Profile
-
Send Message
Posted Jan 2, 2012@ace1177
Oh My God, I'm sorry, I forgot to write about this... It's requiring vault! =(
-
View User Profile
-
Send Message
Posted Jan 1, 2012This requires vault?
-
View User Profile
-
Send Message
Posted Dec 30, 2011AfkManager 1.2 is up!
Added New Functions based on @Ps2maniac9 comment, Thanks!
Temporary Download Link
Please delete your old config file before update!
-
View User Profile
-
Send Message
Posted Dec 30, 2011@HamOmlet
I don't get it, why alert a player that's AFK?
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Ps2maniac9
Thanks for the suggestions, I will look into it soon!
-
View User Profile
-
Send Message
Posted Dec 30, 2011@turbonadduv
Yes It Works, I'm sorry, I made a wrong ChangeLog :P
-
View User Profile
-
Send Message
Posted Dec 29, 2011How about a warning before being kicked? For example, let's say I set the counter to 600 seconds. At 300 seconds, a message will be sent to the player informing them that they have five minutes to move or they will be kicked.
-
View User Profile
-
Send Message
Posted Dec 29, 2011allow a command(s) to be run instead of or before the kick. Example: on afk: /kill %playername%; /money take %playername% 100; /kick %playername% Instead of just kicking the player this would allow admins to "punish" them for being afk with whatever punishment they think is reasonable. Also a per player counter would be nice so if someone's afk kicks in a certin time period is at a certin level, instead of doing the normal action, a more severe action would be taken when they were kicked. (normal kick below 5 kicks/week, kick with money loss for every kick over 5/week)
-
View User Profile
-
Send Message
Posted Dec 29, 2011Does version 1.1 works on bukkit 1.0.1-R1 (only 1337 declared in changelog)?
-
View User Profile
-
Send Message
Posted Dec 28, 2011@consolesvn
You are welcome :)
-
View User Profile
-
Send Message
Posted Dec 28, 2011Thanks. Great plugin.