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.
Can someone edit this plugin so when a player gets kicked it doesn't show the [AFKManager]'message' in the menu?
@badda2k
I'm kind of leaving minecraft for sometime and I won't be able to do improvements for some time, I will only be able to update the versions, I will try to find someone to keepup with this project while I'm out.
Thank you.
@sossos1988
What ticket?
@mantegudo
I think it might just be the fishing action. I have the move radius set to 10.
I am having console errors, and using a lot of memory. To find out more please read the ticket that has been made.
@badda2k
Are they just clicking the mouse to fish and moving or just fishing? I Think I can do something if they won't move.
Someone is using a fishing script to bypass the afk kicker. Is there a way to fix this? :3
@mantegudo
sure i will ;) i wouldnt be useful if i keep secrets of your code XD
@Abadon84
Yeah it should , I'm on a test week so I will only be able to help you on weekend, if you find something on the source, please share with us :D
@mantegudo
mhh integer.. should be enough for 2700 ^^
@mantegudo
mhh with shorter times it works... what datatype do you use for time? eventually an overflow?
@Abadon84
o.O, Alright, I've tested here with lower values and it worked as well, may u please test it with lower values to see if it's working there or not?
@mantegudo
i know that this are 45 minutes... :P the other "high" times work too... i have waitet 45 minutes and testet with other players... message works (29min), money works (30min), only kick doesnt work...
@Abadon84
2700 seconds = 45 minutes! Try to set that to 60 seconds and test again! :)
any idea why the kick wont work? (action3)
http://pastebin.com/C5meHpDD
@Abadon84
Oh Gosh! ur totally right :P, I will fix it today if I got sometime! Thank you very much :D
@mantegudo
mhh i wanted to say "if the user %NAME% isnt back in 1 minute he will loose %MONEY%" make sense for me :P
@Abadon84
That's true, this %MONEY% is to show the money the user will lost, the configurable amount :P, so there is no need to show it on other actions I think.
seems %MONEY% only work in money actions... mhhh.
@mantegudo
you have a pm for it... i think this will go to far for the comments thread ;)