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.
Thanks.
@deleted_7554077
I've fixed the /am reload thing! Just download the update using this link: http://www.mestrecraft.com.br/threads/afkmanager.18/
@deleted_7554077
Sorry, this week is being so hard to me! A lot of work haha :P, I checked your tickets, there is a lot of good suggestions, and the reload command I will fix soon as I can!
Thank you very much!
Sorry not a Java coder. I can only test the plugin for you and help people.
And have you checked my tickets?
One is about /am reload resetting the config.
Thank you guys for helping with support haha :P, sometimes I just forget to check this page :(... I'm working on AfkManager 2.0 but it's harder than I taught, I promiss I won't give up till I get a working release :P, If any developter is interested in helping I will be gladly to add you on my projetct :D.
Thanks again!
@deleted_7554077 @TheLunarFrog
my bad,i'm really sorry. I guessed that something had to be required XD
@Br0nner
That means you don't have the Vault plugin and you need to have it in order for this plugin to load.
@dougmpv: E este é um bom plugin :)
Try newer version of CraftBukkit
bukkit 1.1 r4 and r6 same problem (AM 1.6.1 and 1.4)
help me please!
@deleted_7554077
Don't worry! It's a pleasure to me! Fell free to give any suggestions you want!
Thank you!
@Katorone
Great Suggestions, soon as I can code the basic stuff I promised, I will look into this!
Thank you!
Sorry :D I had made myself OP.
What a fail :D Well the double message is gone :D
Going to make some suggestions tomorrow if you don't mind :D
Sorry to bother you :P
Hey, just installed AFKManager 1.6.1 on my CraftBukkit 1.2.3-R0.3 Build 2062 server and its not working. It's not putting me afk.
This is what pex toggle debug gave me.
2012-03-11 23:12:26 [INFO] User KJanar checked for "afkmanager.exempt" = true, found in superperms
Buy my builder group has these permissions
builder:
options:
rank: '6'
prefix: '&6'
worlds:
world:
permissions:
- -bukkit.command.version
- -bukkit.command.plugins
- authme.player.*
- giantshop.shop.*
- helpticket.help
- iConomy.holdings
- iConomy.help
- iConomy.payment
- lwc.protect
- modifyworld.*
- myworlds.world.info
- tcl.*
- uhome.own.warp
- uhome.limit.a
and my config
afkmanager:
exempts: ''
kickmessage: You've been kicked for being AFK.
seconds: 15
broadcast: true
kicklog: '%NAME% got kicked for being AFK.'
killlog: '%NAME% got killed for being AFK.'
moneylog: '%NAME% lost %MONEY% money for being AFK.'
kill: false
money: 0
killmessage: You've been killed for being AFK.
moneymessage: You lost %MONEY% for being AFK.
kick: true
nomoney: You've been killed for being AFK and does not having enough money to pay!
nomoneylog: '%NAME% got killed for being AFK and does not having enough money to
pay!.'
killifnomoney: true
Do you have any ideas/suggestions? Thanks
Loving the idea behind this plugin, but I'm looking forward to version 2.0.
I'm hopeful for the following changes:
This last one I'd love because of ppl afk-training mcmmo skills. Specially fishing and acrobatics can be trained this way. It would be awesome to temporarily remove these permissions from the afk users to make sure they're not leveling.
@funk1983
You are welcome. AfkManager 2.0 with multiple choices will be available maybe next week, it's a work in progress :P.
Thank : )
@mantegudo
Thanks for the confirmation, I thought i would be doing something wrong lol
@funk1983
Unfortunately in this version you can do only one action like Kick, charge money or kill the player, your current config is trying to do two things, kick and charge money, if u wanna just kick the player then set the money option to 0 or let the money 100 and set the kick option to false, I will work on a better version next week, thank you for using my plugin :).
@mantegudo
Np, I'm getting reports that the plugin is not kicking players only charging them via iConomy, is there something I have set up wrong from the attached config?
@funk1983
Thank you, I will fix it on next release. :)
Not creating a config on first start, had to copy and paste the one from here, just so you know :)