Hey everyone, I am going to stray from the format here because there's really no use in formatting it for one command and one permission node. I'm looking for someone to (help) create an AFK plugin. I've dubbed it AwesomeAFK. It can be released on BukkitDev, open-source, whatever you wish to do with it. Code: auto-afk: 500 # Number of seconds of idling until auto-AFK afk-kick: 500 # Number of seconds until AFK users are kicked afk-god: true # Whether the user is granted god when AFK. # If true, the users is frozen until typing /afk again. afk-god-requires-automatic: true # Whether the user is granted god ONLY on auto-AFK. Requires 'afk-god' to be TRUE. This is to prevent hurried AFKing when being attacked. afk-skip-night: true # Skipping night does not require AFK players to be in bed afk-skip-night-requires-automatic: true # Night may be skipped, but only if the AFK players are auto-afk. Requires afk-skip-night to be TRUE. afk-message: '&e%player &bis now AFK.' # Please translate ChatColors! auto-afk-message: '&e%player &bis now AFK. &7(AutoAFK)' Other Features: - When AFK, set the PlayerListName to GRAY please (preferably get the DisplayName) - Players will only un-AFK if they move, send a chat, or type /afk -- Not if an animal, water, or other user pushes them (Making AFK users unpushable) - AFK players cannot pick up items/XP - Players with the permission awesomeafk.noauto will not go AFK automatically. Thanks!
Dah hell... Y you no code self? If I get a break from my current challenge (which I seem to be winning) I'll write it for the lulz.
I'm a bit busy; already flooded with schoolwork from the weekend I haven't yet completed. :3 Coding challenge? Thanks.
I forked an empty repository in the beginning stages of dev and am trying to build the system before they do.
Thanks Sushi. Oh also, for anyone wondering why I want this: Users have been AFKing to skip the night way too much, it's time I put a stop to that. I'm also trying to replace Essentials with a combination of other plugins, so I do need a nice AFK solution.
I don't think there's a way to get the reason for a playermoveevent.. And also, set the playerlistname to strikethrough not gray.
Well, there must be some way (I did think of this when I originally had the idea), as other plugins have done this (If I can remember one, I'll link ya). I actually think it was another AFK plugin... Thanks, guys.
No just meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Watch development at https://github.com/goldblattster/that-afk-plugin note that right now it's just a skeleton.
Hey Sushi, It seems as if I omitted something from my original post that should have been there. Besides the Auto-AFK bypass (awesomeafk.noauto), I'd like a force-auto-AFK (so it looks as if the user went AFK automatically). If the command contains -auto somewhere, and the user has the node awesomeafk.forceauto, then it will display the message as if the user automatically went AFK. Thanks!
Sushi I'll try to dust off the repo and add some things tonight. If anyone else would like to contribute, that'd be much appreciated!
np98765 Actually, I won't be able to do anything tonight; I have a wagonload of homework to do. >_< Tomorrow...
Ok. I'm sorry, I'm working on servr, my new control panel for Minecraft. It has cli and a web panel, but cli is the first class citizen here. It's written in Go and compiles to machine code, so it's pretty fast and lightweight. Just a small plug here, haha. Anyway, I added you to the git repo.